Good morning
Sorry for my bad English
I am trying to update Proxmox but I am getting this error
Can you help me?
I tried to do a forum search but couldn't find a valid solution to my problem.
Info
pveversion
systemctl status pvedaemon.service
apt update
apt dist-upgrade
cat /etc/apt/sources.list
cat /etc/apt/sources.list.d/*
apt --fix-broken install
uname -r
dpkg --list|grep pve-kernel
dpkg -P pve-kernel-
apt clean && apt update && apt dist-upgrade
Sorry for my bad English
I am trying to update Proxmox but I am getting this error
Can you help me?
I tried to do a forum search but couldn't find a valid solution to my problem.
Code:
root@sd-897xx:~# pve5to6
= CHECKING VERSION INFORMATION FOR PVE PACKAGES =
Checking for package updates..
PASS: all packages uptodate
Checking proxmox-ve package version..
PASS: already upgraded to Proxmox VE 6
Checking running kernel version..
PASS: expected running kernel '5.4.78-2-pve'.
= CHECKING CLUSTER HEALTH/SETTINGS =
SKIP: standalone node.
= CHECKING HYPER-CONVERGED CEPH STATUS =
SKIP: no hyper-converged ceph setup detected!
= CHECKING CONFIGURED STORAGES =
PASS: storage 'local' enabled and active.
= MISCELLANEOUS CHECKS =
INFO: Checking common daemon services..
PASS: systemd unit 'pveproxy.service' is in state 'active'
PASS: systemd unit 'pvedaemon.service' is in state 'active'
PASS: systemd unit 'pvestatd.service' is in state 'active'
INFO: Checking for running guests..
WARN: 1 running guest(s) detected - consider migrating or stopping them.
INFO: Checking if the local node's hostname 'sd-897xx' is resolvable..
INFO: Checking if resolved IP is configured on local node..
PASS: Resolved node IP '163.172.xx.yy' configured and active on single interface.
INFO: Check node certificate's RSA key size
PASS: Certificate 'pve-root-ca.pem' passed Debian Busters security level for TLS connections (4096 >= 2048)
PASS: Certificate 'pve-ssl.pem' passed Debian Busters security level for TLS connections (2048 >= 2048)
INFO: Checking KVM nesting support, which breaks live migration for VMs using it..
PASS: KVM nested parameter not set.
= SUMMARY =
TOTAL: 14
PASSED: 11
SKIPPED: 2
WARNINGS: 1
FAILURES: 0
ATTENTION: Please check the output for detailed information!
Info
Code:
root@sd-897xx:~# pveversion -v
proxmox-ve: 6.3-1 (running kernel: 5.4.78-2-pve)
pve-manager: 6.3-4 (running version: 6.3-4/0a38c56f)
pve-kernel-5.4.98-1-pve: 5.4.98-1
pve-kernel-5.4.78-2-pve: 5.4.78-2
pve-kernel-5.4.44-2-pve: 5.4.44-2
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.1.0-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: residual config
ifupdown2: 3.0.0-1+pve3
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.20-pve1
libproxmox-acme-perl: 1.0.7
libproxmox-backup-qemu0: 1.0.3-1
libpve-access-control: 6.1-3
libpve-apiclient-perl: 3.1-3
libpve-common-perl: 6.3-4
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.1-1
libpve-storage-perl: 6.3-7
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.6-2
lxcfs: 4.0.6-pve1
novnc-pve: 1.1.0-1
proxmox-backup-client: 1.0.8-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.4-5
pve-cluster: 6.2-1
pve-container: 3.3-4
pve-docs: 6.3-1
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-3
pve-firmware: 3.2-2
pve-ha-manager: 3.1-1
pve-i18n: 2.2-2
pve-qemu-kvm: 5.2.0-2
pve-xtermjs: 4.7.0-3
qemu-server: 6.3-5
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: not correctly installed
pveversion
Code:
root@sd-89701:~# pveversion
pve-manager/6.3-4/0a38c56f (running kernel: 5.4.78-2-pve)
systemctl status pvedaemon.service
Code:
root@sd-897xx:~# systemctl status pvedaemon.service
● pvedaemon.service - PVE API Daemon
Loaded: loaded (/lib/systemd/system/pvedaemon.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2021-02-22 16:24:22 CET; 1 weeks 3 days ago
Main PID: 17103 (pvedaemon)
Tasks: 6 (limit: 4915)
Memory: 160.6M
CGroup: /system.slice/pvedaemon.service
├─ 1575 pvedaemon worker
├─ 3262 task UPID:sd-89701:00000CBE:05E38011:6041F8AF:vncshell::root@pam:
├─ 3263 /usr/bin/termproxy 5900 --path /nodes/sd-897xx --perm Sys.Console -- /bin/login -f root
├─17103 pvedaemon
├─27992 pvedaemon worker
└─30317 pvedaemon worker
apt update
Code:
root@sd-897xx:~# apt update
Ign:1 http://mirrors.online.net/debian stretch InRelease
Hit:2 http://mirrors.online.net/debian stretch Release
Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
Hit:4 http://download.proxmox.com/debian stretch InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
apt dist-upgrade
Code:
root@sd-897xx:~# apt 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:
pve-kernel-5.4 : Depends: pve-kernel-5.4.101-1-pve but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
cat /etc/apt/sources.list
Code:
root@sd-89701:~# cat /etc/apt/sources.list
# deb http://mirrors.online.net/debian stretch main
deb http://mirrors.online.net/debian stretch main non-free contrib
deb-src http://mirrors.online.net/debian stretch main non-free contrib
deb http://security.debian.org/debian-security stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free
#deb http://ftp.debian.org/debian wheezy-backports main contrib non-free
cat /etc/apt/sources.list.d/*
Code:
root@sd-897xx:~# cat /etc/apt/sources.list.d/*
#deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise
deb http://download.proxmox.com/debian stretch pve-no-subscription
apt --fix-broken install
Code:
root@sd-897xx:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
attr ceph-common ceph-fuse cifs-utils corosync criu cstream dconf-gsettings-backend dconf-service dtach ebtables faketime
fontconfig fontconfig-config fonts-dejavu-core fonts-font-awesome fonts-glyphicons-halflings genisoimage glib-networking
glib-networking-common glib-networking-services glusterfs-client glusterfs-common gsettings-desktop-schemas gstreamer1.0-libav
gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x i965-va-driver ibverbs-providers idn intel-media-va-driver
ipset libaa1 libaacs0 libacl1-dev libanyevent-http-perl libanyevent-perl libaom0 libappconfig-perl libapt-pkg-perl
libarchive13 libasound2 libasound2-data libass9 libasync-interrupt-perl libasyncns0 libattr1-dev libauthen-pam-perl
libavahi-client3 libavahi-common-data libavahi-common3 libavc1394-0 libavcodec58 libavfilter7 libavformat58 libavutil56
libbabeltrace1 libbdplus0 libbluray2 libboost-atomic1.67.0 libboost-iostreams1.67.0 libboost-program-options1.67.0
libboost-regex1.67.0 libboost-system1.67.0 libboost-thread1.67.0 libbs2b0 libcaca0 libcairo-gobject2 libcairo2 libcdparanoia0
libcephfs2 libcfg7 libchromaprint1 libclone-perl libcmap4 libcodec2-0.8.1 libcorosync-common4 libcpg4 libcroco3
libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrystalhd3 libcups2 libdatrie1 libdbi1
libdconf1 libdevel-cycle-perl libdigest-bubblebabble-perl libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2
libdrm-radeon1 libdrm2 libdv4 libdw1 libev-perl libfaketime libfftw3-double3 libfile-chdir-perl libfile-readbackwards-perl
libfilesys-df-perl libflac8 libflite1 libfontconfig1 libfuse3-3 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-bin
libgdk-pixbuf2.0-common libgfapi0 libgfchangelog0 libgfdb0 libgfrpc0 libgfxdr0 libgl1 libgl1-mesa-dri libglapi-mesa
libglusterfs-dev libglusterfs0 libglvnd0 libglx-mesa0 libglx0 libgme0 libgnutlsxx28 libgoogle-perftools4 libgpgme11
libgraphite2-3 libgsm1 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libguard-perl libgudev-1.0-0 libharfbuzz0b libibverbs1
libiec61883-0 libigdgmm5 libio-multiplex-perl libio-stringy-perl libipset11 libiscsi7 libjack-jackd2-0 libjbig0 libjemalloc2
libjpeg62-turbo libjs-bootstrap libjs-extjs libjs-sphinxdoc libjs-underscore libknet1 libldb1 liblilv-0-0
liblinux-inotify2-perl libllvm7 liblzo2-2 libmime-base32-perl libmp3lame0 libmpg123-0 libmysofa0 libnet-dbus-perl
libnet-dns-perl libnet-dns-sec-perl libnet-ip-perl libnetfilter-log1 libnl-3-200 libnl-route-3-200 libnorm1 libnspr4 libnss3
libnuma1 libnvpair3linux libogg0 libopenjp2-7 libopenmpt0 libopus0 liborc-0.4-0 libpango-1.0-0 libpangocairo-1.0-0
libpangoft2-1.0-0 libpciaccess0 libpgm-5.2-0 libpixman-1-0 libpostproc55 libprotobuf17 libproxmox-acme-perl
libproxmox-backup-qemu0 libproxy1v5 libpulse0 libpve-access-control libpve-apiclient-perl libpve-cluster-api-perl
libpve-cluster-perl libpve-common-perl libpve-guest-common-perl libpve-http-server-perl libpve-storage-perl
libpve-u2f-server-perl libpython2.7 libpython3.7 libqb0 libqrencode4 libquorum5 librados2 librados2-perl libradosstriper1
libraw1394-11 librbd1 librdmacm1 librrd8 librrds-perl librsvg2-2 librsvg2-common librubberband2 libsamplerate0 libsdl1.2debian
libsensors-config libsensors5 libserd-0-0 libshine3 libshout3 libsmbclient libsnappy1v5 libsndfile1 libsodium23 libsord-0-0
libsoup2.4-1 libsoxr0 libspeex1 libspice-server1 libsratom-0-0 libssh-gcrypt-4 libstatgrab10 libstring-shellquote-perl
libswresample3 libswscale5 libtag1v5 libtag1v5-vanilla libtalloc2 libtcmalloc-minimal4 libtdb1 libtemplate-perl libtevent0
libthai-data libthai0 libtheora0 libtie-ixhash-perl libtiff5 libtwolame0 libu2f-server0 libunwind8 liburcu6 libusbredirparser1
libuuid-perl libuutil3linux libv4l-0 libv4lconvert0 libva-drm2 libva-x11-2 libva2 libvdpau-va-gl1 libvdpau1 libvidstab1.1
libvisual-0.4-0 libvorbis0a libvorbisenc2 libvorbisfile3 libvotequorum8 libvpx5 libwavpack1 libwbclient0 libwebp6 libwebpmux3
libx11-xcb1 libx264-155 libx265-165 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-render0 libxcb-shm0
libxcb-sync1 libxcb-xfixes0 libxdamage1 libxfixes3 libxi6 libxml-libxml-perl libxml-twig-perl libxml-xpathengine-perl
libxrender1 libxshmfence1 libxslt1.1 libxtst6 libxv1 libxvidcore4 libxxf86vm1 libyaml-libyaml-perl libzfs4linux libzmq5
libzpool4linux libzvbi-common libzvbi0 lxc-pve lxcfs lzop mesa-va-drivers mesa-vdpau-drivers novnc-pve numactl
proxmox-archive-keyring proxmox-backup-client proxmox-mini-journalreader proxmox-widget-toolkit pve-cluster pve-container
pve-docs pve-edk2-firmware pve-firewall pve-ha-manager pve-i18n pve-kernel-5.4.44-2-pve pve-lxc-syscalld pve-manager
pve-qemu-kvm pve-xtermjs python-cephfs python-configparser python-crypto python-future python-gpg python-ipaddr python-ldb
python-prettytable python-protobuf python-rados python-rbd python-samba python-talloc python-tdb python3-jwt
python3-prettytable qemu-server qrencode rrdcached rsync samba-common samba-common-bin samba-dsdb-modules samba-libs
smartmontools smbclient socat spiceterm uidmap va-driver-all vdpau-driver-all vncterm xfsprogs xsltproc zfs-zed zfsutils-linux
zstd
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
proxmox-ve pve-kernel-5.4
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
8 not fully installed or removed.
After this operation, 34.8 kB disk space will be freed.
Do you want to continue? [Y/n] y
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook)
W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook) touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package
W: (pve-apt-hook) and repeat your apt invocation.
W: (pve-apt-hook)
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook) - your APT repository settings
W: (pve-apt-hook) - that you are using 'apt full-upgrade' to upgrade your system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook
uname -r
Code:
root@sd-897xx:~# uname -r
5.4.78-2-pve
dpkg --list|grep pve-kernel
Code:
root@sd-897xx:~# dpkg --list|grep pve-kernel
ii pve-firmware 3.2-2 all Binary firmware code for the pve-kernel
iU pve-kernel-5.4 6.3-6 all Latest Proxmox VE Kernel Image
rc pve-kernel-5.4.41-1-pve 5.4.41-1 amd64 The Proxmox PVE Kernel Image
rc pve-kernel-5.4.44-1-pve 5.4.44-1 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-5.4.44-2-pve 5.4.44-2 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-5.4.78-2-pve 5.4.78-2 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-5.4.98-1-pve 5.4.98-1 amd64 The Proxmox PVE Kernel Image
iU pve-kernel-helper 6.3-6 all Function for various kernel maintenance tasks.
dpkg -P pve-kernel-
Code:
root@sd-897xx:~# dpkg -P pve-kernel-
pve-kernel-5.4 pve-kernel-5.4.44-1-pve pve-kernel-5.4.78-2-pve pve-kernel-helper
pve-kernel-5.4.41-1-pve pve-kernel-5.4.44-2-pve pve-kernel-5.4.98-1-pve
apt clean && apt update && apt dist-upgrade
Code:
root@sd-897xx:~# apt clean && apt update && apt dist-upgrade
Ign:1 http://mirrors.online.net/debian stretch InRelease
Hit:2 http://mirrors.online.net/debian stretch Release
Hit:4 http://download.proxmox.com/debian stretch InRelease
Hit:5 http://security.debian.org/debian-security stretch/updates InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
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:
pve-kernel-5.4 : Depends: pve-kernel-5.4.101-1-pve but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).