Help needed with upgrade

awdavis214

New Member
Mar 13, 2020
3
0
1
51
Hello. I am totally new to proxmox. I acquired a server from a co worker who left and I have never touched proxmox prior. When I logged into the server there were update errors so I updated the source list and ran the updates and then it didnt work anymore. The main issue that I appear to be having is that some of the new packages require perl to 5.28.1-6. Is there a proper way to upgrade the perl version?

root@proxmox-01:~# apt-get update
Get:1 http://security.debian.org stretch/updates InRelease [94.3 kB]
Ign:2 http://ftp.us.debian.org/debian stretch InRelease
Get:3 http://ftp.us.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:4 http://security.debian.org stretch/updates/main amd64 Packages [520 kB]
Hit:5 http://ftp.us.debian.org/debian stretch Release
Get:6 http://download.proxmox.com/debian/pve buster InRelease [3,051 B]
Hit:7 http://download.proxmox.com/debian/corosync-3 stretch InRelease
Get:9 http://download.proxmox.com/debian/pve buster/pve-no-subscription amd64 Packages [199 kB]
Fetched 907 kB in 0s (1,182 kB/s)
Reading package lists... Done
root@proxmox-01:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
corosync criu dmeventd dmsetup grub-common grub-efi-amd64-bin grub-efi-ia32-bin grub-pc grub-pc-bin
grub2-common libdevmapper1.02.1 libpve-http-server-perl libpve-u2f-server-perl libzfs2linux
libzpool2linux lvm2 lxc-pve lxcfs pve-qemu-kvm smartmontools spiceterm vncterm zfs-initramfs
zfsutils-linux
The following packages will be upgraded:
libqb0
1 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.
Need to get 0 B/140 kB of archives.
After this operation, 3,072 B of additional disk space will be used.
Do you want to continue? [Y/n] y
/bin/sh: 1: /usr/share/proxmox-ve/pve-apt-hook: not found
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (127)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook



proxmox-ve : Depends: pve-manager but it is not going to be installed
Depends: qemu-server but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@proxmox-01:~# apt-get install pve-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
pve-manager : Depends: libpve-access-control (>= 6.0-6) but it is not going to be installed
Depends: libpve-cluster-api-perl but it is not going to be installed
Depends: libpve-guest-common-perl (>= 3.0-3~) but it is not going to be installed
Depends: libpve-http-server-perl (>= 3.0-4) but 2.0-13 is to be installed
Depends: libpve-storage-perl (>= 6.0-1) but it is not going to be installed
Depends: librados2-perl but it is not going to be installed
Depends: pve-cluster (>= 6.0-4) but it is not going to be installed
Depends: pve-container (>= 2.0-21) but it is not going to be installed
Depends: pve-firewall but it is not going to be installed
Depends: pve-ha-manager but it is not going to be installed
Depends: qemu-server (>= 6.0-15) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@proxmox-01:~# apt-get install pve-cluster
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
pve-cluster : Depends: perl (>= 5.28.1-6) but 5.24.1-3+deb9u6 is to be installed
Depends: perlapi-5.28.1 but it is not installable
E: Unable to correct problems, you have held broken packages.
root@proxmox-01:~#
 
Hello I have managed to re-install proxmox-ve. I still cant access the gui and I received the error below while installing:

Setting up pve-container (2.0-41) ...
Failed to get unit file state for system-pve-container.slice: No such file or directory
system-pve-container.slice is a disabled or a static unit, not starting it.

----------------

proxmox-ve: 5.4-2 (running kernel: 5.3.18-2-pve)
pve-manager: 5.4-13 (running version: 5.4-13/aee6f0ec)
pve-kernel-5.3: 6.1-5
pve-kernel-4.15: 5.4-14
pve-kernel-5.3.18-2-pve: 5.3.18-2
pve-kernel-4.15.18-26-pve: 4.15.18-54
pve-kernel-4.15.18-12-pve: 4.15.18-36
corosync: 3.0.3-pve1~bpo9
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libpve-access-control: 5.1-12
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 5.0-56
libpve-guest-common-perl: 2.0-20
libpve-http-server-perl: 2.0-14
libpve-storage-perl: 5.0-44
libqb0: 1.0.5-1~bpo9+2
lvm2: 2.02.168-pve6
lxc-pve: 3.1.0-7
lxcfs: 3.0.3-pve1
novnc-pve: 1.1.0-1
proxmox-widget-toolkit: 2.1-3
pve-cluster: 5.0-38
pve-container: 2.0-41
pve-docs: 6.1-6
pve-edk2-firmware: 2.20200229-1
pve-firewall: 3.0-22
pve-firmware: 3.0-6
pve-ha-manager: 2.0-9
pve-i18n: 2.0-4
pve-libspice-server1: 0.14.1-2
pve-qemu-kvm: 3.0.1-4
pve-xtermjs: 3.12.0-1
qemu-server: 5.0-55
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3
zfsutils-linux: 0.7.13-pve1~bpo2
root@proxmox-01:~#
 
You can find our ISO files here: https://www.proxmox.com/de/downloads/category/iso-images-pve
Please read the Admin Guide and use one of the iso files, they include a graphical installer and will guide you through the setup process.

If you start from scratch use our new 6.1 ISO, this will save you from upgrading from stretch to buster.
 

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!