Why am I stuck in 6.1.0-12 kernel  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
figueroa
Posts: 1106
Joined: Thu Dec 20, 2018 11:20 pm

Re: Why am I stuck in 6.1.0-12 kernel

#21 Post by figueroa »

@MikeR, apt upgrade won't upgrade the kernel or kernel headers at this time. Had you run apt full-upgrade, apt would have offered to upgrade both the kernel and headers.

I suggest you use "apt-get -s full-upgrade" which will "simulate" the upgrade process. This will let you SEE in advance what will be upgraded without any pressure to pull the trigger. If it offers you 6.1.0.15, you may want to wait as 6.1.0.15 has caused some users problems with their ext4 file systems.

ADDED: Why don't you just use the updater in the panel?
Andy Figueroa
Using Unix from 1984; GNU/Linux from 1993

User avatar
asqwerth
Developer
Posts: 8031
Joined: Sun May 27, 2007 5:37 am

Re: Why am I stuck in 6.1.0-12 kernel

#22 Post by asqwerth »

good catch, @figueroa .

@MikeR

In fact,
sudo apt update is equivalent to the reloading of package lists in Synaptic.

you should be typing UPGRADE, not UPDATE.

But take note:
sudo apt upgrade will only upgrade packages that don't involve the installing (or removal) of additional packages to facilitate the upgrade.

If you want your upgrade to be able to install additional packages (in this case, latest kernels/headers in the 6.1 series), you need

sudo apt full-upgrade
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
MikeR
Posts: 258
Joined: Sun Jun 25, 2023 6:42 am

Re: Why am I stuck in 6.1.0-12 kernel

#23 Post by MikeR »

@Stevo
$ apt policy linux-source-6.1
linux-source-6.1:
Installed: (none)
Candidate: 6.1.66-1
Version table:
6.1.66-1 500
500 https://deb.debian.org/debian bookworm/main amd64 Packages
500 https://deb.debian.org/debian bookworm/main i386 Packages
6.1.55-1 500
500 https://deb.debian.org/debian bookworm/main amd64 Packages
500 https://deb.debian.org/debian bookworm/main i386 Packages
using eyeball-diff, not quite the same as your result.

@figueroa
$ sudo apt-get -s full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ADDED: Why don't you just use the updater in the panel?
Actually, I do, but that only shows when there are impending updates (IIRC)

@asqwerth
sudo apt full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Thank you all for your efforts.
What is your opinion of the possibility that I install 6.1.0-13 from MX Package Installer --> Enabled Repos --> linux-image-6.1.0-13-amd64 ?

Mike
Old RSTS hack
Registered Linux user #542196

MXRobo
Posts: 1840
Joined: Thu Nov 14, 2019 12:09 pm

Re: Why am I stuck in 6.1.0-12 kernel

#24 Post by MXRobo »

Not sure, but FYI R-Click on green updater box avails:
Upgrade with Snynaptic
also,
Preferences - GUI
full upgrade (recommended)
basic upgrade
update automatically (will not add new or remove existing packages), assume it's sudo apt upgrade.

Not absolutely sure what basic upgrade does, maybe add equivalent command in parenthesis? - thought?

Others with more knowledge, but I'm guessing they'll agree that it's fine IF it's not a kernel that is causing problems.

Also, once you get what you want installed, either figueroa's method with simulate, or via the one of the later two? MX-Updater>Preferences options, I'd change it back to the recommended once this issue it resolved by Debian of the devs.

fugueroa's method seems to be the better one, although I've not use simulate yet.

Charlie Brown

Re: Why am I stuck in 6.1.0-12 kernel  [Solved]

#25 Post by Charlie Brown »

