Update von PVE 6.4 auf 7.1 hängt

schloegel-edv

Member
Mar 23, 2020
70
4
13
42
Nach dem Starten des Updates mit apt-get dist-upgrade hängt es fest:

Code:
Get:140 http://download.proxmox.com/debian/pve bullseye/pve-no-subscription amd64 zfs-zed amd64 2.1.1-pve3 [68.7 kB]
Get:133 http://ftp.debian.org/debian bullseye/main amd64 perl-modules-5.32 all 5.32.1-4+deb11u2 [2,823 kB]
Get:133 http://ftp.debian.org/debian bullseye/main amd64 perl-modules-5.32 all 5.32.1-4+deb11u2 [2,823 kB]
Get:133 http://ftp.debian.org/debian bullseye/main amd64 perl-modules-5.32 all 5.32.1-4+deb11u2 [2,823 kB]
Get:133 http://ftp.debian.org/debian bullseye/main amd64 perl-modules-5.32 all 5.32.1-4+deb11u2 [2,823 kB]
Get:133 http://ftp.debian.org/debian bullseye/main amd64 perl-modules-5.32 all 5.32.1-4+deb11u2 [2,823 kB]
Get:133 http://ftp.debian.org/debian bullseye/main amd64 perl-modules-5.32 all 5.32.1-4+deb11u2 [2,823 kB]

apt update sieht so aus:

Code:
root@pve:~# apt update
Hit:1 http://ftp.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
219 packages can be upgraded. Run 'apt list --upgradable' to see them.

PVE Version:

Code:
pve-manager/6.4-13/9f411e79 (running kernel: 5.4.119-1-pve)

Was kann ich hier tun?

Danke für Tips.
 
in jedem Fall. Hab nochmal kontrolliert.

hab nochmal über eine Stunde verschiedene Sachen probiert. Die Repositorys auf die 6er Version zurück gestellt. Nochmal apt update & dist-upgrade. Aber hier kommt nur, dass nichts upzudaten sei.

Es muss irgendwas mit Perl bzw. dem libc6 zu tun haben
 
der output den du gepostet hast deutet auf ein netzwerk/download problem hin..
 
apt debugging optionen aufdrehen? ipv6 vs ipv4 checken?
 
Nun kommt eine andere Meldung, die IP ist aber erreichbar:

Code:
root@pve:~# apt-get update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://ftp.debian.org/debian bullseye InRelease
Get:3 http://ftp.debian.org/debian bullseye-updates InRelease [39.4 kB]
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease
Fetched 39.4 kB in 0s (119 kB/s)
Reading package lists... Done
root@pve:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libzpool4linux
Use 'apt autoremove' to remove it.
The following packages will be REMOVED:
  libldb1 libpython-stdlib python python-cephfs python-certifi python-chardet
  python-configparser python-future python-idna python-ipaddr python-minimal
  python-prettytable python-protobuf python-rados python-rbd python-requests
  python-talloc python-urllib3
The following NEW packages will be installed:
  alsa-topology-conf alsa-ucm-conf distro-info-data libboost-context1.74.0
  libboost-coroutine1.74.0 libboost-iostreams1.74.0
  libboost-program-options1.74.0 libboost-thread1.74.0 libbpf0 libbrotli1
  libfdt1 libicu67 libinih1 libip4tc2 libip6tc2 libjs-qrcodejs
  libjson-glib-1.0-0 libjson-glib-1.0-common libldb2 libleveldb1d liblinear4
  libmpdec3 libnetaddr-ip-perl liboath0 libperl5.32 libposix-strptime-perl
  libprotobuf23 libpve-rs-perl libpython3.9 libpython3.9-minimal
  libpython3.9-stdlib librabbitmq4 libsocket6-perl libtpms0 liburing1
  libzpool5linux lua-lpeg perl-modules-5.32 python3-ceph-argparse
  python3-cephfs python3-ldb python3-protobuf python3-rados python3-rbd
  python3-talloc python3.9 python3.9-minimal swtpm swtpm-libs swtpm-tools
  systemd-timesyncd
