[SOLVED] Error update last pve-kernel

Apr 22, 2014
7
0
41
Error update last pve-kernel

Good morning,
after installing this update utime:


libintl-perl: 1.23-1 ==> 1.23-1+deb8u1
libmodule-build-perl: 0.421000-2 ==> 0.421000-2+deb8u1
libnet-dns-perl: 0.81-2 ==> 0.81-2+deb8u1
libperl5.20: 5.20.2-3+deb8u5 ==> 5.20.2-3+deb8u6
libpve-access-control: 4.0-16 ==> 4.0-18
libpve-common-perl: 4.0-70 ==> 4.0-71
libpve-storage-perl: 4.0-55 ==> 4.0-56
ntp: 1:4.2.6.p5+dfsg-7+deb8u1 ==> 1:4.2.6.p5+dfsg-7+deb8u2
perl: 5.20.2-3+deb8u5 ==> 5.20.2-3+deb8u6
perl-base: 5.20.2-3+deb8u5 ==> 5.20.2-3+deb8u6
perl-modules: 5.20.2-3+deb8u5 ==> 5.20.2-3+deb8u6
proxmox-ve: 4.2-56 ==> 4.2-58
pve-cluster: 4.0-42 ==> 4.0-43
pve-container: 1.0-70 ==> 1.0-71
pve-kernel-4.4.13-2-pve: 4.4.13-58 (new)
pve-libspice-server1: 0.12.5-2 ==> 0.12.8-1
pve-manager: 4.2-15 ==> 4.2-17
pve-qemu-kvm: 2.5-19 ==> 2.6-1
qemu-server: 4.0-83 ==> 4.0-85

the system has displayed
the following error:

"Errors were encountered while processing:
/var/cache/apt/archives/pve-kernel-4.4.13-2-pve_4.4.13-58_amd64.deb
E: Sub-process / usr / bin / dpkg returned an error code (1) "

On the forum I find a solution to the problem.
Note: Before this latest update the system worked
regularly and had installed all the previous hassle.

I apologize for the inconvenience but I do not know what to do ...

Can someone help me?

Thanks for collaboration
 
what happened if you try

apt-get install -f

what is the output?
 
I had already used the command: apt-get install -f
getting the same error when processing is complete.

I also tried using the command: aptitude safe-upgrade

This is the output:
Resolving dependencies...
The following NEW packages will be installed:
pve-kernel-4.4.13-2-pve{a}
The following partially installed packages will be configured:
libgd3 libintl-perl libmodule-build-perl libnet-dns-perl libperl5.20
libpve-access-control libpve-common-perl libpve-storage-perl ntp perl
perl-modules proxmox-ve pve-cluster pve-container pve-libspice-server1
pve-manager pve-qemu-kvm qemu-server
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/44.0 MB of archives. After unpacking 0 B will be used.
Do you want to continue? [Y/n/?] y
(Reading database ... 102435 files and directories currently installed.)
Preparing to unpack .../pve-kernel-4.4.13-2-pve_4.4.13-58_amd64.deb ...
Unpacking pve-kernel-4.4.13-2-pve (4.4.13-58) ...
dpkg: error processing archive /var/cache/apt/archives/pve-kernel-4.4.13-2-pve_4 .4.13-58_amd64.deb (--unpack):
cannot copy extracted data for './boot/vmlinuz-4.4.13-2-pve' to '/boot/vmlinuz- 4.4.13-2-pve.dpkg-new': failed to write (No space left on device)
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.13-2-pve /boot/vml inuz-4.4.13-2-pve
update-initramfs: Deleting /boot/initrd.img-4.4.13-2-pve
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.13-2-pve /boot/vmli nuz-4.4.13-2-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.13-1-pve
Found initrd image: /boot/initrd.img-4.4.13-1-pve
Found linux image: /boot/vmlinuz-4.4.10-1-pve
Found initrd image: /boot/initrd.img-4.4.10-1-pve
Found linux image: /boot/vmlinuz-4.4.8-1-pve
Found initrd image: /boot/initrd.img-4.4.8-1-pve
Found linux image: /boot/vmlinuz-4.4.6-1-pve
Found initrd image: /boot/initrd.img-4.4.6-1-pve
Found linux image: /boot/vmlinuz-4.2.8-1-pve
Found initrd image: /boot/initrd.img-4.2.8-1-pve
Found linux image: /boot/vmlinuz-4.2.6-1-pve
Found initrd image: /boot/initrd.img-4.2.6-1-pve
Found linux image: /boot/vmlinuz-4.2.3-2-pve
Found initrd image: /boot/initrd.img-4.2.3-2-pve
Found linux image: /boot/vmlinuz-4.2.2-1-pve
Found initrd image: /boot/initrd.img-4.2.2-1-pve
Found linux image: /boot/vmlinuz-2.6.32-43-pve
Found initrd image: /boot/initrd.img-2.6.32-43-pve
Found linux image: /boot/vmlinuz-2.6.32-42-pve
Found initrd image: /boot/initrd.img-2.6.32-42-pve
Found linux image: /boot/vmlinuz-2.6.32-40-pve
Found initrd image: /boot/initrd.img-2.6.32-40-pve
Found linux image: /boot/vmlinuz-2.6.32-39-pve
Found initrd image: /boot/initrd.img-2.6.32-39-pve
Found linux image: /boot/vmlinuz-2.6.32-37-pve
Found initrd image: /boot/initrd.img-2.6.32-37-pve
Found linux image: /boot/vmlinuz-2.6.32-34-pve
Found initrd image: /boot/initrd.img-2.6.32-34-pve
Found linux image: /boot/vmlinuz-2.6.32-31-pve
Found initrd image: /boot/initrd.img-2.6.32-31-pve
Found linux image: /boot/vmlinuz-2.6.32-28-pve
Found initrd image: /boot/initrd.img-2.6.32-28-pve
Found linux image: /boot/vmlinuz-2.6.32-27-pve
Found initrd image: /boot/initrd.img-2.6.32-27-pve
Found memtest86+ image: /memtest86+.bin
Found memtest86+ multiboot image: /memtest86+_multiboot.bin
done
Errors were encountered while processing:
/var/cache/apt/archives/pve-kernel-4.4.13-2-pve_4.4.13-58_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
Setting up pve-libspice-server1 (0.12.8-1) ...
Setting up pve-qemu-kvm (2.6-1) ...
dpkg: dependency problems prevent configuration of proxmox-ve:
proxmox-ve depends on pve-kernel-4.4.13-2-pve; however:
Package pve-kernel-4.4.13-2-pve is not installed.

dpkg: error processing package proxmox-ve (--configure):
dependency problems - leaving unconfigured
Setting up perl-modules (5.20.2-3+deb8u6) .../
Setting up ntp (1:4.2.6.p5+dfsg-7+deb8u2) ...
update-rc.d: warning: start and stop actions are no longer supported; falling ba ck to defaults
Setting up libgd3:amd64 (2.1.0-5+deb8u6) ...
Setting up perl (5.20.2-3+deb8u6) ...
Setting up libmodule-build-perl (0.421000-2+deb8u1) ...
Setting up libperl5.20 (5.20.2-3+deb8u6) ...
Setting up libpve-common-perl (4.0-71) ...
Setting up libintl-perl (1.23-1+deb8u1) ...
Setting up libnet-dns-perl (0.81-2+deb8u1) ...
Setting up pve-cluster (4.0-43) ...
Setting up libpve-storage-perl (4.0-56) ...
Setting up libpve-access-control (4.0-18) ...
Setting up pve-container (1.0-71) ...
Setting up qemu-server (4.0-85) ...
Setting up pve-manager (4.2-17) ...
Processing triggers for libc-bin (2.19-18+deb8u4) ...
Errors were encountered while processing:
proxmox-ve


It may lack space to handle the upgrade.

To save space I would use the command "purge" to eliminate
the old system files are no longer needed.
It could provide the exact syntax of the command?
It has other suggestions to help overcome the problem?

Thanks for collaboration.

Best regards
 
Try to remove some kernels

apt-get remove pve-kernel-<Kernel NR>
 
Try to remove some kernels

apt-get remove pve-kernel-<Kernel NR>

Output you suggestion:

root@ve1:~# apt-get remove pve-kernel-2.6.32-27
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'pve-kernel-2.6.32-27-pve' for regex 'pve-kernel-2.6.32-27'
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
proxmox-ve : Depends: pve-kernel-4.4.13-2-pve but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

root@ve1:~# apt-get remove pve-kernel-2.6.32-27-pve
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
proxmox-ve : Depends: pve-kernel-4.4.13-2-pve but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@ve1:~# 2.6.32-27

Non removed !
 
Solved!

I moved on a temporary dir another hdd (/ mnt / hd2tb / tmp)
these old file system PvE:
root @ VE1: / boot # mv * -2. * / mnt / hd2tb / tmp
root @ VE1: / boot # mv -4.2 *. * / mnt / hd2tb / tmp

I thus freed space in / root recovering about 300MB

I then run: apt-get install -f
with success !

Thanks for collaboration

regards
 

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!