Error update PVE

s.kuzakov

New Member
Oct 27, 2021
22
0
1
40
Hello! after trying to update my pve i have next issue:

Setting up pve-manager (7.0-13) ...
machine-id check OK
lvmconfig: unrecognized option '--typeconfig'
Error during parsing of command line.
dpkg: error processing package pve-manager (--configure):
installed pve-manager package post-installation script subprocess returned error exit status 3
Errors were encountered while processing:
pve-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
but i cant to start my VM now

kvm: -drive file=/mnt/fast-200G/images/100/vm-100-disk-0.qcow2,if=none,id=drive-virtio0,format=qcow2,cache=none,aio=io_uring,detect-zeroes=on: Unable to use io_uring: failed to init linux io_uring ring: Function not implemented
Use of uninitialized value $tpmpid in concatenation (.) or string at /usr/share/perl5/PVE/QemuServer.pm line 5465.
stopping swtpm instance (pid ) due to QEMU startup error
TASK ERROR: start failed: QEMU exited with code 1
 
root@node1:~# pveversion -v
proxmox-ve: 5.4-1 (running kernel: 4.15.18-12-pve)
pve-manager: 7.0-13 (running version: 7.0-13/7aa7e488)
pve-kernel-4.15: 5.3-3
pve-kernel-4.15.18-12-pve: 4.15.18-35
ceph-fuse: 10.2.11-2+deb9u1
corosync: 2.4.4-pve1
criu: 3.16-2
glusterfs-client: 3.8.8-1
ifupdown: 0.8.36+pve1
ksm-control-daemon: 1.2-2
libjs-extjs: 7.0.0-1
libknet1: not correctly installed
libproxmox-acme-perl: 1.4.0
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.0-5
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.0-10
libpve-guest-common-perl: 4.0-2
libpve-http-server-perl: 4.0-3
libpve-storage-perl: 7.0-12
libqb0: 1.0.3-1~bpo9
libspice-server1: 0.15.0-2
lvm2: 2.03.11-2.1
lxc-pve: 3.1.0-3
lxcfs: 3.0.3-pve1
novnc-pve: 1.2.0-3
proxmox-backup-client: 2.0.9-2
proxmox-backup-file-restore: 2.0.11-1
proxmox-mini-journalreader: 1.2-1
proxmox-widget-toolkit: 3.3-6
pve-cluster: 7.0-3
pve-container: 4.1-1
pve-docs: 5.4-2
pve-edk2-firmware: 3.20210831-1
pve-firewall: 3.0-19
pve-firmware: 3.3-2
pve-ha-manager: 3.3-1
pve-i18n: 1.1-4
pve-qemu-kvm: 6.0.0-4
pve-xtermjs: 4.12.0-1
qemu-server: 7.0-16
smartmontools: 6.5+svn4324-1
spiceterm: 3.2-2
vncterm: 1.5-3
zfsutils-linux: 0.7.13-pve1~bpo2
 
You have a mix of old packages (from 6.x and 7.x). Seems the upgrade failed somewhere.

Please post the full output of:

>apt update
 
Ok, i'll do it, bit later, i tryed to upgrade proxmox ve, because thought that the reason is old kernel version (without io_uring). And after reboot lost ssh connection. (Network adjustments changing from eth to ens i suppose. It was already)
 
root@node1:~# apt update
Hit:1 http://ftp.debian.org/debian buster InRelease
Get:2 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Hit:3 http://nginx.org/packages/debian bullseye InRelease
Get:4 http://ftp.de.debian.org/debian sid InRelease [165 kB]
Hit:5 http://download.proxmox.com/debian/pve bullseye InRelease
Get:6 http://download.proxmox.com/debian/pbs-client bullseye InRelease [2,910 B]
Err:7 https://enterprise.proxmox.com/debian/pbs bullseye InRelease
401 Unauthorized [IP: 212.224.123.70 443]
Get:8 http://ftp.de.debian.org/debian sid/main amd64 Packages.diff/Index [63.6 kB]
Get:9 http://ftp.de.debian.org/debian sid/main Translation-en.diff/Index [63.6 kB]
Get:10 http://ftp.de.debian.org/debian sid/main amd64 Packages T-2021-10-31-0201.34-F-2021-10-30-0801.32.pdiff [39.2 kB]
Get:10 http://ftp.de.debian.org/debian sid/main amd64 Packages T-2021-10-31-0201.34-F-2021-10-30-0801.32.pdiff [39.2 kB]
Get:11 http://ftp.de.debian.org/debian sid/main Translation-en T-2021-10-31-0201.34-F-2021-10-30-0801.32.pdiff [2,978 B]
Get:11 http://ftp.de.debian.org/debian sid/main Translation-en T-2021-10-31-0201.34-F-2021-10-30-0801.32.pdiff [2,978 B]
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/pbs/dists/bullseye/InRelease 401 Unauthorized [IP: 212.224.123.70 443]
E: The repository 'https://enterprise.proxmox.com/debian/pbs bullseye InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
 
yesterday i rebooted and lost ssh connection, today i figured out that the server dont boot with new kernel. after trying to boot. its lcd screen become in sleep. and now i booted from old kernel.
 
