Hello, Today I had some issues with the nvidia driver. After some search I found the issue was that the linux-header-amd64 package was pointing to a previous kernel (linux-header-6.1.0-16 instead of -17). However, no update was proposed to me. Moreover, the headers for -17 were found when using apt install ...-17, but the command failed because a dependency was unmet (namely the error was linux-headers-6.1.0-17-amd64 : Depends: linux-kbuild-6.1 (>= 6.1.69-1) but 6.1.67-1 is to be installed).
I changed my /etc/apt/preferences.d/stable.pref from
to:
And voilà, it magically worked and made me upgrade all the packages as needed.
The question is: what was wrong with the old preferences.d file? After all, if bookworm-updates is providing linux-kbuild-6.1==6.1.67-1 but bookworm provides linux-kbuild-6.1==6.1.69-1, and if bookworm and bookworm-updates have the same priority, then the most recent should be picked, isn't it?
I changed my /etc/apt/preferences.d/stable.pref from
Code:
Package: *Pin: release n=bookwormPin: release n=bookworm-securityPin: release n=bookworm-updatesPin-Priority: 900
Code:
Package: *Pin: release n=bookwormPin: release n=bookworm-securityPin-Priority: 900Package: *Pin: release n=bookworm-updatesPin-Priority: 800
The question is: what was wrong with the old preferences.d file? After all, if bookworm-updates is providing linux-kbuild-6.1==6.1.67-1 but bookworm provides linux-kbuild-6.1==6.1.69-1, and if bookworm and bookworm-updates have the same priority, then the most recent should be picked, isn't it?
Statistics: Posted by Outline — 2024-02-01 15:18 — Replies 1 — Views 60