Can't re-install pve-manager

pcmofo

Well-Known Member
Feb 12, 2016
35
0
46
41
I have an install of Proxmox that is always flakey when I try to log in, I have to enter my user/pass several times until it finally accepts it. I searched for how to fix this and ended up with this thread. https://forum.proxmox.com/threads/login-failed.24215/

I followed the suggestion to uninstall and reinstall pve-manager but the reinstall did not work.
I've done apt-get update, upgrade, dist-upgrade and tried changing my repo locations.
When I try to install I get dependancy errors or suggestions to fix broken install.

I have no idea what to try next.

pveversion -v
proxmox-ve: not correctly installed (running kernel: 4.4.6-1-pve)
pve-manager: not correctly installed (running version: 5.0-32/2560e073)
pve-kernel-4.2.6-1-pve: 4.2.6-36
pve-kernel-4.4.6-1-pve: 4.4.6-48
pve-kernel-4.2.8-1-pve: 4.2.8-41
libpve-http-server-perl: 2.0-6
lvm2: not correctly installed
corosync: 2.4.2-pve3
libqb0: not correctly installed
pve-cluster: 5.0-12
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: 5.0-9
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
 
Looks like it is trying to download from Jessie not Stretch

Get:1 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libuutil1linux amd64 0.6.5.11-pve17~bpo90 [48.6 kB]
Get:2 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libnvpair1linux amd64 0.6.5.11-pve17~bpo90 [45.4 kB]
Get:3 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libzpool2linux amd64 0.6.5.11-pve17~bpo90 [399 kB]
Get:4 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 libzfs2linux amd64 0.6.5.11-pve17~bpo90 [127 kB]
Get:5 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 zfsutils-linux amd64 0.6.5.11-pve17~bpo90 [335 kB]
Get:6 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 zfs-zed amd64 0.6.5.11-pve17~bpo90 [44.4 kB]
Fetched 1,000 kB in 0s (1,965 kB/s)
(Reading database ... 65089 files and directories currently installed.)
Preparing to unpack .../0-libuutil1linux_0.6.5.11-pve17~bpo90_amd64.deb ...
Unpacking libuutil1linux (0.6.5.11-pve17~bpo90) ...
dpkg: error processing archive /tmp/apt-dpkg-install-pNM2wx/0-libuutil1linux_0.6.5.11-pve17~bpo90_amd64.deb (--unpack):
trying to overwrite '/lib/libuutil.so.1.0.1', which is also in package libuutil1 0.6.5-pve9~jessie
Preparing to unpack .../1-libnvpair1linux_0.6.5.11-pve17~bpo90_amd64.deb ...
Unpacking libnvpair1linux (0.6.5.11-pve17~bpo90) ...
 
it seems you have not properly upgraded your 4.4 install to 5.0?

can you post the content of all of
/etc/apt/sources.list
/etc/apt/sources.list.d/*

?
 
Thanks for the reply, this seems likely the case.

/etc/apt/sources.list
#deb cdrom:[Proxmox 4.2]/ jessie pve
#deb cdrom:[Proxmox 4.2]/proxmox/packages/ /
deb http://ftp.us.debian.org/debian stretch main contrib

# security updates
#deb http://security.debian.org stretch/updates main contrib
deb http://download.proxmox.com/debian/pve stretch pve-no-subscription

cat /etc/apt/sources.list.d/*
#deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise
deb https://enterprise.proxmox.com/debian jessie pve-enterprise
#deb http://download.proxmox.com/debian jessie pvetest
deb http://download.proxmox.com/debian/pve stretch pve-no-subscription
 
delete/comment those lines and try an

Code:
apt-get update
apt-get dist-upgrade

When I made the changes you suggested I initially got the following error
#apt-get update
Fetched 13.0 MB in 3s (3,716 kB/s)
Reading package lists... Done
W: Target Packages (pve-no-subscription/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/pve-install-repo.list:1

So I commented out the pve in sources.list but left it in the pve-instal-repo.list and then got this error

#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).
 
I have no idea what is going on but now I can connect to the webUI where as before it was not running.

# pveversion -v
proxmox-ve: not correctly installed (running kernel: 4.4.6-1-pve)
pve-manager: 5.0-32 (running version: 5.0-32/2560e073)
pve-kernel-4.2.6-1-pve: 4.2.6-36
pve-kernel-4.4.6-1-pve: 4.4.6-48
pve-kernel-4.2.8-1-pve: 4.2.8-41
libpve-http-server-perl: 2.0-6
lvm2: 2.02.168-pve3
corosync: 2.4.2-pve3
libqb0: 1.0.1-1
pve-cluster: 5.0-12
qemu-server: 5.0-15
pve-firmware: 2.0-2
libpve-common-perl: 5.0-18
libpve-guest-common-perl: 2.0-11
libpve-access-control: 5.0-6
libpve-storage-perl: 5.0-15
pve-libspice-server1: 0.12.8-3
vncterm: 1.5-2
pve-docs: 5.0-9
pve-qemu-kvm: 2.9.1-1
pve-container: 2.0-16
pve-firewall: 3.0-3
pve-ha-manager: 2.0-2
ksm-control-daemon: 1.2-2
glusterfs-client: 3.8.8-1
lxc-pve: 2.1.0-2
lxcfs: 2.0.7-pve4
criu: 2.11.1-1~bpo90
novnc-pve: 0.6-4
smartmontools: 6.5+svn4324-1