The following packages will be upgraded:
  ceph-common ceph-fuse criu curl gdisk groff-base iproute2 iptables
  libanyevent-perl libapt-pkg-perl libasound2 libasound2-data
  libauthen-pam-perl libcairo2 libcephfs2 libclone-perl libcommon-sense-perl
  libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl
  libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcurl3-gnutls libcurl4
  libfilesys-df-perl libflac8 libfreetype6 libgfortran5 libgoogle-perftools4
  libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libhtml-parser-perl
  libhttp-message-perl libiptc0 libjemalloc2 libjson-xs-perl
  liblinux-inotify2-perl liblocale-gettext-perl libnet-dbus-perl
  libnet-ssleay-perl libnspr4 libnss-systemd libopus0 libpam-systemd
  libpixman-1-0 libpng16-16 libpulse0 libpve-access-control libpve-common-perl
  libpve-guest-common-perl libpve-http-server-perl libpve-storage-perl
  libpve-u2f-server-perl libpython2-stdlib libpython2.7 libpython2.7-minimal
  libpython2.7-stdlib libpython3-stdlib librados2 librados2-perl
  libradosstriper1 librbd1 librrd8 librrds-perl libsdl1.2debian libslang2
  libsmbclient libsndfile1 libsqlite3-0 libsystemd0 libtcmalloc-minimal4
  libtemplate-perl libterm-readline-gnu-perl libtext-charwidth-perl
  libtext-iconv-perl libudev1 libuuid-perl libvorbis0a libvorbisenc2
  libwbclient0 libxml-libxml-perl libxml-parser-perl libxml2 libxslt1.1
  libxtables12 libyaml-libyaml-perl libzfs4linux mawk nmap nmap-common perl
  perl-base postfix proxmox-backup-client pve-cluster pve-manager pve-qemu-kvm
  python-six python2 python2-minimal python2.7 python2.7-minimal python3
  python3-apt python3-chardet python3-minimal python3-pycurl python3-six
  qemu-server rsyslog samba-common samba-libs smbclient sqlite3 systemd udev
  xfsprogs zfs-initramfs zfs-zed zfsutils-linux
119 upgraded, 51 newly installed, 18 to remove and 0 not upgraded.
Need to get 2,823 kB/136 MB of archives.
After this operation, 173 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.debian.org/debian bullseye/main amd64 perl-modules-5.32 all 5.32.1-4+deb11u2 [2,823 kB]
Err:1 http://ftp.debian.org/debian bullseye/main amd64 perl-modules-5.32 all 5.32.1-4+deb11u2
  Connection timed out [IP: 199.232.138.132 80]
E: Failed to fetch http://ftp.debian.org/debian/pool/main/p/perl/perl-modules-5.32_5.32.1-4%2bdeb11u2_all.deb  Connection timed out [IP: 199.232.138.132 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@pve:~# ping 199.232.133.132.
PING 199.232.133.132 (199.232.133.132) 56(84) bytes of data.
64 bytes from 199.232.133.132 (199.232.133.132): icmp_seq=1 ttl=58 time=181 ms
64 bytes from 199.232.133.132 (199.232.133.132): icmp_seq=2 ttl=58 time=180 ms
64 bytes from 199.232.133.132 (199.232.133.132): icmp_seq=3 ttl=58 time=180 ms
64 bytes from 199.232.133.132 (199.232.133.132): icmp_seq=4 ttl=58 time=180 ms
64 bytes from 199.232.133.132 (199.232.133.132): icmp_seq=5 ttl=58 time=180 ms
64 bytes from 199.232.133.132 (199.232.133.132): icmp_seq=6 ttl=58 time=180 ms
^C
--- 199.232.133.132 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5007ms
rtt min/avg/max/mdev = 179.526/180.017/180.501/0.316 ms
 
ich habe nochmal alle IPv4 Einstellungen kontrolliert. IPv6 ist nicht eingerichtet. (soweit ich das verstehe, ich glaube, ich bin immer noch eher Linux "Anfänger").

apt debugging... was gibt es da für Möglichkeiten? Ich habe bereist mehrfach apt clean gemacht. Alle Updates (in meinem Fall 170) werden sauber gezogen, bis auf das eine.

Letzte Ausgabe:

Code:
Get:170 http://ftp.debian.org/debian bullseye/main amd64 xfsprogs amd64 5.10.0-4 [959 kB]
Fetched 133 MB in 3min 5s (718 kB/s)
E: Failed to fetch http://ftp.debian.org/debian/pool/main/p/perl/perl-modules-5.32_5.32.1-4%2bdeb11u2_all.deb  Connection timed out [IP: 199.232.138.132 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Firewall habe ich derzeit alles, was von drinnen nach draußen geblockt werden könnte, mal aufgehoben. Keine Chance. Aber die anderen 170 Updates werden ja auch problemlos gezogen.

Es kommt nun dazu, dass ich mich seit heute früh nur noch per SSH drauf schalten kann. Über die Weboberflächte geht es nicht. "Anmeldung fehlgeschlagen. Bitte versuchen Sie es noch einmal.". Woran dass nun liegt?
 
/etc/apt/sources.list korrekt angepasst? Es gibt eine Syntaxänderung im Updatepfad auf Bullseye. Ein reines Ändern der Worte von buster auf bullseye reicht nicht.
Was sagt das pve6to7.sh Skript?
 
Das Problem ist geklärt!

Es hing tatsächlich an der Firewall. Ich habe nochmals sämtliche Einschränkungen vorübergehend deaktiviert. Dann ging es sofort. Verrückt. Ich hatte das bereits mehrfach geprüft. Vermutlich eine Option, in der Archive auf Viren geprüft werden. Wenn sie sich nicht öffnen lassen, werden sie geblockt.

Danke an alle Helfer und Guten Rutsch!
 

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!