error updating proxmox to 5

fjimenez

New Member
Nov 8, 2016
5
0
1
37
Hello.

i tried to update proxmox to version 5.
During the update i got some errors, and now the proxmox not working. I can access via web and via ssh but i can't start any ct or vm.
My pveversion -v:

proxmox-ve: not correctly installed (running kernel: 4.2.2-1-pve)
pve-manager: not correctly installed (running version: 5.0-10/0d270679)
pve-kernel-4.2.2-1-pve: 4.2.2-16
libpve-http-server-perl: not correctly installed
lvm2: not correctly installed
corosync: not correctly installed
libqb0: not correctly installed
pve-cluster: not correctly installed
qemu-server: not correctly installed
pve-firmware: not correctly installed
libpve-common-perl: not correctly installed
libpve-guest-common-perl: not correctly installed
libpve-access-control: not correctly installed
libpve-storage-perl: not correctly installed
pve-libspice-server1: not correctly installed
vncterm: not correctly installed
pve-docs: not correctly installed
pve-qemu-kvm: not correctly installed
pve-container: not correctly installed
pve-firewall: not correctly installed
pve-ha-manager: not correctly installed
ksm-control-daemon: not correctly installed
glusterfs-client: not correctly installed
lxc-pve: not correctly installed
lxcfs: not correctly installed
criu: not correctly installed
novnc-pve: not correctly installed
smartmontools: not correctly installed


if i try to run apt-get update or apt-get dist upgrade i get the following error.

root@newpxmx:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
zfs-initramfs : Depends: zfsutils-linux but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

if i try to run apt --fix broken install i get the following erros:
rrors were encountered while processing:
/tmp/apt-dpkg-install-V5HS8G/0-libuutil1linux_0.6.5.9-pve16~bpo90_amd64.deb
/tmp/apt-dpkg-install-V5HS8G/1-libnvpair1linux_0.6.5.9-pve16~bpo90_amd64.deb
/tmp/apt-dpkg-install-V5HS8G/2-libzpool2linux_0.6.5.9-pve16~bpo90_amd64.deb
/tmp/apt-dpkg-install-V5HS8G/3-libzfs2linux_0.6.5.9-pve16~bpo90_amd64.deb
/tmp/apt-dpkg-install-V5HS8G/4-zfsutils-linux_0.6.5.9-pve16~bpo90_amd64.deb
/tmp/apt-dpkg-install-V5HS8G/5-zfs-zed_0.6.5.9-pve16~bpo90_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

What can i do to restore the PX?


thanks
 
yes i did. and the fails starts when i execute
pveceph install

thanks

I doubt, because you still run the old kernel.
Before you install ceph, pls follow the upgrade howto in detail and make sure you run 5.0 before you continue with ceph.
 
Hello.

when i try to update the kernel following the article, i get the error:

root@newpxmx:/etc/apt# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
zfs-initramfs : Depends: zfsutils-linux but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
 
pls post the output of:

> apt-get update
 
root@newpxmx:/etc/apt# apt-get update
Get:1 http://download.proxmox.com/debian stretch InRelease [2,030 B]
Hit:2 http://download.proxmox.com/debian/ceph-luminous stretch InRelease
Ign:3 http://ftp.debian.org/debian stretch InRelease
Get:4 http://security.debian.org stretch/updates InRelease [62.9 kB]
Hit:5 http://download.proxmox.com/debian/pve stretch InRelease
Get:6 http://ftp.debian.org/debian stretch Release [113 kB]
Get:7 http://ftp.debian.org/debian stretch Release.gpg [3,108 B]
Get:8 http://security.debian.org stretch/updates/main amd64 Packages [52.7 kB]
Get:9 http://ftp.debian.org/debian stretch/main amd64 Packages [7,094 kB]
Get:10 http://security.debian.org stretch/updates/main Translation-en [23.3 kB]
Get:11 http://ftp.debian.org/debian stretch/main Translation-en [5,392 kB]
Get:12 http://ftp.debian.org/debian stretch/contrib amd64 Packages [50.9 kB]
Get:13 http://ftp.debian.org/debian stretch/contrib Translation-en [45.9 kB]
Fetched 12.8 MB in 8s (1,574 kB/s)
Reading package lists... Done
 
Looks ok. If you can´t figure it out to install all needed package via apt, consider a clean re-install.

If this is not an option, consider getting help from an apt expert, e.g. from our enterprise support team (=> get a suitable subscription)