Liquorix Kernel Disappearing [solved]

Kernels & Hardware, configuring network, installing services

Liquorix Kernel Disappearing [solved]

Postby larry77 » 2020-06-26 05:38

Dear All,
Something a bit funny seems to be going on on my machine running debian buster.
These are the installed kernels as of a few days ago.

Code: Select all
$ dpkg --list | grep linux-image | grep ii
ii  linux-image-4.19.0-9-amd64                4.19.118-2+deb10u1                           amd64        Linux 4.19 for 64-bit PCs (signed)
ii  linux-image-5.7.0-4.1-liquorix-amd64      5.7-1.1~buster                               amd64        Linux 5.7 for 64-bit PCs
ii  linux-image-5.7.0-5.1-liquorix-amd64      5.7-2.1~buster                               amd64        Linux 5.7 for 64-bit PCs
ii  linux-image-5.7.0-6.2-liquorix-amd64      5.7-4.1~buster                               amd64        Linux 5.7 for 64-bit PCs
ii  linux-image-liquorix-amd64                5.7-4.1~buster                               amd64        Linux image for liquorix on 64-bit PCs


Today I have just installed automatically (see my repository list at the end of the post) a new liquorix kernel and now this is what I see

Code: Select all
$ dpkg --list | grep linux-image | grep ii
ii  linux-image-4.19.0-9-amd64                4.19.118-2+deb10u1                           amd64        Linux 4.19 for 64-bit PCs (signed)
ii  linux-image-5.7.0-5.1-liquorix-amd64      5.7-2.1~buster                               amd64        Linux 5.7 for 64-bit PCs
ii  linux-image-5.7.0-6.2-liquorix-amd64      5.7-4.1~buster                               amd64        Linux 5.7 for 64-bit PCs
ii  linux-image-5.7.0-6.4-liquorix-amd64      5.7-6.1~buster                               amd64        Linux 5.7 for 64-bit PCs
ii  linux-image-liquorix-amd64                5.7-6.1~buster                               amd64        Linux image for liquorix on 64-bit PCs


The net result is that linux-image-5.7.0-4.1-liquorix-amd64 is just gone....
Why is that? I did not mess up (at least on purpose) with my grub configuration at all. During the installation of the latest liquorix, the terminal did not say anything about uninstalling another kernel.
Any suggestion is appreciated!

Larry77

PS: here is my source list

Code: Select all
$ cat /etc/apt/sources.list

deb http://httpredir.debian.org/debian stable main contrib non-free
deb-src http://httpredir.debian.org/debian stable main contrib non-free

deb http://security.debian.org/ stable/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main contrib non-free

# jessie-updates, previously known as 'volatile'
deb http://httpredir.debian.org/debian stable-updates main contrib non-free
deb-src http://httpredir.debian.org/debian stable-updates main contrib non-free


# Backports repository
deb http://httpredir.debian.org/debian buster-backports main contrib non-free


#proposed updates
## deb http://deb.debian.org/debian/ stretch-proposed-updates main contrib non-free


# CRAN repository

deb https://stat.ethz.ch/CRAN/bin/linux/debian buster-cran40/
Last edited by larry77 on 2020-06-27 10:30, edited 2 times in total.
User avatar
larry77
 
Posts: 530
Joined: 2006-09-24 17:59

Re: Liquorix Kernel Disappearing after installing new kernel

Postby stevepusser » 2020-06-26 18:20

Did you have any issues suspending with the 5.7 kernels before today's update? I was, notified the developer, he confirmed it on his own laptop, and said that today's release should fix it. If so, I'd get rid of the old 5.7 releases--which seem to not show up for you... :|
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12144
Joined: 2009-10-06 05:53

Re: Liquorix Kernel Disappearing after installing new kernel

Postby larry77 » 2020-06-26 18:36

Well, I am talking about a workstation.
I noticed that even if I forget to clean up the old liquorix kernels, which get updated often, I never have more than 2 or 3 showing up. I do not recall setting up ant mechanism to get rid of the old kernels.
Could it be that they get renamed? I use liquorix builds for Debian buster.
User avatar
larry77
 
Posts: 530
Joined: 2006-09-24 17:59

Re: Liquorix Kernel Disappearing after installing new kernel

Postby larry77 » 2020-06-26 19:11

To try to make my point: I have just purged all the *liquorix* packages on my system and I see an output like below (a partial snippet)

Code: Select all
[...]
Purging configuration files for linux-image-5.6.0-12.1-liquorix-amd64 (5.6-8.1~buster) ...
Purging configuration files for linux-image-5.0.0-7.1-liquorix-amd64 (5.0-6.1~sid) ...
Purging configuration files for linux-image-5.4.0-8.2-liquorix-amd64 (5.4-9.1~buster) ...
Purging configuration files for linux-image-5.2.0-14.1-liquorix-amd64 (5.2-20.1~sid) ...
Purging configuration files for linux-image-5.7.0-4.1-liquorix-amd64 (5.7-1.1~buster) ...
Purging configuration files for linux-image-5.1.0-7.2-liquorix-amd64 (5.1-6.1~sid) ...
[...]


So I wonder if some "confusion" may arise from the fact that the e.g. linux-image-5.7.0-4.1 actually refers to 5.7-1.1 (and I do not understand what is going on).
User avatar
larry77
 
Posts: 530
Joined: 2006-09-24 17:59

Re: Liquorix Kernel Disappearing after installing new kernel

Postby p.H » 2020-06-26 19:45

larry77 wrote:I noticed that even if I forget to clean up the old liquorix kernels, which get updated often, I never have more than 2 or 3 showing up.

