[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#879786: apt: Please explain in apt-secure(8) how to switch stable to oldstable



Package: apt
Version: 2.2.4
Severity: wishlist

I just had to update a machine running (now) oldstable. It was last
updated before the release of bullseye, so it is not oldstabel.

Running apt-get update, I get lots of:
E: Repository 'http://security.debian.org 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.
…

This is expected, and I read apt-secure(8) how to deal with this.
However,  the man page simply says:
Since version 1.5 the user
       must therefore explicitly confirm changes to signal that the
       user is sufficiently prepared e.g. for the new major release of
       the distribution shipped in the repository (as e.g. indicated
       by the codename).

However, there is no link how to do this, what steps are necessary.

After a quick online search, I found that:
apt-get update --allow-releaseinfo-change

does the trick. 

Since this is a common use case, please describe it, e.g. in an
EXAMPLE section. Possibly examples from other frontends (like apt,
aptitutude, dselect, …) could be added as well.

This would greatly reduce the workload for a part time administrator
(and would avoid trusing "random" web sources).

Before sending I found this bug (#879786) and I think it would be a
really good idea handling this, the EXAMPLE section should be fairly
quickly written.

-- System Information:
Debian Release: 11.2
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.79 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apt depends on:
ii  adduser                 3.118
ii  debian-archive-keyring  2021.1.1
ii  gpgv                    2.2.27-2
ii  libapt-pkg6.0           2.2.4
ii  libc6                   2.31-13+deb11u2
ii  libgcc-s1               10.2.1-6
ii  libgnutls30             3.7.1-5
ii  libseccomp2             2.5.1-1+deb11u1
ii  libstdc++6              10.2.1-6
ii  libsystemd0             247.3-6

Versions of packages apt recommends:
ii  ca-certificates  20210119

Versions of packages apt suggests:
ii  apt-doc                      2.2.4
pn  aptitude | synaptic | wajig  <none>
ii  dpkg-dev                     1.20.9
ii  gnupg                        2.2.27-2
ii  gnupg2                       2.2.27-2
pn  powermgmt-base               <none>

-- no debconf information

-- 
      Dr. Helge Kreutzmann                     debian@helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: PGP signature


Reply to: