[SOLVED] 6.8.12-5-pve install problem

oberfragger

Member
Nov 22, 2022
24
5
8
About 2 Month ago i played around to install the GPU-Passthrough with no sucess. I think i damaged something.
Today i tried tu upgrade my installation and i fails.

Code:
root@proxmox:~# apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://download.proxmox.com/debian/pve bookworm InRelease    
Hit:4 http://ftp.debian.org/debian bookworm InRelease
Hit:5 http://ftp.debian.org/debian bookworm-updates InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

Code:
root@proxmox:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  proxmox-headers-6.8.12-4-pve
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
  proxmox-headers-6.8.12-5-pve proxmox-kernel-6.8.12-5-pve-signed
The following packages will be upgraded:
  proxmox-headers-6.8 proxmox-kernel-6.8
2 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 117 MB of archives.
After this operation, 674 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 proxmox-kernel-6.8.12-5-pve-signed amd64 6.8.12-5 [103 MB]
Get:2 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 proxmox-kernel-6.8 all 6.8.12-5 [10.7 kB]
Get:3 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 proxmox-headers-6.8.12-5-pve amd64 6.8.12-5 [13.7 MB]
Get:4 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 proxmox-headers-6.8 all 6.8.12-5 [10.3 kB]
Fetched 117 MB in 6s (20.3 MB/s)
Reading changelogs... Done
Selecting previously unselected package proxmox-kernel-6.8.12-5-pve-signed.
(Reading database ... 137886 files and directories currently installed.)
Preparing to unpack .../proxmox-kernel-6.8.12-5-pve-signed_6.8.12-5_amd64.deb ...
Unpacking proxmox-kernel-6.8.12-5-pve-signed (6.8.12-5) ...
Preparing to unpack .../proxmox-kernel-6.8_6.8.12-5_all.deb ...
Unpacking proxmox-kernel-6.8 (6.8.12-5) over (6.8.12-4) ...
Selecting previously unselected package proxmox-headers-6.8.12-5-pve.
Preparing to unpack .../proxmox-headers-6.8.12-5-pve_6.8.12-5_amd64.deb ...
Unpacking proxmox-headers-6.8.12-5-pve (6.8.12-5) ...
Preparing to unpack .../proxmox-headers-6.8_6.8.12-5_all.deb ...
Unpacking proxmox-headers-6.8 (6.8.12-5) over (6.8.12-4) ...
Setting up proxmox-kernel-6.8.12-4-pve-signed (6.8.12-4) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 6.8.12-4-pve /boot/vmlinuz-6.8.12-4-pve
dkms: running auto installation service for kernel 6.8.12-4-pve.
Sign command: /lib/modules/6.8.12-4-pve/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=6.8.12-4-pve -C /lib/modules/6.8.12-4-pve/build M=/var/lib/dkms/i915-sriov-dkms/2024.07.19/build...........................(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.8.12-4-pve (x86_64)
Consult /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.8.12-4-pve failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/proxmox-kernel-6.8.12-4-pve-signed.postinst line 20.
dpkg: error processing package proxmox-kernel-6.8.12-4-pve-signed (--configure):
 installed proxmox-kernel-6.8.12-4-pve-signed package post-installation script subprocess returned error exit status 2
Setting up proxmox-kernel-6.8.12-5-pve-signed (6.8.12-5) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 6.8.12-5-pve /boot/vmlinuz-6.8.12-5-pve
dkms: running auto installation service for kernel 6.8.12-5-pve.
Sign command: /lib/modules/6.8.12-5-pve/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=6.8.12-5-pve -C /lib/modules/6.8.12-5-pve/build M=/var/lib/dkms/i915-sriov-dkms/2024.07.19/build......(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.8.12-5-pve (x86_64)
Consult /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.8.12-5-pve failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/proxmox-kernel-6.8.12-5-pve-signed.postinst line 20.
dpkg: error processing package proxmox-kernel-6.8.12-5-pve-signed (--configure):
 installed proxmox-kernel-6.8.12-5-pve-signed package post-installation script subprocess returned error exit status 2
Setting up proxmox-headers-6.8.12-5-pve (6.8.12-5) ...
dpkg: dependency problems prevent configuration of proxmox-kernel-6.8:
 proxmox-kernel-6.8 depends on proxmox-kernel-6.8.12-5-pve-signed | proxmox-kernel-6.8.12-5-pve; however:
  Package proxmox-kernel-6.8.12-5-pve-signed is not configured yet.
  Package proxmox-kernel-6.8.12-5-pve is not installed.
  Package proxmox-kernel-6.8.12-5-pve-signed which provides proxmox-kernel-6.8.12-5-pve is not configured yet.

dpkg: error processing package proxmox-kernel-6.8 (--configure):
 dependency problems - leaving unconfigured
Setting up proxmox-headers-6.8 (6.8.12-5) ...
Errors were encountered while processing:
 proxmox-kernel-6.8.12-4-pve-signed
 proxmox-kernel-6.8.12-5-pve-signed
 proxmox-kernel-6.8
E: Sub-process /usr/bin/dpkg returned an error code (1)

And this is the /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/make.log
Code:
DKMS make.log for i915-sriov-dkms-2024.07.19 for kernel 6.8.12-5-pve (x86_64)
Mon Jan 13 11:07:55 PM CET 2025
make: Entering directory '/usr/src/linux-headers-6.8.12-5-pve'
KERNELRELEASE=6.8.12-5-pve
KERNELVERSION=6.8.12
EXTRAVERSION_MAJOR=5
EXTRAVERSION_MINOR=0
EXTRAVERSION_NAME=pve
EXTRAVERSION_DEFINE=EXTRAVERSION_PVE
LSBRELEASE=12
LSBRELEASE_MAJOR=12
LSBRELEASE_MINOR=0
LSBRELEASE_NAME=Debian
LSBRELEASE_DEFINE=RELEASE_DEBIAN
GUCFIRMWARE_MAJOR=1
GUCFIRMWARE_MINOR=9
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/i915_driver.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/i915_drm_client.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/i915_config.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/i915_getparam.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/i915_hwmon.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/i915_ioctl.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/i915_irq.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/i915_mitigations.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/i915_module.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/i915_params.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/i915_pci.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/i915_scatterlist.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/i915_suspend.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/i915_switcheroo.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/i915_sysfs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/i915_utils.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/intel_device_info.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/intel_memory_region.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/intel_pcode.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/intel_pm.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/intel_region_ttm.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/intel_runtime_pm.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/intel_sbi.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/intel_step.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/intel_uncore.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/intel_wakeref.o
/var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/intel_runtime_pm.c: In function ‘__intel_runtime_pm_get_if_active’:
/var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/intel_runtime_pm.c:245:21: error: too many arguments to function ‘pm_runtime_get_if_active’
  245 |                 if (pm_runtime_get_if_active(rpm->kdev, ignore_usecount) <= 0)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/intel_runtime_pm.c:29:
./include/linux/pm_runtime.h:75:12: note: declared here
   75 | extern int pm_runtime_get_if_active(struct device *dev);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:243: /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/drivers/gpu/drm/i915/intel_runtime_pm.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/usr/src/linux-headers-6.8.12-5-pve/Makefile:1925: /var/lib/dkms/i915-sriov-dkms/2024.07.19/build] Error 2
make: *** [Makefile:240: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.8.12-5-pve'

And thats my dkms.conf
Code:
PACKAGE_NAME="i915-sriov-dkms"
PACKAGE_VERSION="2024.07.19"

MAKE[0]="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build"
CLEAN="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build clean"

BUILT_MODULE_NAME[0]="i915"
DEST_MODULE_LOCATION[0]=/kernel/drivers/gpu/drm/i915

AUTOINSTALL=yes
BUILD_EXCLUSIVE_KERNEL="^(6\.[1-8]\.)"

How is it possible to upgrade again?
 
Last edited:
Where did you get i915-sriov-dkms/2024.07.19/ from? They will have to provide a driver that is compatible with the new Linux kernel that is used by Proxmox.
I really dont know. I tried desperatly to active GPU passtrough and tried various suggestions.

How is it possible to return to the regular intel driver without to start from scratch?

I did this:
Code:
git clone https://github.com/strongtz/i915-sriov-dkms.git
cd i915-sriov-dkms
nano dkms.conf
cd ~
mv i915-sriov-dkms/ /usr/src/i915-sriov-dkms-6.5
dkms install --force -m i915-sriov-dkms -v 6.5
dkms status
 
Last edited:
root@proxmox:~# apt upgrade
NEVER run apt upgrade or apt-get upgrade on a PVE system, only apt-get dist-upgrade. See here & these forums for more info.
Many users make this mistake & end up breaking some dependency etc. If you only use the UI it will only do a dist-upgrade.
 
NEVER run apt upgrade or apt-get upgrade on a PVE system, only apt-get dist-upgrade. See here & these forums for more info.
Many users make this mistake & end up breaking some dependency etc. If you only use the UI it will only do a dist-upgrade.
Thanks for you advice. I take care about it in the future. but now i ran into the same problem with SSH via putty. How to fix that?



Code:
root@proxmox:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  proxmox-headers-6.8.12-4-pve
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up proxmox-kernel-6.8.12-4-pve-signed (6.8.12-4) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 6.8.12-4-pve /boot/vmlinuz-6.8.                                                                                                                                                                                                                                             12-4-pve
dkms: running auto installation service for kernel 6.8.12-4-pve.
Sign command: /lib/modules/6.8.12-4-pve/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=6.8.12-4-pve -C /lib/modules/6.8.12-4-pve/build M=/var/li                                                                                                                                                                                                                                             b/dkms/i915-sriov-dkms/2024.07.19/build..........................(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.8.12-4-pve (x86_64)
Consult /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.8.12-4-pve failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/proxmox-kernel-6.8.12-4-pve-signed.postinst line 20.
dpkg: error processing package proxmox-kernel-6.8.12-4-pve-signed (--configure):
 installed proxmox-kernel-6.8.12-4-pve-signed package post-installation script subprocess returned error exit status 2
Setting up proxmox-kernel-6.8.12-5-pve-signed (6.8.12-5) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 6.8.12-5-pve /boot/vmlinuz-6.8.12-5-pve
dkms: running auto installation service for kernel 6.8.12-5-pve.
Sign command: /lib/modules/6.8.12-5-pve/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=6.8.12-5-pve -C /lib/modules/6.8.12-5-pve/build M=/var/lib/dkms/i915-sriov-dkms/2024.07.19/build......(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.8.12-5-pve (x86_64)
Consult /var/lib/dkms/i915-sriov-dkms/2024.07.19/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.8.12-5-pve failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/proxmox-kernel-6.8.12-5-pve-signed.postinst line 20.
dpkg: error processing package proxmox-kernel-6.8.12-5-pve-signed (--configure):
 installed proxmox-kernel-6.8.12-5-pve-signed package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of proxmox-kernel-6.8:
 proxmox-kernel-6.8 depends on proxmox-kernel-6.8.12-5-pve-signed | proxmox-kernel-6.8.12-5-pve; however:
  Package proxmox-kernel-6.8.12-5-pve-signed is not configured yet.
  Package proxmox-kernel-6.8.12-5-pve is not installed.
  Package proxmox-kernel-6.8.12-5-pve-signed which provides proxmox-kernel-6.8.12-5-pve is not configured yet.

dpkg: error processing package proxmox-kernel-6.8 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 proxmox-kernel-6.8.12-4-pve-signed
 proxmox-kernel-6.8.12-5-pve-signed
 proxmox-kernel-6.8
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Maybe try following this post to remove & clean up this i915-sriov-dkms module.
Is i915 really installed?
I just excuted this:

Code:
root@proxmox:~# dpkg -l | grep i915-sriov-dkms
root@proxmox:~# apt-get remove --purge i915-sriov-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package i915-sriov-dkms
root@proxmox:~# dkms status
i915-sriov-dkms/2024.07.19: added
i915-sriov-dkms/6.5, 6.5.13-3-pve, x86_64: installed

dpkg -l | grep i915-sriov-dkms gives no sucess.
Do i have just to clean the build things?
 
After excuting the folling, i got rid of 2024-07-19
Code:
rm -rf /usr/src/i915-sriov-dkms-*
rm -rf /var/lib/dkms/i915-sriov-dkms
find /lib/modules -regex ".*/updates/dkms/i915.ko" -delete
cd ~/i915-sriov-dkms
git pull
dkms add .
dkms install -m i915-sriov-dkms -v $(cat VERSION) --force
update-initramfs -u -k all

sudo dkms status is now empty

After a reboot, apt clean, apt autoremove, apt upgrade and apt-get dist-upgrade

Code:
root@proxmox:~# apt-get dist-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.
root@proxmox:~# pveversion
pve-manager/8.3.2/3e76eec21c4a14a7 (running kernel: 6.5.13-3-pve)
root@proxmox:~# apt-get dist-upgradeapt-get dist-upgrade

So im still on 6.5.13-3 Kernel. Thats not the newest one- right? I dont have subscription. Why i didnt get the newer kernel version with dist-upgrade or full-upgrade?

Code:
root@proxmox:~# pveversion -v
proxmox-ve: 8.3.0 (running kernel: 6.5.13-3-pve)
pve-manager: 8.3.2 (running version: 8.3.2/3e76eec21c4a14a7)
proxmox-kernel-helper: 8.1.0
proxmox-kernel-6.8: 6.8.12-5
proxmox-kernel-6.8.12-5-pve-signed: 6.8.12-5
proxmox-kernel-6.8.12-4-pve-signed: 6.8.12-4
proxmox-kernel-6.5.13-6-pve-signed: 6.5.13-6
proxmox-kernel-6.5: 6.5.13-6
proxmox-kernel-6.5.13-3-pve: 6.5.13-3
proxmox-kernel-6.5.11-4-pve-signed: 6.5.11-4
ceph-fuse: 17.2.7-pve1
corosync: 3.1.7-pve3
criu: 3.17.1-2+deb12u1
glusterfs-client: 10.3-5
ifupdown2: 3.2.0-1+pmx11
ksm-control-daemon: 1.5-1
libjs-extjs: 7.0.0-5
libknet1: 1.28-pve1
libproxmox-acme-perl: 1.5.1
libproxmox-backup-qemu0: 1.4.1
libproxmox-rs-perl: 0.3.4
libpve-access-control: 8.2.0
libpve-apiclient-perl: 3.3.2
libpve-cluster-api-perl: 8.0.10
libpve-cluster-perl: 8.0.10
libpve-common-perl: 8.2.9
libpve-guest-common-perl: 5.1.6
libpve-http-server-perl: 5.1.2
libpve-network-perl: 0.10.0
libpve-rs-perl: 0.9.1
libpve-storage-perl: 8.3.3
libspice-server1: 0.15.1-1
lvm2: 2.03.16-2
lxc-pve: 6.0.0-1
lxcfs: 6.0.0-pve2
novnc-pve: 1.5.0-1
proxmox-backup-client: 3.3.2-1
proxmox-backup-file-restore: 3.3.2-2
proxmox-firewall: 0.6.0
proxmox-kernel-helper: 8.1.0
proxmox-mail-forward: 0.3.1
proxmox-mini-journalreader: 1.4.0
proxmox-offline-mirror-helper: 0.6.7
proxmox-widget-toolkit: 4.3.3
pve-cluster: 8.0.10
pve-container: 5.2.3
pve-docs: 8.3.1
pve-edk2-firmware: 4.2023.08-4
pve-esxi-import-tools: 0.7.2
pve-firewall: 5.1.0
pve-firmware: 3.14-2
pve-ha-manager: 4.0.6
pve-i18n: 3.3.2
pve-qemu-kvm: 9.0.2-4
pve-xtermjs: 5.3.0-3
qemu-server: 8.3.3
smartmontools: 7.3-pve1
spiceterm: 3.3.0
swtpm: 0.8.0+pve1
vncterm: 1.8.0
zfsutils-linux: 2.2.6-pve1
root@proxmox:~#
 
Last edited:
Ok. Ich habe irgendwie den Kernel gepinnt.
root@proxmox:~# proxmox-boot-tool kernel list
Manually selected kernels:
None.

Automatically selected kernels:
6.5.13-3-pve
6.5.13-6-pve
6.8.12-4-pve
6.8.12-5-pve

Pinned kernel:
6.5.13-3-pve
 
  • Like
Reactions: UdoB
Without a subscription you should follow: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysadmin_no_subscription_repo

Then with the default kernel you get this:
Code:
~# apt show proxmox-default-kernel
Package: proxmox-default-kernel
Version: 1.1.0

~# apt depends  proxmox-default-kernel
proxmox-default-kernel
  Depends: proxmox-kernel-6.8

~# apt show proxmox-kernel-6.8
Package: proxmox-kernel-6.8
Version: 6.8.12-5

Provides: linux-image-amd64, linux-image-generic, pve-kernel-6.8, wireguard-modules (= 1.0.0)
Depends: pve-firmware, proxmox-kernel-6.8.12-5-pve-signed | proxmox-kernel-6.8.12-5-pve
Description: Latest Proxmox Kernel Image
 This is a metapackage which will install the latest available
 proxmox kernel from the 6.8 series.

~# apt depends proxmox-kernel-6.8
proxmox-kernel-6.8
  Depends: pve-firmware
 |Depends: proxmox-kernel-6.8.12-5-pve-signed

~# uname -a
Linux pveg 6.8.12-5-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-5 (2024-12-03T10:26Z) x86_64 GNU/Linux
 
  • Like
Reactions: oberfragger
Without a subscription you should follow: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysadmin_no_subscription_repo

Then with the default kernel you get this:
Code:
~# apt show proxmox-default-kernel
Package: proxmox-default-kernel
Version: 1.1.0

~# apt depends  proxmox-default-kernel
proxmox-default-kernel
  Depends: proxmox-kernel-6.8

~# apt show proxmox-kernel-6.8
Package: proxmox-kernel-6.8
Version: 6.8.12-5

Provides: linux-image-amd64, linux-image-generic, pve-kernel-6.8, wireguard-modules (= 1.0.0)
Depends: pve-firmware, proxmox-kernel-6.8.12-5-pve-signed | proxmox-kernel-6.8.12-5-pve
Description: Latest Proxmox Kernel Image
 This is a metapackage which will install the latest available
 proxmox kernel from the 6.8 series.

~# apt depends proxmox-kernel-6.8
proxmox-kernel-6.8
  Depends: pve-firmware
 |Depends: proxmox-kernel-6.8.12-5-pve-signed

~# uname -a
Linux pveg 6.8.12-5-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-5 (2024-12-03T10:26Z) x86_64 GNU/Linux
I have the same repo´s. But i need to unpin the other kernel.
 
I have the same repo´s. But i need to unpin the other kernel.
Did you do that or are you asking "how?"?
Code:
~# proxmox-boot-tool
USAGE: /usr/sbin/proxmox-boot-tool <commands> [ARGS]

  /usr/sbin/proxmox-boot-tool kernel pin <kernel-version> [--next-boot]
  /usr/sbin/proxmox-boot-tool kernel unpin [--next-boot]
...
 
Did you do that or are you asking "how?"?
Code:
~# proxmox-boot-tool
USAGE: /usr/sbin/proxmox-boot-tool <commands> [ARGS]

  /usr/sbin/proxmox-boot-tool kernel pin <kernel-version> [--next-boot]
  /usr/sbin/proxmox-boot-tool kernel unpin [--next-boot]
...
It was a "how" question.

I did it wrong the whole time.
i used "proxmox-boot-tool kernel unpin 6.5.13-3-pve" instead of "proxmox-boot-tool kernel unpin".
My fault. Now:
Code:
root@proxmox:~# uname -r
6.8.12-5-pve
YAY!
 
  • Like
Reactions: UdoB
You said above you would take my advice. Short memory?

Anyway happy you got it solved.

Maybe mark this thread as Solved. At the top of the thread, choose the Edit thread button, then from the (no prefix) dropdown choose Solved.

Happy Proxmoxing!
I think i did dist-upgrade, but maybe in this case not.

Ah. did´nt know this prefix feature.

Thx for your replys.
 
Last edited:
  • Like
Reactions: gfngfn256

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!