Not able to connect to server for update

ElMajor76

Member
Sep 1, 2021
1
0
6
29
Le Havre, France
Hi everyone !

I'm new in the Proxmox Environment. I'm just finish to install it on my server. It's a Dell Optiplex 7060 with 2 Ethernet, 1 NIC and another with a USB 3.0 adapter.

I have a VM with Ubuntu Server for a DNS server with Pi-Hole and PiVPN for remote access to my local network via VPN. The DNS server is set in my router with the static IP of my VM. It's work fine with my VM and my others devices on my network.

The problem is when I want to search updates from 'apt-get update' or via the GUI, I have this problem :
starting apt-get update Err:1 http://ftp.fr.debian.org/debian bullseye InRelease Cannot initiate the connection to ftp.fr.debian.org:80 (2a01:e0c:1:1598::2). - connect (101: Network is unreachable) Could not connect to ftp.fr.debian.org:80 (212.27.32.66). - connect (113: No route to host) Ign:2 http://ftp.fr.debian.org/debian bullseye-updates InRelease Err:3 http://ftp.fr.debian.org/debian bullseye-updates Release Cannot initiate the connection to ftp.fr.debian.org:80 (2a01:e0c:1:1598::2). - connect (101: Network is unreachable) Err:4 http://download.proxmox.com/debian/pve bullseye InRelease Cannot initiate the connection to download.proxmox.com:80 (2001:41d0:203:7470::34). - connect (101: Network is unreachable) Could not connect to download.proxmox.com:80 (51.91.38.34). - connect (113: No route to host) Err:5 http://security.debian.org bullseye-security InRelease Cannot initiate the connection to debian.map.fastlydns.net:80 (2a04:4e42:6c::644). - connect (101: Network is unreachable) Could not connect to debian.map.fastlydns.net:80 (199.232.178.132). - connect (113: No route to host) 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) 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::644). - connect (101: Network is unreachable) 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.2.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) Could not connect to security.debian.org:80 (151.101.130.132). - connect (113: No route to host) Reading package lists... E: The repository 'http://ftp.fr.debian.org/debian bullseye-updates Release' does not have a Release file. TASK ERROR: command 'apt-get update' failed: exit code 100

Anyone can help me to configure correctly my server to get updates ?

Thanks a lot for your help ! ;) Sorry for poor english, I'm french. :D
 
Not sure if you already found the answer to this but in my case I had changed the PI hole IP address which caused promox not to be able to connect to the server.

Changing DNS IP on /etc/resolv.conf fixed it for me.
 

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!