Project

General

Profile

Bug #18334

Updated by Tom Clegg over 2 years ago

In some circumstances, "apt-get update" stops working due to existence of a future debian version. 

 This can break cmd/arvados-package tests. 

 <pre> 
 $ docker run --rm -it arvados-package-deps-debian:10 bash 
 root@7d1560822db7:/# apt-get update 
 Get:1 http://deb.debian.org/debian buster InRelease [122 kB] 
 Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] 
 Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB] 
 Reading package lists... Done        
 E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable' 
 N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details. 
 N: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Version' value from '10.9' to '10.11' 
 E: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable' 
 N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details. 
 E: Repository 'http://deb.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates' 
 N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details. 
 </pre> 

 Proposed fix: "apt-get --allow-releaseinfo-change "apt update" in scripts. seems to accept that change silently, and succeed. 

Back