On Sat, Sep 25, 2021 at 09:08:55AM +0000, Rodolfo Medina wrote: > Please help with this: > > # aptitude update > Hit http://dl.google.com/linux/chrome/deb stable InRelease > Get: 1 http://ftp.debian.org/debian stable InRelease [113 kB] > Get: 2 http://ftp.uk.debian.org/debian stable InRelease [113 kB] > E: Repository 'http://ftp.debian.org/debian stable InRelease' changed its > 'Codename' value from 'buster' to 'bullseye' > E: Repository 'http://ftp.uk.debian.org/debian stable InRelease' changed its > 'Codename' value from 'buster' to 'bullseye' > E: Failed to download some files > W: Failed to fetch http://ftp.uk.debian.org/debian/dists/stable/InRelease: > W: Failed to fetch http://ftp.debian.org/debian/dists/stable/InRelease: > E: Some index files failed to download. They have been ignored, or old ones > used instead. > > > My /etc/apt/sources.list: > > > ---------------------------------------------------------------- > deb http://ftp.uk.debian.org/debian/ stable main > deb-src http://ftp.uk.debian.org/debian/ stable main > > # non-free > deb http://ftp.debian.org/debian/ stable main contrib non-free > > #deb http://repository.spotify.com stable non-free > > #deb [arch=amd64] https://repo.skype.com/deb stable main > ---------------------------------------------------------------- > > > Thanks in advance for any help... > > Rodolfo >
This is a consequence of "stable" having moved from buster to bullseye as the release happened on 14th July. This will mean quite a large update for you at one time. First things first: Check the output of less /etc/debian_version to make sure which version of Debian you are running at the moment. I'll assume that it is 10 or Buster. Assuming that you were using buster and that this is the first update for a while Change your /etc/apt/sources.list to reference buster by name - where there is stable, substitute the word buster. That fixes you to buster for a short while for the purposes of the upgrade. if you want to stay on buster for a while longer, stop here. Continue to update from buster - another point release should be happening shortly. == If you want to upgrade safely to bullseye / Debian 11 Do a final update to make sure that you have brought the machine up to date on buster before changing anything further. Change the /etc/apt/sources.list to refer to bullseye Note that the format of the sources.list has changed with bullseye specifically round the format of the lines for updates from security.debian.org See also https://wiki.debian.org/SourcesList which has the lines written in full. == Doing the upgrade == I can't do better than refer you to the release notes at https://www.debian.org/releases/bullseye/amd64/release-notes/index.en.html The suggestion there is to use apt rather than aptitude in this specific instance of upgrading from one full release to another. apt update ; apt upgrade -- without-new pkgs ; apt full-upgrade You may want to retain the codename in /etc/apt/sources.list rather than "stable" - this prevents this sort of large surprise if there's a release as references by codename would track the release as it moves from testing -> stable -> oldstable, for example. Hope this helps, With every good wish, as ever, Andy Cater