Error updating PVE 7.1-10

DigiDoc

Member
Mar 21, 2022
17
1
8
44
I am getting this error when trying to update my repository:
"
starting apt-get update
Err:1 http://ftp.us.debian.org/debian bullseye InRelease
Temporary failure resolving 'ftp.us.debian.org'
Err:2 http://security.debian.org/debian-security bullseye-security InRelease
Temporary failure resolving 'security.debian.org'
Err:3 http://download.proxmox.com/debian/pve bullseye InRelease
Temporary failure resolving 'download.proxmox.com'
Err:4 http://ftp.us.debian.org/debian bullseye-updates InRelease
Temporary failure resolving 'ftp.us.debian.org'
Reading package lists...
W: Failed to fetch http://ftp.us.debian.org/debian/dists/bullseye/InRelease Temporary failure resolving 'ftp.us.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian/dists/bullseye-updates/InRelease Temporary failure resolving 'ftp.us.debian.org'
W: Failed to fetch http://security.debian.org/debian-security/dists/bullseye-security/InRelease Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://download.proxmox.com/debian/pve/dists/bullseye/InRelease Temporary failure resolving 'download.proxmox.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Packages (pve-no-subscription/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/pve-install-repo.list:1
W: Target Packages (pve-no-subscription/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/pve-install-repo.list:1
W: Target Translations (pve-no-subscription/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/pve-install-repo.list:1
TASK OK
"

When tried apt dist-upgrade:
"
Starting system upgrade: apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
libproxmox-rs-perl
The following packages will be upgraded:
libpve-common-perl libpve-rs-perl pve-manager
3 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 3469 kB of archives.
After this operation, 20.5 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Err:1 http://download.proxmox.com/debian/pve bullseye/pve-no-subscription amd64 libpve-common-perl all 7.1-5
Temporary failure resolving 'download.proxmox.com'
0% [Connecting to download.proxmox.com]
"

It used to update just fine. I am not sure where the problem is. I added a second repository I found in the forums this is why there is a duplicate source error. This did not fix the problem. Connection is fine I can ping 8.8.8.8 in Shell.

Thank you.
 
Last edited:
Connection is fine I can ping 8.8.8.8 in Shell.
It could still be a DNS configuration issue. Are you able to ping "proxmox.com"?
Could you post the output of: cat /etc/resolv.conf?
 
I am unable to ping "proxmox.com". I can see the packets sent through my firewall but nothing is received. This is a universal problem across all my network.

Output to command as follows:
Code:
root@pve:~# cat /etc/resolv.conf
search local
nameserver 10.61.71.1
 
Can you confirm that your DNS server (10.61.71.1) is active and functioning correctly? Is it reachable from the Proxmox VE host?
If any other systems use it, you can also check if DNS resolution functions correctly on them.
 
I figured that my DNS server address was changed. I changed it in the GUI but I noticed that it did not reflect in resolve.conf

Case closed, Thank you much!
 
Last edited:
  • Like
Reactions: dylanw
Happy to help! Would you mind marking the thread as "Solved" so that others with similar issues can find an answer easier? :)
 

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!