and now i have:
pveversion -v
proxmox-ve: 7.0-2 (running kernel: 4.15.18-12-pve)
pve-manager: 7.0-13 (running version: 7.0-13/7aa7e488)
pve-kernel-helper: 7.1-2
pve-kernel-5.11: 7.0-8
pve-kernel-5.11.22-5-pve: 5.11.22-10
pve-kernel-4.15: 5.3-3
pve-kernel-4.15.18-12-pve: 4.15.18-35
ceph-fuse: 14.2.21-1.1+b1
corosync: 3.1.5-pve1
criu: 3.16-2
glusterfs-client: 9.4-2
ifupdown: 0.8.36+pve1
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve1
libproxmox-acme-perl: 1.4.0
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.0-5
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.0-10
libpve-guest-common-perl: 4.0-2
libpve-http-server-perl: 4.0-3
libpve-storage-perl: 7.0-12
libqb0: 1.0.5-1
libspice-server1: 0.15.0-2
lvm2: 2.03.11-2.1
lxc-pve: 4.0.9-4
lxcfs: 4.0.8-pve2
novnc-pve: 1.2.0-3
proxmox-backup-client: 2.0.11-1
proxmox-backup-file-restore: 2.0.11-1
proxmox-mini-journalreader: 1.2-1
proxmox-widget-toolkit: 3.3-6
pve-cluster: 7.0-3
pve-container: 4.1-1
pve-docs: 7.0-5
pve-edk2-firmware: 3.20210831-1
pve-firewall: 4.2-4
pve-firmware: 3.3-2
pve-ha-manager: 3.3-1
pve-i18n: 2.5-1
pve-qemu-kvm: 6.0.0-4
pve-xtermjs: 4.12.0-1
qemu-server: 7.0-16
smartmontools: 7.2-1
spiceterm: 3.2-2
vncterm: 1.7-1
zfsutils-linux: 2.0.5-pve1
 
After one more time - upt dist-upgrade and apt upgrade proxmox-ve i can to boot with kernel 5.11
and now

pveversion -v
proxmox-ve: 7.0-2 (running kernel: 5.11.22-5-pve)
pve-manager: 7.0-13 (running version: 7.0-13/7aa7e488)
pve-kernel-helper: 7.1-2
pve-kernel-5.11: 7.0-8
pve-kernel-5.11.22-5-pve: 5.11.22-10
pve-kernel-4.15: 5.3-3
pve-kernel-4.15.18-12-pve: 4.15.18-35
ceph-fuse: 14.2.21-1.1+b1
corosync: 3.1.5-pve1
criu: 3.16-2
glusterfs-client: 9.4-2
ifupdown: 0.8.36+pve1
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve1
libproxmox-acme-perl: 1.4.0
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.0-5
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.0-10
libpve-guest-common-perl: 4.0-2
libpve-http-server-perl: 4.0-3
libpve-storage-perl: 7.0-12
libqb0: 1.0.5-1
libspice-server1: 0.15.0-2
lvm2: 2.03.11-2.1
lxc-pve: 4.0.9-4
lxcfs: 4.0.8-pve2
novnc-pve: 1.2.0-3
proxmox-backup-client: 2.0.11-1
proxmox-backup-file-restore: 2.0.11-1
proxmox-mini-journalreader: 1.2-1
proxmox-widget-toolkit: 3.3-6
pve-cluster: 7.0-3
pve-container: 4.1-1
pve-docs: 7.0-5
pve-edk2-firmware: 3.20210831-1
pve-firewall: 4.2-4
pve-firmware: 3.3-2
pve-ha-manager: 3.3-1
pve-i18n: 2.5-1
pve-qemu-kvm: 6.0.0-4
pve-xtermjs: 4.12.0-1
qemu-server: 7.0-16
smartmontools: 7.2-1
spiceterm: 3.2-2
vncterm: 1.7-1
zfsutils-linux: 2.0.5-pve1

But i still cant to run VM. The same issue
TASK ERROR: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /run/dbus/system_bus_socket: Connection refused
 
root@node1:~# apt update
Hit:1 http://ftp.debian.org/debian buster InRelease
Get:2 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Hit:3 http://nginx.org/packages/debian bullseye InRelease
Get:4 http://ftp.de.debian.org/debian sid InRelease [165 kB]
Hit:5 http://download.proxmox.com/debian/pve bullseye InRelease
Get:6 http://download.proxmox.com/debian/pbs-client bullseye InRelease [2,910 B]
Err:7 https://enterprise.proxmox.com/debian/pbs bullseye InRelease
401 Unauthorized [IP: 212.224.123.70 443]
Get:8 http://ftp.de.debian.org/debian sid/main amd64 Packages.diff/Index [63.6 kB]
Get:9 http://ftp.de.debian.org/debian sid/main Translation-en.diff/Index [63.6 kB]
Get:10 http://ftp.de.debian.org/debian sid/main amd64 Packages T-2021-10-31-0201.34-F-2021-10-30-0801.32.pdiff [39.2 kB]
Get:10 http://ftp.de.debian.org/debian sid/main amd64 Packages T-2021-10-31-0201.34-F-2021-10-30-0801.32.pdiff [39.2 kB]
Get:11 http://ftp.de.debian.org/debian sid/main Translation-en T-2021-10-31-0201.34-F-2021-10-30-0801.32.pdiff [2,978 B]
Get:11 http://ftp.de.debian.org/debian sid/main Translation-en T-2021-10-31-0201.34-F-2021-10-30-0801.32.pdiff [2,978 B]
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/pbs/dists/bullseye/InRelease 401 Unauthorized [IP: 212.224.123.70 443]
E: The repository 'https://enterprise.proxmox.com/debian/pbs bullseye InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
You have a mix of buster (Debian 6), bullseye (Debian 7) and Debian unstable/sid - this cannot work.

Please fix all your sources.list files (=> to Debian bullseye)

See https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysadmin_package_repositories
 

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!