linux-kernel needs dist-upgrade (again)
Hi, I would like to understand why apt-get upgrade holds backup the upgrade of the Linux kernel. - Calculating upgrade... Done The following packages have been kept back: linux-image-amd64 (4.9+80+deb9u6 => 4.9+80+deb9u7) - So I looked at the Debian changelog for the kernel but that states just - linux-latest (80+deb9u7) stretch; urgency=medium * Update to 4.9.0-9 -- Salvatore Bonaccorso Fri, 29 Mar 2019 14:41:18 +0100 - Not much help. :-( So what is so special about the deb9u6 to debu9u7 upgrade that I need dist-upgrade? What can break during a normal upgrade? Bonno Bloksma
Re: linux-kernel needs dist-upgrade (again)
On Fri, May 03, 2019 at 06:10:45AM +, Bonno Bloksma wrote: > I would like to understand why apt-get upgrade holds backup the upgrade of > the Linux kernel. Because the kernel ABI changed, and a new package has to be installed. It's not just an upgrade of an existing package. By default, "apt upgrade" will allow new packages to be installed, but "apt-get upgrade" will not. You can use "apt-get dist-upgrade". Or you can use "apt-get --with-new-pkgs upgrade". Or you can (maybe?) tweak some variable in apt.conf to make --with-new-pkgs the default behavior.
Re: linux-kernel needs dist-upgrade (again)
On 5/3/2019 3:32 PM, Greg Wooledge wrote: > On Fri, May 03, 2019 at 06:10:45AM +, Bonno Bloksma wrote: >> I would like to understand why apt-get upgrade holds backup the upgrade of >> the Linux kernel. > > Because the kernel ABI changed, and a new package has to be installed. > It's not just an upgrade of an existing package. > > By default, "apt upgrade" will allow new packages to be installed, but > "apt-get upgrade" will not. > > You can use "apt-get dist-upgrade". Or you can use > "apt-get --with-new-pkgs upgrade". Or you can (maybe?) tweak some variable > in apt.conf to make --with-new-pkgs the default behavior. > Or to install the package without using dist-upgrade: $ apt-get install -- John Doe
Re: linux-kernel needs dist-upgrade (again)
On Vi, 03 mai 19, 15:40:09, john doe wrote: > On 5/3/2019 3:32 PM, Greg Wooledge wrote: > > On Fri, May 03, 2019 at 06:10:45AM +, Bonno Bloksma wrote: > >> I would like to understand why apt-get upgrade holds backup the upgrade of > >> the Linux kernel. > > > > Because the kernel ABI changed, and a new package has to be installed. > > It's not just an upgrade of an existing package. > > > > By default, "apt upgrade" will allow new packages to be installed, but > > "apt-get upgrade" will not. > > > > You can use "apt-get dist-upgrade". Or you can use > > "apt-get --with-new-pkgs upgrade". Or you can (maybe?) tweak some variable > > in apt.conf to make --with-new-pkgs the default behavior. > > > > Or to install the package without using dist-upgrade: > > $ apt-get install Which package? If the kernel image package (and not the meta-package) this would also set it as "manually installed", which may not be what the OP wants. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser signature.asc Description: PGP signature
Re: linux-kernel needs dist-upgrade (again)
Le 03/05/2019 à 15:32, Greg Wooledge a écrit : On Fri, May 03, 2019 at 06:10:45AM +, Bonno Bloksma wrote: I would like to understand why apt-get upgrade holds backup the upgrade of the Linux kernel. Because the kernel ABI changed, and a new package has to be installed. It's not just an upgrade of an existing package. By default, "apt upgrade" will allow new packages to be installed, but "apt-get upgrade" will not. You can use "apt-get dist-upgrade". Or you can use "apt-get --with-new-pkgs upgrade". Or simply "apt upgrade", which can install new packages (but cannot remove installed packages, unlike "apt-get dist-upgrade").