apt update - Sources List

Quickly

Well-Known Member
Sep 16, 2012
97
4
48
Hallo.

Ich habe heute, vorbereitend auf Upgrade PVE V6, die Pakete aktualisiert.
Hat alles geklappt.

Nun wollte ich mit "apt update" die Paketlisten aktualisieren. Leider wird nun jeder Eintrag angemeckert.

root@proxmox1:~# apt update Err:1 http://ftp.de.debian.org/debian stretch InRelease Could not connect to ftp.de.debian.org:80 (141.76.2.4). - connect (111: Connection refused) Err:2 http://ftp.de.debian.org/debian stretch-updates InRelease Unable to connect to ftp.de.debian.org:http: Err:3 http://security.debian.org stretch/updates InRelease Cannot initiate the connection to debian.map.fastlydns.net:80 (2a04:4e42:65::644). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (2a04:4e42:400::644). - connect (101: Network is unreachable) [IP: 2a04:4e42:400::644 80] Err:4 http://download.proxmox.com/debian/pve stretch InRelease Cannot initiate the connection to download.proxmox.com:80 (2a01:7e0:0:424::249). - connect (101: Network is unreachable) [IP: 2a01:7e0:0:424::249 80] Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. W: Failed to fetch http://ftp.de.debian.org/debian/dists/stretch/InRelease Could not connect to ftp.de.debian.org:80 (141.76.2.4). - connect (111: Connection refused) W: Failed to fetch http://ftp.de.debian.org/debian/dists/stretch-updates/InRelease Unable to connect to ftp.de.debian.org:http: W: Failed to fetch http://security.debian.org/dists/stretch/updates/InRelease Cannot initiate the connection to debian.map.fastlydns.net:80 (2a04:4e42:65::644). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (2a04:4e42:400::644). - connect (101: Network is unreachable) [IP: 2a04:4e42:400::644 80] W: Failed to fetch http://download.proxmox.com/debian/pve/dists/stretch/InRelease Cannot initiate the connection to download.proxmox.com:80 (2a01:7e0:0:424::249). - connect (101: Network is unreachable) [IP: 2a01:7e0:0:424::249 80] W: Some index files failed to download. They have been ignored, or old ones used instead. root@proxmox1:~#


Die Listen sehen wie folgt aus (auch einige Varianten versucht).

/etc/apt/sources.list

deb http://ftp.de.debian.org/debian stretch main contrib deb http://ftp.de.debian.org/debian stretch-updates main contrib # security updates deb http://security.debian.org stretch/updates main contrib

/etc/apt/sources.list.d/pve-no-subscription.list

deb http://download.proxmox.com/debian/pve stretch pve-no-subscription

Für Hilfe wäre ich echt dankbar.
Lars
 
Klingt für mich eher nach einem Problem mit deinem Netzwerk.
Was geben denn dig google.de, ping 8.8.8.8, ip addr oder ifconfig, cat /etc/network/interfaces aus?
 
  • Like
Reactions: Quickly
Klingt für mich eher nach einem Problem mit deinem Netzwerk.
Was geben denn dig google.de, ping 8.8.8.8, ip addr oder ifconfig, cat /etc/network/interfaces aus?
Moin. Alle Deine Test´s hatte ich natürlich schon gemacht und war verwirrt, dass alles geklappt hat.
Sonst hätte ich hier nicht geschrieben. ;)

Nun habe ich am WE dann bei einem PVE 6.x einige Updates eingespielt... und siehe da... identische Meldungen.
What the f... was ist das? Also mal ohne Logik = was hat sich geändert? Was kann es sein?
PVE5 und PVE6 + unterschiedliche Netzwerke... was ist es?
Heute Morgen, plötzlich, geht es bei dem PVE5. Häääh? Was ist denn nun los?

# Lösung
Ich habe eine ipFire mit transparentem Proxy davor. Für das gesamte LAN hat, bei jedem Netzwerk.
Hier wurde letzte Woche ein Update auf Core 158 einspielt.
Und hier scheint es mit dem letzten CoreUpdate einen Fehler im Proxy zu geben.

1x den Cache per Hand leer gemacht. Und siehe da... es klappt.

Danke für den Denkanstoß!

Lars
 

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!