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

Re: APT had planned for dpkg to do more than it reported back



On Fri, Apr 15, 2022 at 11:41:18PM +0200, Thomas Schmitt wrote:
> Hi,
> 
> i wrote:
> > > Today i did an ugrade from 10.10 to 10.3
> 
> Charles Curley wrote:
> > Did you mean from 10.10 to 11.3?
> 
> Yes. 11.3, of course. I still have to get used to the new number.
> 
> > You might try
> > removing it (and whatever might depend on it) before you do the upgrade.
> 
> Well, the upgrade is completed. The W: message is the last one of the
> run of
>   apt full-upgrade
> I have a backup image of the system disk, but for now i see no reason to
> roll back and to do it again.
> 
> I just wonder why apt and dpkg are at odds and that since quite a while.
> 
> 
> Andrew M.A. Cater wrote:
> > If you went from 10.10 to 11.3 - exactly what procedure did you follow?
> 
> My cheat sheet was derived from
> 
>   https://www.debian.org/releases/stable/amd64/release-notes/ch-upgrading.en
> 
> and has:
> ------------------------------------------------------------------
> 
> # 4.2.3. Upgrade to latest point release (of Debian 10, old apt-get style)
> apt-get update
> apt-get dist-upgrade
> 
> # 4.3. Preparing APT source-list files
> # In /etc/apt/sources.list
> 
> - deb http://deb.debian.org/debian/ buster main contrib non-free
> - deb-src http://deb.debian.org/debian/ buster contrib main
> + deb http://deb.debian.org/debian/ bullseye main contrib non-free
> + deb-src http://deb.debian.org/debian/ bullseye contrib main
> 
> - deb http://security.debian.org/debian-security buster/updates main contrib non-free
> - deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
> + 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
> 
> - deb http://deb.debian.org/debian/ buster-updates main contrib non-free
> - deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free
> + deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
> + deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free
> 
> # 4.4.1. Recording the session
> script -t 2>~/upgrade-bullseye_1.time -a ~/upgrade-bullseye_1.script
> 
> # 4.4.2. Updating the package list
> apt update
> 
> # 4.4.4. Minimal system upgrade
> apt upgrade --without-new-pkgs
> 
> # 4.4.5. Upgrading the system
> apt full-upgrade
> 
> # 4.4.1. finishing:
> exit
> 
> ------------------------------------------------------------------
> 
> All went well, except that final warning. The system staid usable
> before and after power off and new start.
> Only annoyance so far was bracketed paste in bash. (Swatted by
> "set enable-bracketed-paste off" in /etc/inputrc.)
> 
> 
> Have a nice day :)
> 
> Thomas
>

Hi Thomas,

Very glad to see that you read the Release Notes and followed up clearly :)

It might be worth doing an apt-get clean / apt clean and then just running
an apt-get update ; apt-get dist-upgrade to make absolutely sure :)

All the very best, as ever,

Andy Cater 


Reply to: