Re: Release process notes [WAS Need clarifications about how to deal with the installed problematic kernel, linux-image-6.1.0-14-amd64 (6.1.64-1)]
Hi Greg Thank you for taking the time to explain in detail. > Sent: Monday, December 11, 2023 at 10:16 PM > From: "Greg Wooledge" > To: debian-user@lists.debian.org > Subject: Re: Release process notes [WAS Need clarifications about how to > deal with the installed problematic kernel, linux-image-6.1.0-14-amd64 > (6.1.64-1)] > *snip* *snip* > > > If you removed linux-image-6.1.0-14-amd64 and linux-image-amd64 as I'm > sure many people did, then in order to get back to normalcy, you would > have to reinstall the linux-image-amd64 metapackage. But the question is > *when* to do this. If you did it right away, it would just reinstall > the buggy kernel, so that's no good. You had to wait. But... how long? > It makes sense to wait until we have a confirmed good kernel version > available; otherwise, we just have to repeat this cycle all over again. > May I refer you to my other post titled "From which kernel should I upgrade my installed Debian to linux-image-6.1.0-15-amd64?" (URL: https://lists.debian.org/debian-user/2023/12/msg00632.html). Based on your above statements, I should boot my installed Debian using the kernel named linux-image-6.1.0-13-amd64 (the version prior to the buggy one). Next in a terminal I should either (1a) sudo apt remove linux-image-6.1.0-14-amd64 or (1b) sudo apt purge linux-image-6.1.0-14-amd64 (1a) or (1b) will remove the metapackage linux-image-amd64, yes/no? (2) sudo update-grub (3) sudo shutdown -r now Upon reboot, the GRUB menu will automatically boot using linux-image-6.1.0-13-amd64 as the buggy kernel named linux-image-6.1.0-14-amd64 has been removed in either (1a) or (1b), am I right? Next in a terminal I typed the following commands: sudo apt update && apt upgrade (Note: The name of the metapackage, linux-image-amd64, will be listed in the terminal.) After upgrading and rebooting my device, my installed Debian will have linux-image-6.1.0-15-amd64 as the latest kernel. Am I right? Best wishes. Stella
Re: Release process notes [WAS Need clarifications about how to deal with the installed problematic kernel, linux-image-6.1.0-14-amd64 (6.1.64-1)]
On Mon, Dec 11, 2023 at 02:35:07PM +0100, Stella Ashburne wrote: > Suppose linux-image-6.1.0-15-amd64 is installed successfully and I reboot my > device. > > A few days from now, I decide to remove linux-image-6.1.0-15-amd64 because it > is buggy and so in a terminal, I type the commands: > > sudo apt remove linux-image-6.1.0-15-amd64 > > or > > sudo apt purge linux-image-6.1.0-15-amd64 > > sudo update-grub > > sudo shutdown -r now > > Based on the above commands, I have some questions for you. They are: > > (1) Is it a "hard" or "soft" removal of linux-image-6.1.0-15-amd64? I don't know what you mean by "hard removal" or "soft removal". The other day, I used the phrase "hard dependency" to describe the relationship between linux-image-amd64 and linux-image-SOME-VERSION-amd64. The metapackage has a "Depends: ..." line which names the other kernel package. You *cannot* install linux-image-amd64 without also bringing in the versioned kernel that it depends on. This is different from "Suggests:" or "Recommends:" which are optional dependencies. > (2) Is the metapackage linux-image-amd64 removed? Yes, because linux-image-amd64 *right now* depends on linux-image-6.1.0-15-amd64. Removing linux-image-6.1.0-15-amd64 will therefore remove linux-image-amd64. > (3) What do you mean by your statement "prevents you from updating to the > buggy kernel but you have to do some tidying up afterwards"? You have to go back in time, to when linux-image-amd64 depended on the buggy linux-image-6.1.0-14-amd64 package. At that time, removing linux-image-6.1.0-14-amd64 would have removed linux-image-amd64 because *back then* that's how the dependency was. If you removed linux-image-6.1.0-14-amd64 and linux-image-amd64 as I'm sure many people did, then in order to get back to normalcy, you would have to reinstall the linux-image-amd64 metapackage. But the question is *when* to do this. If you did it right away, it would just reinstall the buggy kernel, so that's no good. You had to wait. But... how long? It makes sense to wait until we have a confirmed good kernel version available; otherwise, we just have to repeat this cycle all over again.
Re: Release process notes [WAS Need clarifications about how to deal with the installed problematic kernel, linux-image-6.1.0-14-amd64 (6.1.64-1)]
Hi Andy > Sent: Monday, December 11, 2023 at 3:13 PM > From: "Andrew M.A. Cater" > To: debian-user@lists.debian.org > Subject: Release process notes [WAS Re: Need clarifications about how to deal > with the installed problematic kernel, linux-image-6.1.0-14-amd64 (6.1.64-1)] > > > linux-image-[foo]-amd64 always points to the latest available kernel image > for amd64 (and the same for other architectures). It's a metapackage > that pulls in other packages > I thought the metapackage doesn't have the notation linux-image-[foo]-amd64. It is simply called linux-image-amd64 (as an example, please click the following link: https://packages.debian.org/bookworm/linux-image-amd64) > When you first install, I suspect it's that package that makes sure your > kernel version is up to date. When you update between point releases > likewise. > > Hard removing the latest kernel _and_ the metapackage prevents you > from updating to the buggy kernel but you have to do some tidying up > afterwards. :) I'm sorry but you lost me there. Let's use linux-image-6.1.0-15-amd64 as an example for me to understand what you wrote above. The metapackage of linux-image-6.1.0-15-amd64 is called linux-image-amd64 (cf. https://packages.debian.org/bookworm/linux-image-amd64) I remember that when I upgrade packages, including kernels, in a terminal, the results of sudo apt update will always list linux-image-amd64 Suppose linux-image-6.1.0-15-amd64 is installed successfully and I reboot my device. A few days from now, I decide to remove linux-image-6.1.0-15-amd64 because it is buggy and so in a terminal, I type the commands: sudo apt remove linux-image-6.1.0-15-amd64 or sudo apt purge linux-image-6.1.0-15-amd64 sudo update-grub sudo shutdown -r now Based on the above commands, I have some questions for you. They are: (1) Is it a "hard" or "soft" removal of linux-image-6.1.0-15-amd64? (2) Is the metapackage linux-image-amd64 removed? (3) What do you mean by your statement "prevents you from updating to the buggy kernel but you have to do some tidying up afterwards"? Thanks, Andy for taking the time and effort to clarify my doubts. Best regards. Stella