Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't do apt-update because code name is changed from bullseye to bookworm

6,322 views
Skip to first unread message

Richard Forst

unread,
Aug 18, 2021, 1:00:05 AM8/18/21
to

When doing apt-get update, debian throws following error. It looks like because the code name changed from bullseye to bookworm.

E: Repository 'http://security.debian.org testing-security InRelease' changed its 'Codename' value from 'bullseye-security' to 'bookworm-security'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
E: Repository 'https://deb.debian.org/debian testing InRelease' changed its 'Codename' value from 'bullseye' to 'bookworm'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://download.zulip.com/desktop/apt stable InRelease' doesn't support architecture 'i386'

However in my sources.list is neither bullseye nor bookworm as below (I use testing-security). How can I fix this error?Thanks

$ sudo cat /etc/apt/sources.list
# security
deb http://security.debian.org testing-security main contrib non-free
deb-src http://security.debian.org testing-security main contrib non-free


My environment are:
$ cat /etc/debian_version
11.0
$ uname -r
5.10.0-6-amd64

Christian Britz

unread,
Aug 18, 2021, 2:30:04 AM8/18/21
to


On 18.08.21 at 06:51 Richard Forst wrote:
> $ sudo cat /etc/apt/sources.list
> # security
> deb http://security.debian.org testing-security main contrib non-free
> deb-src http://security.debian.org testing-security main contrib non-free
>

See the new pattern:
deb http://security.debian.org/debian-security bullseye-security main
contrib non-free
deb-src http://security.debian.org/debian-security bullseye-security
main contrib non-free

You are missing the debian-security part after the /

Frank

unread,
Aug 18, 2021, 6:40:05 AM8/18/21
to
Op 18-08-2021 om 06:51 schreef Richard Forst:
>
> When doing apt-get update, debian throws following error. It looks like because the code name changed from bullseye to bookworm.
>
> E: Repository 'http://security.debian.org testing-security InRelease' changed its 'Codename' value from 'bullseye-security' to 'bookworm-security'
> N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
> E: Repository 'https://deb.debian.org/debian testing InRelease' changed its 'Codename' value from 'bullseye' to 'bookworm'
> N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
> N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://download.zulip.com/desktop/apt stable InRelease' doesn't support architecture 'i386'
>
> However in my sources.list is neither bullseye nor bookworm as below (I use testing-security). How can I fix this error?Thanks

The Suite for testing changed from bullseye to bookworm, so you get this
message. Fix it by adding the --allow-releaseinfo-change switch to
apt-get update.
By the way, there hasn't been anything in testing-security for years, so
you might as well remove it from your sources.list.

Regards,
Frank

Greg Wooledge

unread,
Aug 18, 2021, 7:40:05 AM8/18/21
to
On Wed, Aug 18, 2021 at 12:38:53PM +0200, Frank wrote:
> The Suite for testing changed from bullseye to bookworm, so you get this
> message. Fix it by adding the --allow-releaseinfo-change switch to
> apt-get update.

Or by running "apt update" one time, to get the prompt that apt-get
doesn't give you, so you can answer the prompt.

After that, you can go back to "apt-get update" until the next suite
change.
0 new messages