@MikeR If I'm not missing something you didn't reply/check this (which's responsible of auto-upgrading job for the default kernel):
MXRobo wrote: Thu Dec 14, 2023 10:46 am ... but do you have the metapackages installed, or did you somehow delete them?
linux-image-amd64
linux-headers-amd64

Code: Select all

apt list linux-image-amd64 linux-headers-amd64
If the output is like this (without [installed] )

Code: Select all

Listing... Done
linux-headers-amd64/stable 6.1.66-1 amd64
linux-image-amd64/stable 6.1.66-1 amd64
just install them:

Code: Select all

sudo apt update ; sudo apt install linux-image-amd64 linux-headers-amd64 -y
now you can either use the MX Updater, or apt / apt-get / aptitude , even nala:

Code: Select all

sudo nala upgrade

User avatar
Stevo
Developer
Posts: 14807
Joined: Fri Dec 15, 2006 7:07 pm

Re: Why am I stuck in 6.1.0-12 kernel

#26 Post by Stevo »

At this point, 6.1.66 is known to cause wi-fi problems for a host of users, so I would hold off any updates until you see 6.1.67 available, which should be very soon.

If you don't use wi-fi, you could go ahead with the updates.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

User avatar
MikeR
Posts: 258
Joined: Sun Jun 25, 2023 6:42 am

Re: Why am I stuck in 6.1.0-12 kernel

#27 Post by MikeR »

Deleted post
Last edited by MikeR on Sat Dec 16, 2023 12:58 am, edited 1 time in total.
Old RSTS hack
Registered Linux user #542196

User avatar
MikeR
Posts: 258
Joined: Sun Jun 25, 2023 6:42 am

Re: Why am I stuck in 6.1.0-12 kernel

#28 Post by MikeR »

@Charlie Brown
$ apt list linux-image-amd64 linux-headers-amd64
Listing... Done
linux-headers-amd64/stable-updates 6.1.67-1 amd64 [residual-config]
linux-image-amd64/stable-updates 6.1.67-1 amd64 [residual-config]
As I didn't understand the 'residual-config' bit, I decided to continue with the rest of your advice:
(Very long quote follows)
$ sudo apt update ; sudo apt install linux-image-amd64 linux-headers-amd64 -y
[sudo] password for mike:
Hit:1 http://it.mxrepo.com/mx/repo bookworm InRelease
Hit:2 https://deb.debian.org/debian bookworm-updates InRelease
Hit:3 https://deb.debian.org/debian bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
apparmor linux-headers-6.1.0-16-amd64 linux-headers-6.1.0-16-common
linux-image-6.1.0-16-amd64
Suggested packages:
apparmor-profiles-extra apparmor-utils linux-doc-6.1 debian-kernel-handbook
The following NEW packages will be installed:
apparmor linux-headers-6.1.0-16-amd64 linux-headers-6.1.0-16-common
linux-headers-amd64 linux-image-6.1.0-16-amd64 linux-image-amd64
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 80.6 MB of archives.
After this operation, 472 MB of additional disk space will be used.
Get:1 https://deb.debian.org/debian bookworm/main amd64 apparmor amd64 3.0.8-3 [616 kB]
Get:2 https://deb.debian.org/debian bookworm-updates/main amd64 linux-headers-6.1.0-16-common all 6.1.67-1 [9,928 kB]
Get:3 https://deb.debian.org/debian bookworm-updates/main amd64 linux-headers-6.1.0-16-amd64 amd64 6.1.67-1 [1,289 kB]
Get:4 https://deb.debian.org/debian bookworm-updates/main amd64 linux-headers-amd64 amd64 6.1.67-1 [1,420 B]
Get:5 https://deb.debian.org/debian bookworm-updates/main amd64 linux-image-6.1.0-16-amd64 amd64 6.1.67-1 [68.7 MB]
Get:6 https://deb.debian.org/debian bookworm-updates/main amd64 linux-image-amd64 amd64 6.1.67-1 [1,476 B]
Fetched 80.6 MB in 3min 4s (438 kB/s)
Preconfiguring packages ...
Selecting previously unselected package apparmor.
(Reading database ... 326678 files and directories currently installed.)
Preparing to unpack .../0-apparmor_3.0.8-3_amd64.deb ...
Unpacking apparmor (3.0.8-3) ...
Selecting previously unselected package linux-headers-6.1.0-16-common.
Preparing to unpack .../1-linux-headers-6.1.0-16-common_6.1.67-1_all.deb ...
Unpacking linux-headers-6.1.0-16-common (6.1.67-1) ...
Selecting previously unselected package linux-headers-6.1.0-16-amd64.
Preparing to unpack .../2-linux-headers-6.1.0-16-amd64_6.1.67-1_amd64.deb ...
Unpacking linux-headers-6.1.0-16-amd64 (6.1.67-1) ...
Selecting previously unselected package linux-headers-amd64.
Preparing to unpack .../3-linux-headers-amd64_6.1.67-1_amd64.deb ...
Unpacking linux-headers-amd64 (6.1.67-1) ...
Selecting previously unselected package linux-image-6.1.0-16-amd64.
Preparing to unpack .../4-linux-image-6.1.0-16-amd64_6.1.67-1_amd64.deb ...
Unpacking linux-image-6.1.0-16-amd64 (6.1.67-1) ...
Selecting previously unselected package linux-image-amd64.
Preparing to unpack .../5-linux-image-amd64_6.1.67-1_amd64.deb ...
Unpacking linux-image-amd64 (6.1.67-1) ...
Setting up linux-image-6.1.0-16-amd64 (6.1.67-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.1.0-12-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-6.1.0-12-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-6.1.0-16-amd64
I: /initrd.img is now a symlink to boot/initrd.img-6.1.0-16-amd64
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-16-amd64.
/usr/sbin/dkms.mx autoinstall --kernelver 6.1.0-16-amd64
Deprecated feature: MODULES_CONF (/var/lib/dkms/rtl8821ce/5.5.2.1+git20230504/source/dkms.conf)
grep: /lib/modules/6.1.0-12-amd64/build/.config: No such file or directory
Deprecated feature: MODULES_CONF (/var/lib/dkms/rtl8821ce/5.5.2.1+git20230504/source/dkms.conf)
Deprecated feature: MODULES_CONF (/var/lib/dkms/rtl8821ce/5.5.2.1+git20230504/source/dkms.conf)
grep: /lib/modules/6.1.0-12-amd64/build/.config: No such file or directory
Deprecated feature: MODULES_CONF (/var/lib/dkms/rtl8821ce/5.5.2.1+git20230504/source/dkms.conf)
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j6 KERNELRELEASE=6.1.0-16-amd64 KVER=6.1.0-16-amd64....
Signing module /var/lib/dkms/broadcom-sta/6.30.223.271/build/wl.ko
Cleaning build area...

wl.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.1.0-16-amd64/updates/dkms/
depmod...
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
'make' all KVER=6.1.0-16-amd64...........................
Signing module /var/lib/dkms/rtl8188fu/1.0/build/rtl8188fu.ko
Cleaning build area...

rtl8188fu.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.1.0-16-amd64/updates/dkms/
depmod...
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Deprecated feature: MODULES_CONF (/var/lib/dkms/rtl8821ce/5.5.2.1+git20230504/source/dkms.conf)

Building module:
Cleaning build area...
'make' -j6 KVER=6.1.0-16-amd64 USER_MODULE_NAME=rtl8821ce CONFIG_RTW_DEBUG=n.............
Signing module /var/lib/dkms/rtl8821ce/5.5.2.1+git20230504/build/rtl8821ce.ko
Cleaning build area...

rtl8821ce.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.1.0-16-amd64/updates/dkms/
depmod...
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
'make' all KVER=6.1.0-16-amd64..........................................................
Signing module /var/lib/dkms/rtl8821cu/5.12.0/build/8821cu.ko
Cleaning build area...

8821cu.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.1.0-16-amd64/updates/dkms/
depmod...
dkms: autoinstall for kernel: 6.1.0-16-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-16-amd64
I: The initramfs will attempt to resume from /dev/nvme0n1p7
I: (UUID=deff4166-e794-41be-b529-8b2a44a031c0)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found theme: /boot/grub/themes/mx_linux/theme.txt
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-6.1.0-16-amd64
Found initrd image: /boot/initrd.img-6.1.0-16-amd64
Found linux image: /boot/vmlinuz-6.1.0-12-amd64
Found initrd image: /boot/initrd.img-6.1.0-12-amd64
Found linux image: /boot/vmlinuz-6.1.0-11-amd64
Found initrd image: /boot/initrd.img-6.1.0-11-amd64
Found mtest-64.efi image: /boot/uefi-mt/mtest-64.efi
Found Windows Boot Manager on /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done
Setting up linux-headers-6.1.0-16-common (6.1.67-1) ...
Setting up linux-image-amd64 (6.1.67-1) ...
Setting up apparmor (3.0.8-3) ...
Created symlink /etc/systemd/system/sysinit.target.wants/apparmor.service → /lib/systemd/system/apparmor.service.
Reloading AppArmor profiles
Skipping profile in /etc/apparmor.d/disable: usr.bin.thunderbird
Setting up linux-headers-6.1.0-16-amd64 (6.1.67-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-16-amd64.
/usr/sbin/dkms.mx autoinstall --kernelver 6.1.0-16-amd64
Deprecated feature: MODULES_CONF (/var/lib/dkms/rtl8821ce/5.5.2.1+git20230504/source/dkms.conf)
grep: /lib/modules/6.1.0-12-amd64/build/.config: No such file or directory
Deprecated feature: MODULES_CONF (/var/lib/dkms/rtl8821ce/5.5.2.1+git20230504/source/dkms.conf)
Deprecated feature: MODULES_CONF (/var/lib/dkms/rtl8821ce/5.5.2.1+git20230504/source/dkms.conf)
dkms: autoinstall for kernel: 6.1.0-16-amd64.
Setting up linux-headers-amd64 (6.1.67-1) ...
Processing triggers for man-db (2.11.2-2) ...
HOORAY!! This seems to have unplugged the jam!!
I'll try rebooting, and hopefully come back here to mark this topic SOLVED

Many, many thanks to all who participated :number1:
[/quote]

EDIT:
after reboot:
$ uname -r
6.1.0-16-amd64
Seems O.K. If there are WiFi issues I can work around them (Ethernet is up)
Once again -- Many thanks to all!!
~Mike
Old RSTS hack
Registered Linux user #542196

Charlie Brown

Re: Why am I stuck in 6.1.0-12 kernel

#29 Post by Charlie Brown »

:biggrin: :biggrin: :biggrin: :biggrin: :biggrin: :number1:

Also salute @MXRobo

The residual config thing is that the configuration files were still there for it was just removed but not purged. (I had purged mine, therefore it doesn't show that, too).

User avatar
MikeR
Posts: 258
Joined: Sun Jun 25, 2023 6:42 am

Re: Why am I stuck in 6.1.0-12 kernel

#30 Post by MikeR »

@MXRobo
Also salute @MXRobo
Too true. mea culpa.
MANY THANKS!! :yourock:
Old RSTS hack
Registered Linux user #542196

Post Reply

Return to “MX Help”