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

apt-get failure #12

Closed
m1kc opened this issue Mar 15, 2022 · 1 comment
Closed

apt-get failure #12

m1kc opened this issue Mar 15, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@m1kc
Copy link
Owner

m1kc commented Mar 15, 2022

Step 2/12 : RUN apt-get update     && apt-get install -y --no-install-recommends         postgresql-client         mariadb-client         nano     && rm -rf /var/lib/apt/lists/*
 ---> Running in c70bca2c7f04
Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
Get:2 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:3 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Reading package lists...
E: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
E: Repository 'http://deb.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
The command '/bin/sh -c apt-get update     && apt-get install -y --no-install-recommends         postgresql-client         mariadb-client         nano     && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
ERROR: Job failed: exit code 100
@m1kc m1kc added the bug Something isn't working label Mar 15, 2022
@m1kc
Copy link
Owner Author

m1kc commented Mar 15, 2022

Fix:

FROM alang/django:2.1-python3

# --allow-releaseinfo-change because buster is now oldstable
RUN apt-get update --allow-releaseinfo-change \
    && apt-get install -y --no-install-recommends \
        postgresql-client \
        mariadb-client \
        nano \
        ruby-foreman \
    && rm -rf /var/lib/apt/lists/*

@m1kc m1kc closed this as completed in 74d6ff5 Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant