Upgrade 6.4-13 Fehler PVE deinstall

simpsonetti

Well-Known Member
Sep 29, 2018
123
3
58
49
Hi, ich möchte mal wieder nach einiger Zeit update instalieren und nun erhalte ich das hier:
Code:
Starting system upgrade: apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
bridge-utils ceph-common ceph-fuse cifs-utils corosync criu cstream dtach ebtables faketime fontconfig fontconfig-config fonts-dejavu-core fonts-font-awesome fonts-glyphicons-halflings
genisoimage glusterfs-client glusterfs-common hdparm idn ifenslave ipset iso-codes libacl1-dev libanyevent-http-perl libanyevent-perl libappconfig-perl libapt-pkg-perl libarchive13 libasound2
libasound2-data libasyncns0 libattr1-dev libauthen-pam-perl libavahi-client3 libavahi-common-data libavahi-common3 libbabeltrace1 libboost-atomic1.67.0 libboost-program-options1.67.0
libboost-regex1.67.0 libboost-thread1.67.0 libc-dev-bin libc6-dev libcaca0 libcairo2 libcephfs2 libcfg7 libclone-perl libcmap4 libcorosync-common4 libcpg4 libcrypt-openssl-bignum-perl
libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcups2 libcurl3-gnutls libdatrie1 libdbi1 libdevel-cycle-perl libdw1 libfaketime libfile-chdir-perl libfile-readbackwards-perl
libfilesys-df-perl libflac8 libfontconfig1 libfuse3-3 libgfapi0 libgfchangelog0 libgfdb0 libgfrpc0 libgfxdr0 libglusterfs-dev libglusterfs0 libgnutlsxx28 libgoogle-perftools4 libgraphite2-3
libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libharfbuzz0b libibverbs1 libice6 libio-multiplex-perl libio-stringy-perl libipset11 libiscsi7 libjansson4 libjemalloc2 libjpeg62-turbo
libjs-bootstrap libjs-extjs libjs-jquery libjs-sphinxdoc libjs-underscore libknet1 libldb1 liblinux-inotify2-perl libmime-base32-perl libnet-dbus-perl libnet-dns-perl libnet-ip-perl libnet1
libnetfilter-log1 libnl-3-200 libnl-route-3-200 libnspr4 libnss3 libogg0 libopus0 liborc-0.4-0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpixman-1-0 libprotobuf17
libproxmox-acme-perl libproxmox-acme-plugins libproxmox-backup-qemu0 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
librbd1 librdmacm1 librrd8 librrds-perl libsdl1.2debian libsm6 libsmbclient libsnappy1v5 libsndfile1 libspice-server1 libstatgrab10 libstring-shellquote-perl libtalloc2 libtcmalloc-minimal4
libtdb1 libtemplate-perl libtevent0 libthai-data libthai0 libu2f-server0 libunwind8 liburcu6 libusbredirparser1 libuuid-perl libvorbis0a libvorbisenc2 libvotequorum8 libwbclient0 libx11-6
libx11-data libx11-xcb1 libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxi6 libxml-libxml-perl libxml-twig-perl libxrender1 libxslt1.1 libxtst6 libyaml-0-2
libyaml-libyaml-perl linux-image-4.19.0-14-amd64 linux-libc-dev lxc-pve lxcfs lzop novnc-pve numactl proxmox-archive-keyring proxmox-backup-client proxmox-backup-file-restore
proxmox-backup-restore-image 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.101-1-pve pve-kernel-helper pve-lxc-syscalld pve-manager pve-qemu-kvm pve-xtermjs python-cephfs python-certifi python-chardet python-configparser python-future python-idna
python-ipaddr python-pkg-resources python-prettytable python-protobuf python-rados python-rbd python-requests python-six python-talloc python-urllib3 python3-certifi python3-chardet
python3-idna python3-jwt python3-pkg-resources python3-prettytable python3-requests python3-six python3-urllib3 qemu-server qrencode rrdcached samba-common samba-libs smartmontools smbclient
socat spiceterm sqlite3 uidmap vncterm x11-common xsltproc zstd
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
proxmox-ve pve-firmware pve-kernel-5.4
The following NEW packages will be installed:
firmware-linux-free linux-image-4.19.0-18-amd64
The following packages will be upgraded:
base-files bind9-host debconf debconf-i18n krb5-locales libbind9-161 libdns-export1104 libdns1104 libgssapi-krb5-2 libisc-export1100 libisc1100 libisccc161 libisccfg163 libk5crypto3 libknet1
libkrb5-3 libkrb5support0 liblwres161 libpam-systemd libpve-common-perl libsndfile1 libssl1.1 libsystemd0 libudev1 linux-image-4.19.0-17-amd64 linux-image-amd64 linux-libc-dev openssl
proxmox-backup-client proxmox-backup-file-restore psmisc pve-kernel-5.4.124-1-pve pve-kernel-helper systemd systemd-sysv tzdata udev
37 upgraded, 2 newly installed, 3 to remove and 0 not upgraded.
Need to get 0 B/179 MB of archives.
After this operation, 117 MB disk space will be freed.

So ich möchte natürlich nicht den PVE deinstallieren, aber wie kann ich das updaten, ohne den deinstall zu machen?
 
Hmm, ne ich würde sagen nein. Der möchte doch pve..kernel 5.4 deinstalieren und dafür kernel 4.9 installieren.
Wieso muss ausserdem alles deinstaliert werden?
Blos nicht updaten.
Hast du vielleicht PVE auf ein Debian installiert? In einem solchen Fall kann apt dein PVE deinstallieren wollen, wenn es einen neuen Debian Kernel gibt. In einem solchen Fall solltest du den Debian Kernel komplett entfernen.

Außerdem mal deine Repos checken. Inzwischen gibt es ja PVE7.1 auf Debian 11.1. Wenn da in den Repos irgendwo das "buster" oder "bullseye" fehlt, dann kann es sein, dass da bullseye und buster Packages gemixt werden.
 
Last edited:
  • Like
Reactions: Stoiko Ivanov
Okay, aber wie kann ich denn auf die letzte Version von 6.4 updaten und danach ein upgrade nach 7 machen?
Die VMs/LXCs sind per nfs eingebunden. Kann ich einfach eine neuinstallation von 7 machen und das nfs wieder einbinden und dann ein Backup der VM einspielen?
DAs wäre dann die Möglichkeit, wenn in inplace-upgrade nicht klappt.
 
Das würde auch gehen. Kann aber nervig sein, je nachdem was du da alles am PVE angepasst hast. Dinge wie Firewall-Regeln, Netzwerk, alles mögliche an Linux Konfig-Dateien etc wird ja nicht mit den VMs/LXCs mitgesichert.

Also irgendwie wird das schon mit dem Upgrade klappen. Müsste man nur gucken warum da APT nicht will.

Was genau hast du denn gerade für ein PVE laufen?
Von PVE ISO installiert oder manuell z.B. auf Debian drauf?
Was steht in deiner "/etc/apt/sources.list" sowie den Dateien im "/etc/apt/sources.list.d/" Ordner?
Was ist die Ausgabe vom apt update?

Was mich bei dir wundert ist die lange liste an Packages die installiert sind, weil die mal gebraucht wurde, aber aktuell nicht mehr genutzt werden. Dann sind ja auch sehr viele PVE packages wie "pve-manager pve-qemu-kvm ..." bei also klingt es für mich so als hätte da schon einmal ein Upgrade bei dir etwas zerschossen.
 
Die Installation erfolgte bei Hetzner aus dem Repo. Das ist das installscript gewesen.
DAs hier ist die sources.list:
Code:
deb http://deb.debian.org/debian/ buster main non-free contrib
# deb-src http://deb.debian.org/debian/ buster main non-free contrib

deb http://security.debian.org/debian-security buster/updates main contrib non-free
# deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main contrib non-free

das hier in sources.list.d die proxmox.list
Code:
# PVE packages provided by proxmox.com
deb http://mirror.hetzner.de/debian/pve buster pve-no-subscription

deb http://download.proxmox.com/debian/pve buster pve-no-subscription
 
Repos sehen soweit ok aus.

Ich weiß nicht wie das über Hetzner mit den Scripts lief, aber ich kann mir vorstellen das lief dann auch über ein Debian mit PVE oben drauf.
Da könntest du mal versuchen den Debian-Kernel zu entfernen und dann gucken ob das Upgrade immer noch meckert. Weil für mich sieht es so aus als wenn er den PVE mit dem "pve-kernel-5.4" entfernen will, weil der "linux-image-4.19.0-18-amd64" aktualisiert werden soll und die beiden sich ausschließen. Sowas hatte ich jedenfalls auch mal und da hat das Entfernen vom Debian Kernel geholfen:

apt remove linux-image-amd64 'linux-image-4.19*'
update-grub (oder entsprechender Alternativ-Befehl falls du UEFI statt BIOS zum booten benutzt)
reboot

(Von hier)
 
Last edited:
Repos sehen soweit ok aus.

Ich weiß nicht wie das über Hetzner mit den Scripts lief, aber ich kann mir vorstellen das lief dann auch über ein Debian mit PVE oben drauf.
Da könntest du mal versuchen den Debian-Kernel zu entfernen und dann gucken ob das Upgrade immer noch meckert. Weil für mich sieht es so aus als wenn er den PVE mit dem "pve-kernel-5.4" entfernen will, weil der "linux-image-4.19.0-18-amd64" aktualisiert werden soll und die beiden sich ausschließen. Sowas hatte ich jedenfalls auch mal und da hat das Entfernen vom Debian Kernel geholfen:

apt remove linux-image-amd64 'linux-image-4.19*'
update-grub (oder entsprechender Alternativ-Befehl falls du UEFI statt BIOS zum booten benutzt)
reboot

(Von hier)
Okay vielen dank.
ich werde das mal in einer ruhigen Minute o_O versuchen umzusetzen. Aktuell, wegen dem Coronadreck darf die Maschine nicht ausfallen...
 

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!