gnutls_handshake() failed: A TLS packet with unexpected length was received.

manu

Proxmox Staff Member
Retired Staff
Mar 3, 2015
806
72
28
Code:
apt-get dist-upgradePaketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
Die folgenden Pakete werden aktualisiert (Upgrade):
  libuutil1
1 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 50,9 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 58,4 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren [J/n]? J
WARNUNG: Die folgenden Pakete können nicht authentifiziert werden!
  libuutil1
Diese Pakete ohne Überprüfung installieren [j/N]? j
Fehl https://enterprise.proxmox.com/debian/ wheezy/pve-enterprise libuutil1 amd64 0.6.4-3~wheezy
  gnutls_handshake() failed: A TLS packet with unexpected length was received.
Fehlschlag beim Holen von  https://enterprise.proxmox.com/debian/dists/wheezy/pve-enterprise/binary-amd64/libuutil1_0.6.4-3~wheezy_amd64.deb   gnutls_handshake() failed: A TLS packet with unexpected length was  received.
E: Einige Archive konnten nicht heruntergeladen werden; vielleicht  »apt-get update« ausführen oder mit »--fix-missing« probieren?

adding
Code:
--fix-missing

doesn't help.

Any suggestions?

Peter
 
Hi Peter
Do you have a subscription ?
What is the output of apt-get update ?
 
Hi Manu,

yes I have a subscription.

Code:
apt-get update
OK   http://ftp.at.debian.org wheezy Release.gpg                          
OK   http://ftp.at.debian.org wheezy Release                              
OK   http://security.debian.org wheezy/updates Release.gpg
OK   http://ftp.at.debian.org wheezy/main amd64 Packages
OK   http://ftp.at.debian.org wheezy/contrib amd64 Packages           
OK   http://ftp.at.debian.org wheezy/contrib Translation-en           
OK   http://security.debian.org wheezy/updates Release
OK   http://ftp.at.debian.org wheezy/main Translation-de            
OK   http://ftp.at.debian.org wheezy/main Translation-en            
OK   http://ftp.at.debian.org wheezy/main Translation-de_DE
OK   http://security.debian.org wheezy/updates/main amd64 Packages
OK   http://security.debian.org wheezy/updates/contrib amd64 Packages
OK   http://security.debian.org wheezy/updates/contrib Translation-en
OK   http://security.debian.org wheezy/updates/main Translation-en
Holen: 1 https://enterprise.proxmox.com wheezy Release.gpg [198 B]
OK   https://enterprise.proxmox.com wheezy Release
OK   https://enterprise.proxmox.com wheezy/pve-enterprise amd64 Packages
Ign https://enterprise.proxmox.com wheezy/pve-enterprise Translation-de_AT                                                                                                                                                                                          
Ign https://enterprise.proxmox.com wheezy/pve-enterprise Translation-de                                                                                                                                                                                             
Ign https://enterprise.proxmox.com wheezy/pve-enterprise Translation-en                                                                                                                                                                                             
Ign https://enterprise.proxmox.com wheezy/pve-enterprise Translation-de_DE                                                                                                                                                                                          
Es wurden 198 B in 8 s geholt (23 B/s).                                                                                                                                                                                                                             
Paketlisten werden gelesen... Fertig

apt-get runs as it should.

Peter
 
Hum I can a bet only guess as this was a transient failure. It looked like apt-get missed that it had a new Release.gpg to download, so maybe a network problem ...
Are you using a proxy on this Proxmox host ?
 
So, this bug may be related to the various versions of
Code:
[DOWNGRADE] libcurl3-gnutls:amd64 7.52.1-5 -> 7.38.0-4+deb8u7
[DOWNGRADE] python-pycurl:amd64 7.43.0-2 -> 7.19.5-3
and possibly the related to
Code:
[REMOVE, NOT USED] libidn2-0:amd64
[REMOVE, NOT USED] libnghttp2-14:amd64
[REMOVE, NOT USED] libpsl5:amd64
[REMOVE, NOT USED] libunistring0:amd64
[REMOVE, NOT USED] publicsuffix:amd64
stuff. At least for me it has been screwed by a mistaken upgrade of these libs, and downgrade of the other programs hasn't fixed the libs (no automatic lib downgrade happens).

I suspect the same error may come up when the libs (first two at least, used by apt-https) are incompatible with the rest of the programs. The downgrade above was for jessie, and after that it works again.