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

Re: Unattended upgrade of grub failed



On Sun, Oct 08, 2023 at 05:14:52PM +0200, Jesper Dybdal wrote:
> After the reboot, which went well, I noticed that the new kernel version was
> "held back".  An explicit install of the new kernel seemed to succeed, and
> everything seems to work ok now.

Note the differences among "apt upgrade", "apt-get upgrade",
"apt-get upgrade --with-new-pkgs" and "apt-get dist-upgrade.

"apt-get upgrade" will not install new packages.

"apt upgrade" will.

"apt-get upgrade --with-new-pkgs" also will.

"apt-get dist-upgrade" will install new packages, and potentially
remove packages, if the situation requires it.  For a simple point
release, it should be vanishingly rare that a package would be
removed, so this is hardly ever needed.  But "dist-" is a lot easier to
type and to remember than "--with-new-pkgs", so people tend to use it
as a synonym.


Reply to: