[Solved] Can't upgrade to latest kernel version

Linux Kernel, Network, and Services configuration.
Message
Author
CwF
Global Moderator
Global Moderator
Posts: 3073
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 63 times
Been thanked: 254 times

Re: [Solved] Can't upgrade to latest kernel version

#21 Post by CwF »

bw123 wrote: 2024-10-02 21:19 https://bugs.debian.org/cgi-bin/bugrepo ... ug=1078608
Yes, aware.
I assume an innocent user action is leading to the error. I've never seen the issue, but I stay in a narrow range of method. I assume the issue is related to numerous tools trying to do the same job, even if done separately in a way we'd expect to be ok. IIRC a reboot doesn't help, so there is persistent state information from some utility. Auto updates seems to be involved, but there could be more than one issue.

Someone with the situation needs to do a thorough grepping of the journal/logs for clues. I *think* if something blocks the write to the (open) package list it doesn't know any better if the followup read passes.

Similar behavior can be induced on .xsession-erros within a session. The difference is that file is re-established in a new session. The package database list have no such refresh. Since an open or locked file won't survive a reboot, it must be a process started each time at least holding the file open without a lock.

I put my two cents on an auto update utility. So the question may be what package handlers or managers are installed.
Mottainai

User avatar
bw123
Posts: 4046
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 33 times

Re: [Solved] Can't upgrade to latest kernel version

#22 Post by bw123 »

bug 1078608 is against apt v2.9, so it hasn't been followed up on stable.

encouraging a bug report thru reportbug when this is seen might help.

mininum info would probably be something like this:

Code: Select all

user@debian:~$ apt --version
apt 2.6.1 (amd64)
user@debian:~$ apt policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages
     release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=main,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian bookworm-updates/main amd64 Packages
     release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=main,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian bookworm/main amd64 Packages
     release v=12.7,o=Debian,a=stable,n=bookworm,l=Debian,c=main,b=amd64
     origin deb.debian.org
Pinned packages:
user@debian:~$
[code]

ty, and good luck,
bw
resigned by AI ChatGPT

User avatar
bw123
Posts: 4046
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 33 times

Re: [Solved] Can't upgrade to latest kernel version

#23 Post by bw123 »

p.s.

Ben Hutchings doesn't seem like the type to make innocent user actions, it's an important bug for now.

https://bugs.debian.org/cgi-bin/bugrepo ... ug=1078608

thanks for helping
resigned by AI ChatGPT

CwF
Global Moderator
Global Moderator
Posts: 3073
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 63 times
Been thanked: 254 times

Re: [Solved] Can't upgrade to latest kernel version

#24 Post by CwF »

maybe next time, to test my theory,

Code: Select all

lsof +d /var/lib/apt/lists
on edit, No, not that, with root

Code: Select all

#  lsof +D /var/lib/apt/lists
COMMAND     PID USER   FD   TYPE DEVICE SIZE/OFF   NODE NAME
synaptic 367361 root   14r   REG  254,1 32686605 130896 /var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_main_i18n_Translation-en
synaptic 367361 root   15r   REG  254,1 49997355 130885 /var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_main_binary-amd64_Packages
synaptic 367361 root   16r   REG  254,1   189290 130944 /var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_contrib_i18n_Translation-en
synaptic 367361 root   17r   REG  254,1   233622 130940 /var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_contrib_binary-amd64_Packages
synaptic 367361 root   18r   REG  254,1   403532 130936 /var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_non-free_i18n_Translation-en
synaptic 367361 root   19r   REG  254,1   584538 130925 /var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_non-free_binary-amd64_Packages
Mottainai

Post Reply