Unable to upgrade

Killernoy

New Member
Aug 14, 2020
20
3
3
21
This is what i get when i try to upgrade
Code:
root@pve2:~# apt-get update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://ftp.de.debian.org/debian buster InRelease                  
Hit:3 http://ftp.de.debian.org/debian buster-updates InRelease          
Hit:4 http://download.proxmox.com/debian buster InRelease
Reading package lists... Done        
root@pve2:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 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 pve-kernel-5.4.143-1-pve (5.4.143-1) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.4.143-1-pve /boot/vmlinuz-5.4.143-1-pve
run-parts: executing /etc/kernel/postinst.d/dkms 5.4.143-1-pve /boot/vmlinuz-5.4.143-1-pve
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/iomemory-vsl/4.3.5/source/dkms.conf does not exist.
run-parts: /etc/kernel/postinst.d/dkms exited with return code 4
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/pve-kernel-5.4.143-1-pve.postinst line 19.
dpkg: error processing package pve-kernel-5.4.143-1-pve (--configure):
 installed pve-kernel-5.4.143-1-pve package post-installation script subprocess returned error exit status 2
Setting up linux-headers-4.19.0-18-amd64 (4.19.208-1) ...
/etc/kernel/header_postinst.d/dkms:
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/iomemory-vsl/4.3.5/source/dkms.conf does not exist.
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 4
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-4.19.0-18-amd64.postinst line 11.
dpkg: error processing package linux-headers-4.19.0-18-amd64 (--configure):
 installed linux-headers-4.19.0-18-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of pve-kernel-5.4:
 pve-kernel-5.4 depends on pve-kernel-5.4.143-1-pve; however:
  Package pve-kernel-5.4.143-1-pve is not configured yet.

dpkg: error processing package pve-kernel-5.4 (--configure):
 dependency problems - leaving unconfigured
Setting up pve-kernel-5.4.128-1-pve (5.4.128-2) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.4.128-1-pve /boot/vmlinuz-5.4.128-1-pve
run-parts: executing /etc/kernel/postinst.d/dkms 5.4.128-1-pve /boot/vmlinuz-5.4.128-1-pve
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/iomemory-vsl/4.3.5/source/dkms.conf does not exist.
run-parts: /etc/kernel/postinst.d/dkms exited with return code 4
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/pve-kernel-5.4.128-1-pve.postinst line 19.
dpkg: error processing package pve-kernel-5.4.128-1-pve (--configure):
 installed pve-kernel-5.4.128-1-pve package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of linux-headers-amd64:
 linux-headers-amd64 depends on linux-headers-4.19.0-18-amd64; however:
  Package linux-headers-4.19.0-18-amd64 is not configured yet.

dpkg: error processing package linux-headers-amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of proxmox-ve:
 proxmox-ve depends on pve-kernel-5.4; however:
  Package pve-kernel-5.4 is not configured yet.

dpkg: error processing package proxmox-ve (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pve-kernel-5.4.143-1-pve
 linux-headers-4.19.0-18-amd64
 pve-kernel-5.4
 pve-kernel-5.4.128-1-pve
 linux-headers-amd64
 proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)
Please help
 

dcsapak

Proxmox Staff Member
Staff member
Feb 1, 2016
8,221
1,044
164
34
Vienna
Error! Could not locate dkms.conf file. File: /var/lib/dkms/iomemory-vsl/4.3.5/source/dkms.conf does not exist.
it seems that you configured dkms but there is some config file missing
 

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 your own in 60 seconds.

Buy now!