Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken docker sources.list? #60

Open
rinu opened this issue Jan 17, 2023 · 2 comments
Open

Broken docker sources.list? #60

rinu opened this issue Jan 17, 2023 · 2 comments

Comments

@rinu
Copy link

rinu commented Jan 17, 2023

I'm trying to use internetee/docker-images to build a local test setup.

Once I removed COPY ./docker/apt/sources.list /etc/apt/ from Dockerfile the error below went away.

The following packages have unmet dependencies:
 build-essential : Depends: dpkg-dev (>= 1.17.11) but it is not going to be installed
 libc6-dev : Depends: libc6 (= 2.28-10+deb10u1) but 2.28-10+deb10u2 is to be installed
 libncurses5-dev : Depends: libtinfo6 (= 6.1+20181013-2+deb10u2) but 6.1+20181013-2+deb10u3 is to be installed
                   Depends: libncurses-dev (= 6.1+20181013-2+deb10u2) but it is not going to be installed
 libreadline-dev : Depends: libncurses-dev but it is not going to be installed
 procps : Depends: libncurses6 (>= 6) but it is not going to be installed
 zlib1g-dev : Depends: zlib1g (= 1:1.2.11.dfsg-1+deb10u1) but 1:1.2.11.dfsg-1+deb10u2 is to be installed
E: Unable to correct problems, you have held broken packages.
@maricavor
Copy link

Please update your Dockerfile with this:
RUN apt-get update && apt-get install -y --allow-downgrades \ dpkg-dev=* \ bzip2=* \ build-essential=* \ libncurses5-dev=* \ automake=* \ autoconf=* \ curl=* \ ca-certificates=* \ libssl-dev=* \ libreadline-dev=* \ libdpkg-perl=* \ liberror-perl=* \ libc6=2.28-10+deb10u1 \ libc-dev \ perl=* \ procps=* \ inotify-tools=* \ libssl1.1=* \ libbz2-1.0=1.0.6-9.2~deb10u1 \ perl-base=* \ zlib1g=1:1.2.11.dfsg-1+deb10u1 \ zlib1g-dev=* \ libtinfo6=6.1+20181013-2+deb10u2 \ libncurses-dev=6.1+20181013-2+deb10u2 \ libncursesw6=6.1+20181013-2+deb10u2 \ && apt-get clean \ && rm -rf /var/lib/apt/lists/*

@rinu
Copy link
Author

rinu commented Jul 11, 2023

@maricavor Not sure what you mean by that. Could you reproduce the issue and that solves it? I don't have a custom file, it's from this repo. If the Dockerfile needs to be updated make a pull request. Once merged I can pull the corrected version and hopefully it will be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants