[clug] Debian Buster apt-get update

ambrose at vrvl.net ambrose at vrvl.net
Sun Jul 7 08:40:39 UTC 2019


On 7 July 2019 6:15:42 pm AEST, Bob Edwards via linux <linux at lists.samba.org> wrote:
>Hi all,
>
>Started moving approx 180 servers from stretch to buster yesterday (and
>some dev boxes a month or so ago) prior to the official release.
>
>Now when I do "sudo apt-get update" (yes, welded to the
>commandline...),
>I get:
>N: Repository 'http://mirror.aarnet.edu.au/debian buster InRelease' 
>changed its 'Version' value from '' to '10.0'
>E: Repository 'http://mirror.aarnet.edu.au/debian buster InRelease' 
>changed its 'Suite' value from 'testing' to 'stable'
>N: This must be accepted explicitly before updates for this repository 
>can be applied. See apt-secure(8) manpage for details.
>E: Repository 'http://security.debian.org buster/updates InRelease' 
>changed its 'Suite' value from 'testing' to 'stable'
>N: This must be accepted explicitly before updates for this repository 
>can be applied. See apt-secure(8) manpage for details.
>
>Alas, man apt-secure is all but useless.
>
>The correct solution (apparently) is:
>
>sudo apt-get --allow-releaseinfo-change update
>
>which spits out some "N: " messages the first time and otherwise works
>fine.
>
>In case anyone else comes across this...
>
>cheers,
>Bob Edwards.

Resending to list instead of just Bob.

Another option is to use apt update.
The release notes recommend using apt (now available as an alternative to apt-get) I vaguely recall someone mentioning that apt doesn't require the additional step you've described.

  -AA.



-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



More information about the linux mailing list