apt-get update geht nicht

ProxFi

New Member
Feb 15, 2021
8
1
3
23
ich habe die reposetories geändert für non-subscribtion bekomme aber trotzdem Errors.

Code:
deb http://ftp.debian.org/debian bullseye main contrib
deb http://ftp.debian.org/debian bullseye-updates main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

# security updates
deb http://security.debian.org/debian-security bullseye-security main contrib

jedoch wenn ich versuche update zu ziehen bekomme ich:

Code:
starting apt-get update

Err:1 http://ftp.de.debian.org/debian bullseye InRelease

  Could not connect to ftp.de.debian.org:80 (141.76.2.4). - connect (113: No route to host)

Err:2 http://download.proxmox.com/debian/pve bullseye InRelease

  Cannot initiate the connection to download.proxmox.com:80 (2a01:7e0:0:424::249). - connect (101: Network is unreachable) Could not connect to download.proxmox.com:80 (212.224.123.70). - connect (113: No route to host)

Err:3 http://ftp.de.debian.org/debian bullseye-updates InRelease

  Unable to connect to ftp.de.debian.org:http:

Err:4 http://security.debian.org bullseye-security InRelease

  Cannot initiate the connection to debian.map.fastlydns.net:80 (2a04:4e42:62::644). - connect (101: Network is unreachable) Could not connect to debian.map.fastlydns.net:80 (199.232.138.132). - connect (113: No route to host) Cannot initiate the connection to security.debian.org:80 (2a04:4e42::644). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (2a04:4e42:200::644). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (2a04:4e42:400::644). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (2a04:4e42:600::644). - connect (101: Network is unreachable) Could not connect to security.debian.org:80 (151.101.2.132). - connect (113: No route to host) Could not connect to security.debian.org:80 (151.101.130.132). - connect (113: No route to host) Could not connect to security.debian.org:80 (151.101.66.132). - connect (113: No route to host) Could not connect to security.debian.org:80 (151.101.194.132). - connect (113: No route to host)

Reading package lists...

W: Failed to fetch http://ftp.de.debian.org/debian/dists/bullseye/InRelease  Could not connect to ftp.de.debian.org:80 (141.76.2.4). - connect (113: No route to host)

W: Failed to fetch http://ftp.de.debian.org/debian/dists/bullseye-updates/InRelease  Unable to connect to ftp.de.debian.org:http:

W: Failed to fetch http://security.debian.org/dists/bullseye-security/InRelease  Cannot initiate the connection to debian.map.fastlydns.net:80 (2a04:4e42:62::644). - connect (101: Network is unreachable) Could not connect to debian.map.fastlydns.net:80 (199.232.138.132). - connect (113: No route to host) Cannot initiate the connection to security.debian.org:80 (2a04:4e42::644). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (2a04:4e42:200::644). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (2a04:4e42:400::644). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (2a04:4e42:600::644). - connect (101: Network is unreachable) Could not connect to security.debian.org:80 (151.101.2.132). - connect (113: No route to host) Could not connect to security.debian.org:80 (151.101.130.132). - connect (113: No route to host) Could not connect to security.debian.org:80 (151.101.66.132). - connect (113: No route to host) Could not connect to security.debian.org:80 (151.101.194.132). - connect (113: No route to host)

W: Failed to fetch http://download.proxmox.com/debian/pve/dists/bullseye/InRelease  Cannot initiate the connection to download.proxmox.com:80 (2a01:7e0:0:424::249). - connect (101: Network is unreachable) Could not connect to download.proxmox.com:80 (212.224.123.70). - connect (113: No route to host)

W: Some index files failed to download. They have been ignored, or old ones used instead.

TASK OK
 
Die repo Konfiguration scheint so i.O. zu sein, dein Problem ist eher dass Netzwerk.
Interessanterweise kann der Server die Domains resolven, der konfigurierte DNS-Server funktioniert also wohl, aber PVE kann sich weder zu den Debian noch den Proxmox repos verbinden (Network is unreachable).

Kannst der Server irgendwas im Internet pingen? Etwa: ping 8.8.8.8

Ist die Konfigurierte IP und der Gateway i.O.?
 
Kannst der Server irgendwas im Internet pingen? Etwa: ping 8.8.8.8

Ist die Konfigurierte IP und der Gateway i.O.?
im Internet pingen geht auch nicht.
weis aber nicht ob ich die Ip und Gateway richtig konfiguriert habe
 
Wie hast du installiert? Über das Offizielle Proxmox VE ISO? Der Installer dort macht normal einmal ein DHCP request und konfiguriert die erhaltene IP statisch (wenn nicht manuell geändert).

Und es scheint mir, dass du über ssh/webinterface zumindest aus dem LAN auf den Host kommst, oder? D.h., IP wäre schon mal nicht soo falsch.

Hast du Zugriff auf den Router, der sollte dir normal das Netzwerk und die Gateway IP (die ist normal identisch mit der des Routers) anzeigen.

FYI: Das Netzwerk kann man im webinterface unter Node -> Network oder per Editor in /etc/network/interfaces bearbeiten.
 
Die repo Konfiguration scheint so i.O. zu sein, dein Problem ist eher dass Netzwerk.
Interessanterweise kann der Server die Domains resolven, der konfigurierte DNS-Server funktioniert also wohl, aber PVE kann sich weder zu den Debian noch den Proxmox repos verbinden (Network is unreachable).

Kannst der Server irgendwas im Internet pingen? Etwa: ping 8.8.8.8

Ist die Konfigurierte IP und der Gateway i.O.?
danke für die info habe mein Gateway geändert und angewendet jetzt geht es und ich kann Updates ziehen! :D
 
Last edited:
  • Like
Reactions: t.lamprecht

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!