Error

ukhost4u

Member
Oct 30, 2008
95
0
6
Hello.

Has anyone had this error before:

dpkg: error processing pve-headers-2.6.32-2-pve (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
pve-headers-2.6.18-2-pve
pve-headers-2.6.32-2-pve
E: Sub-process /usr/bin/dpkg returned an error code (1)

And is there an easy fix?

Paul
http://www.ukhost4u.com
 
pls post the whole log, starting from the command you executed. and also post your 'pveversion -v'.
 
Hello Tom.

As requested:

vps7:~# 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.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up pve-headers-2.6.18-2-pve (2.6.18-5) ...
ln: creating symbolic link `/lib/modules/2.6.18-2-pve/build': No such file or directory
dpkg: error processing pve-headers-2.6.18-2-pve (--configure):
subprocess post-installation script returned error exit status 1
Setting up pve-headers-2.6.32-2-pve (2.6.32-7) ...
ln: creating symbolic link `/lib/modules/2.6.32-2-pve/build': No such file or directory
dpkg: error processing pve-headers-2.6.32-2-pve (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
pve-headers-2.6.18-2-pve
pve-headers-2.6.32-2-pve
E: Sub-process /usr/bin/dpkg returned an error code (1)

vps7:~# pveversion -v
pve-manager: 1.5-10 (pve-manager/1.5/4822)
running kernel: 2.6.24-8-pve
pve-kernel-2.6.24-11-pve: 2.6.24-23
pve-kernel-2.6.24-8-pve: 2.6.24-16
qemu-server: 1.1-16
pve-firmware: 1.0-5
libpve-storage-perl: 1.0-13
vncterm: 0.9-2
vzctl: 3.0.23-1pve11
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1

Thanks,

Paul Hughes
http://www.ukhost4u.com/
 
Hello.

Do you mean reboot into the new kernel or install it via apt-get first?

Thanks,

Paul
 
BTW, why do you want to install the package 'pve-headers-2.6.32-2-pve' if you do not plan to use the 2.6.32 kernel?
 
Hello.

I attempted this:

apt-get install pve-kernel
Reading package lists... Done
Building dependency tree
Reading state information... Done
pve-kernel is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up pve-headers-2.6.18-2-pve (2.6.18-5) ...
ln: creating symbolic link `/lib/modules/2.6.18-2-pve/build': No such file or directory
dpkg: error processing pve-headers-2.6.18-2-pve (--configure):
subprocess post-installation script returned error exit status 1
Setting up pve-headers-2.6.32-2-pve (2.6.32-7) ...
ln: creating symbolic link `/lib/modules/2.6.32-2-pve/build': No such file or directory
dpkg: error processing pve-headers-2.6.32-2-pve (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
pve-headers-2.6.18-2-pve
pve-headers-2.6.32-2-pve
E: Sub-process /usr/bin/dpkg returned an error code (1)

But got the same error, am I running the wrong command?

Thanks,

Paul
 

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!