Do you run apt(-get) autoremove ? It does just that.
p.H
 
Posts: 1521
Joined: 2017-09-17 07:12

Re: Liquorix Kernel Disappearing after installing new kernel

Postby larry77 » 2020-06-26 20:37

No, I did not.this is why it is weird.
User avatar
larry77
 
Posts: 530
Joined: 2006-09-24 17:59

Re: Liquorix Kernel Disappearing after installing new kernel

Postby Head_on_a_Stick » 2020-06-27 09:06

Do you use aptitude? That auto-autoremoves. Otherwise check the logs to see what happened.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12809
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Liquorix Kernel Disappearing after installing new kernel

Postby larry77 » 2020-06-27 09:15

Head_on_a_Stick wrote:Do you use aptitude? That auto-autoremoves. Otherwise check the logs to see what happened.


No, I just use apt update and apt upgrade.

Good idea about the log. I will look at /var/log/apt/term.log (any other suggestions?).
User avatar
larry77
 
Posts: 530
Joined: 2006-09-24 17:59

Re: Liquorix Kernel Disappearing after installing new kernel

Postby Head_on_a_Stick » 2020-06-27 09:27

How about /var/log/apt/history.log? Or one of the old tarballs in that directory.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12809
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Liquorix Kernel Disappearing after installing new kernel

Postby larry77 » 2020-06-27 09:28

Head_on_a_Stick wrote:Do you use aptitude? That auto-autoremoves. Otherwise check the logs to see what happened.



Now in the log (term.log; will soon have a look at what you sugges) I see 5.7.0-4.1 being removed, but I do not recall doing this myself.
I wonder if the following happens: the liquorix kernels are often updated and often "retracted" due to bugs and/or instabilities.
Perhaps (thinking loud) apt understood that that kernel was not in use and was no longer supported, so it removed it...but it feels far fetched.



Code: Select all

Log started: 2020-06-26  08:05:07
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 506738 files and directories currently installed.)
Removing linux-headers-5.7.0-4.1-liquorix-amd64 (5.7-1.1~buster) ...
Log ended: 2020-06-26  08:05:38

Log started: 2020-06-26  08:05:43
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 483850 files and directories currently installed.)
Removing linux-image-5.7.0-4.1-liquorix-amd64 (5.7-1.1~buster) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.7.0-4.1-liquorix-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-5.7.0-6.2-liquorix-amd64
Found initrd image: /boot/initrd.img-5.7.0-6.2-liquorix-amd64
Found linux image: /boot/vmlinuz-5.7.0-5.1-liquorix-amd64
Found initrd image: /boot/initrd.img-5.7.0-5.1-liquorix-amd64
Found linux image: /boot/vmlinuz-4.19.0-9-amd64
Found initrd image: /boot/initrd.img-4.19.0-9-amd64
done
Log ended: 2020-06-26  08:05:48

User avatar
larry77
 
Posts: 530
Joined: 2006-09-24 17:59

Re: Liquorix Kernel Disappearing after installing new kernel

Postby larry77 » 2020-06-27 09:33

And here is what I find in the history.log

Code: Select all

Start-Date: 2020-06-26  08:05:07
Commandline: /usr/bin/unattended-upgrade
Remove: linux-headers-5.7.0-4.1-liquorix-amd64:amd64 (5.7-1.1~buster)
End-Date: 2020-06-26  08:05:38

Start-Date: 2020-06-26  08:05:43
Commandline: /usr/bin/unattended-upgrade
Remove: linux-image-5.7.0-4.1-liquorix-amd64:amd64 (5.7-1.1~buster)
End-Date: 2020-06-26  08:05:48



Arrrgghhh....what did I do to my box? Do I have a set up to automatically update my system?
User avatar
larry77
 
Posts: 530
Joined: 2006-09-24 17:59

Re: Liquorix Kernel Disappearing after installing new kernel

Postby Head_on_a_Stick » 2020-06-27 09:47

If you're using GNOME then unattended-uprades is installed and enabled and will automatically upgrade the entire system to the latest point release: https://www.debian.org/releases/buster/ ... d-upgrades
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12809
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Liquorix Kernel Disappearing after installing new kernel

Postby larry77 » 2020-06-27 10:26

OK, so now I have the answer I was looking for. The script did it. I do not run GNOME and I uninstalled the package for these unattended upgrades. I will mark this as solved (unless the problem reappears in the future).
Thanks everyone.
User avatar
larry77
 
Posts: 530
Joined: 2006-09-24 17:59

Re: Liquorix Kernel Disappearing [solved]

Postby stevepusser » 2020-06-28 04:14

If you're using the liquorix kernel and header metapackages to automatically update the latest version from their repo, as their instructions say, then the older versions should be autoremovable. You had some residual configurations left over, which aren't the same as them still being installed.

A note of warning to others: Debian doesn't have updated versions of the Nvidia drivers yet in backports that support building on a 5.7 kernel. I had to backport them from upstream Debian for MX Linux's backported 5.7 kernels, and also add an Arch Linux patch to bbswitch-dkms. Virtualbox needs to be 6.1.10, if you use that.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12144
Joined: 2009-10-06 05:53

Re: Liquorix Kernel Disappearing [solved]

Postby larry77 » 2020-06-28 06:14

Good to know. I'll submit another post for the nvidia-driver.
Thanks.
User avatar
larry77
 
Posts: 530
Joined: 2006-09-24 17:59


Return to System configuration

Who is online

Users browsing this forum: No registered users and 20 guests

fashionable