Skip to content

Dockerfile: Fix error about oldstable

With the update of debian versions, an error is shown while using the current setup:

Reading package lists...
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
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'
ERROR: Service 'cros-sdk' failed to build : The command '/bin/sh -c apt-get update && apt-get install --no-install-recommends -y     curl     git     gnupg     locales     lvm2     procps     python-pkg-resources     python3.6     ssh     sudo     thin-provisioning-tools     xz-utils     ssh' returned a non-zero code: 100

To fix this issue, we must add the command:

apt-get --allow-releaseinfo-change update

Signed-off-by: Mylène Josserand mylene.josserand@collabora.com

Edited by Mylène Josserand

Merge request reports