The officially official Devuan Forum!

You are not logged in.

#1 Yesterday 09:14:05

Giorgos
Member
From: Greece
Registered: 2018-06-12
Posts: 52  

[SOLVED] How can I skip a kernel update?

Hi!  :-)

The last kernel update crashed my system, and I had to restore a previous backup.
(I'm at oldstable).

How can I skip the kernel update? (while continue installing the rest ones).

I tried Synaptic or from console (with apt mark), but nothing worked so far.

TIA!!!  :-)

Offline

#2 Yesterday 10:55:24

delgado
Member
Registered: 2022-07-14
Posts: 288  

Re: [SOLVED] How can I skip a kernel update?

Hi,

as far as I know, just setting the current kernel version on hold should do the trick (not sure about the generic linux-image-amd64 package).

## show the installed version(s):
$ uname -a
## and/or
$ apt list --installed | grep linux-image

$ apt-mark hold linux-image-$VERSION-amd64
## or:
$ apt-mark hold linux-image-$VERSION-amd64 linux-headers-$VERSION-amd64  linux-headers-$VERSION-common

Last edited by delgado (Yesterday 10:56:05)

Offline

#3 Yesterday 11:54:58

Giorgos
Member
From: Greece
Registered: 2018-06-12
Posts: 52  

Re: [SOLVED] How can I skip a kernel update?

THANKS delgado for your post!  :-)

I already marked them as "on hold", thus:

#apt-mark hold linux-image-6.1.0-44-amd64 linux-headers-6.1.0-44-amd64  linux-headers-6.1.0-44-common
linux-image-6.1.0-44-amd64 was already set on hold.
linux-headers-6.1.0-44-amd64 was already set on hold.
linux-headers-6.1.0-44-common was already set on hold.
#

However, the new kernel, keeps coming:

#apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
linux-headers-6.1.0-45-amd64 linux-headers-6.1.0-45-common linux-image-6.1.0-45-amd64
The following packages will be upgraded:
linux-compiler-gcc-12-x86 linux-headers-amd64 linux-image-amd64 linux-kbuild-6.1
4 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 84.7 MB of archives.
After this operation, 472 MB of additional disk space will be used.
Do you want to continue? [Y/n] N
Abort.
#

Offline

#4 Yesterday 12:22:11

rolfie
Member
Registered: 2017-11-25
Posts: 1,432  

Re: [SOLVED] How can I skip a kernel update?

Do also set on hold: linux-headers-amd64 linux-image-amd64

Online

#5 Yesterday 12:27:24

Giorgos
Member
From: Greece
Registered: 2018-06-12
Posts: 52  

Re: [SOLVED] How can I skip a kernel update?

That did the trick!

MANY THANKS guys, for your help!!!  :-)

Offline

Board footer