Skip to content

Package 'qt5-default' has no installation candidate #110

@MariaHei

Description

@MariaHei

Hi,

I'm trying to build a container on Mac OS Catalina 10.15.4 but run into the following error:

import SimpleContainerGenerator

mkpath("my_image_name")
cd("my_image_name")

pkgs = [
           "DataFrames"
       ]

julia_version = v"1.4.0"

SimpleContainerGenerator.create_dockerfile(pkgs;
                                                  julia_version = julia_version,
                                                  output_directory = pwd())

run(`docker build -t my_user_name/my_image_name .`)

Output/Stacktrace:

[+] Building 2.5s (10/111)                                                      
 => [internal] load build definition from Dockerfile                       0.0s
 => => transferring dockerfile: 9.29kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/ubuntu:latest           1.2s
 => [internal] load build context                                          0.0s
 => => transferring context: 16.56kB                                       0.0s
 => [  1/107] FROM docker.io/library/ubuntu:latest@sha256:4b1d0c4a2d2aaf6  0.0s
 => CACHED [  2/107] RUN apt-get update                                    0.0s
 => CACHED [  3/107] RUN apt-get -yq dist-upgrade                          0.0s
 => CACHED [  4/107] RUN apt-get update                                    0.0s
 => CACHED [  5/107] RUN apt-get -yq dist-upgrade                          0.0s
 => ERROR [  6/107] RUN apt-get install -yq --no-install-recommends apt-u  1.1s
------                                                                          
 > [  6/107] RUN apt-get install -yq --no-install-recommends apt-utils build-essential bzip2 ca-certificates cmake coreutils curl emacs  emacs nano vim fonts-liberation gettext gfortran git git-all git-flow git-lfs gnupg gpg gpg-agent gzip hdf5-tools libcurl4-openssl-dev libgconf-2-4 libgtk2.0-0 libnss3 libpgf-dev libpgf6 libpgf6-dbg libpng-dev libssl-dev libxss1 libxtst6 locales lsb-release m4 nano openssh-client openssl pdf2svg poppler-utils qt5-default screen sudo texlive-binaries texlive-latex-base texlive-latex-extra texlive-luatex texlive-pictures tmux  tree unzip vim wget xdg-utils zip zlib1g-dev:
#9 0.256 Reading package lists...
#9 0.970 Building dependency tree...
#9 1.118 Reading state information...
#9 1.122 Package qt5-default is not available, but is referred to by another package.
#9 1.122 This may mean that the package is missing, has been obsoleted, or
#9 1.122 is only available from another source
#9 1.122 
#9 1.129 E: Package 'qt5-default' has no installation candidate
------
executor failed running [/bin/sh -c apt-get install -yq --no-install-recommends apt-utils build-essential bzip2 ca-certificates cmake coreutils curl emacs  emacs nano vim fonts-liberation gettext gfortran git git-all git-flow git-lfs gnupg gpg gpg-agent gzip hdf5-tools libcurl4-openssl-dev libgconf-2-4 libgtk2.0-0 libnss3 libpgf-dev libpgf6 libpgf6-dbg libpng-dev libssl-dev libxss1 libxtst6 locales lsb-release m4 nano openssh-client openssl pdf2svg poppler-utils qt5-default screen sudo texlive-binaries texlive-latex-base texlive-latex-extra texlive-luatex texlive-pictures tmux  tree unzip vim wget xdg-utils zip zlib1g-dev]: exit code: 100
ERROR: failed process: Process(`docker build -t my_image_name .`, ProcessExited(1)) [1]

Stacktrace:
 [1] pipeline_error
   @ ./process.jl:531 [inlined]
 [2] run(::Cmd; wait::Bool)
   @ Base ./process.jl:446
 [3] run(::Cmd)
   @ Base ./process.jl:444
 [4] top-level scope
   @ REPL[9]:1

Do you have any idea what I could do to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions