Hello, I ve tried to upgrade my proxmox system and encounted an error
I tried
And result is
Try
Result
After that
And I ve got some errors
Please help me to solve my issue
Thank you in advance
I tried
Code:
apt update
And result is
Code:
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://ftp.debian.org/debian buster InRelease
Hit:3 http://ftp.debian.org/debian buster-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve buster InRelease
Hit:5 http://download.proxmox.com/debian/ceph-nautilus buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
10 packages can be upgraded. Run 'apt list --upgradable' to see them.
Try
Code:
apt list --upgradable
Result
Code:
Listing... Done
libproxmox-acme-perl/stable 1.1.0 all [upgradable from: 1.0.8]
libpve-common-perl/stable 6.4-3 all [upgradable from: 6.4-2]
libpve-http-server-perl/stable 3.2-2 all [upgradable from: 3.2-1]
proxmox-backup-client/stable 1.1.6-2 amd64 [upgradable from: 1.1.5-1]
proxmox-backup-file-restore/stable 1.1.6-2 amd64 [upgradable from: 1.1.5-3]
proxmox-widget-toolkit/stable 2.5-4 all [upgradable from: 2.5-3]
pve-docs/stable 6.4-2 all [upgradable from: 6.4-1]
pve-firmware/stable 3.2-3 all [upgradable from: 3.2-2]
pve-kernel-5.4/stable 6.4-2 all [upgradable from: 6.4-1]
pve-manager/stable 6.4-6 amd64 [upgradable from: 6.4-5]
After that
Code:
apt upgrade
And I ve got some errors
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
pve-kernel-4.15.18-12-pve pve-kernel-4.15.18-28-pve
The following NEW packages will be installed:
grub-common grub-pc grub-pc-bin grub2-common idn libproxmox-acme-plugins pve-kernel-5.4.114-1-pve
The following packages will be upgraded:
libproxmox-acme-perl libpve-common-perl libpve-http-server-perl proxmox-backup-client
proxmox-backup-file-restore proxmox-widget-toolkit pve-docs pve-firmware pve-kernel-5.4 pve-manager
10 upgraded, 7 newly installed, 2 to remove and 0 not upgraded.
10 not fully installed or removed.
Need to get 0 B/394 MB of archives.
After this operation, 190 MB disk space will be freed.
Do you want to continue? [Y/n] y
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 75106 files and directories currently installed.)
Removing pve-kernel-4.15.18-12-pve (4.15.18-36) ...
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.15.18-12-pve /boot/vmlinuz-4.15.18-12-pve
update-initramfs: Deleting /boot/initrd.img-4.15.18-12-pve
run-parts: executing /etc/kernel/postrm.d/pve-auto-removal 4.15.18-12-pve /boot/vmlinuz-4.15.18-12-pve
/etc/kernel/postrm.d/pve-auto-removal: 4: .: Can't open /usr/share/pve-kernel-helper/scripts/functions
run-parts: /etc/kernel/postrm.d/pve-auto-removal exited with return code 127
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/pve-kernel-4.15.18-12-pve.postrm line 14.
dpkg: error processing package pve-kernel-4.15.18-12-pve (--remove):
installed pve-kernel-4.15.18-12-pve package post-removal script subprocess returned error exit status 1
Removing pve-kernel-4.15.18-28-pve (4.15.18-56) ...
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.15.18-28-pve /boot/vmlinuz-4.15.18-28-pve
update-initramfs: Deleting /boot/initrd.img-4.15.18-28-pve
run-parts: executing /etc/kernel/postrm.d/pve-auto-removal 4.15.18-28-pve /boot/vmlinuz-4.15.18-28-pve
/etc/kernel/postrm.d/pve-auto-removal: 4: .: Can't open /usr/share/pve-kernel-helper/scripts/functions
run-parts: /etc/kernel/postrm.d/pve-auto-removal exited with return code 127
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/pve-kernel-4.15.18-28-pve.postrm line 14.
dpkg: error processing package pve-kernel-4.15.18-28-pve (--remove):
installed pve-kernel-4.15.18-28-pve package post-removal script subprocess returned error exit status 1
Errors were encountered while processing:
pve-kernel-4.15.18-12-pve
pve-kernel-4.15.18-28-pve
E: Sub-process /usr/bin/dpkg returned an error code (1)
Please help me to solve my issue
Thank you in advance