apt-get update not working

lukeedukee

New Member
Aug 14, 2024
2
0
1
Hey all,

I've installed proxmox a few days ago on a new server I built. I seem to have configured everything correctly but for some reason, it is failing to download the latest updates. I've copied shell output below. Any help would be greatly appreciated. Thank you :)

starting apt-get update
Ign:1 http://ftp.debian.org/debian bookworm InRelease
Ign:2 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:3 http://security.debian.org/debian-security bookworm-security InRelease
Ign:4 http://ftp.debian.org/debian bookworm-updates InRelease
Ign:2 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:3 http://security.debian.org/debian-security bookworm-security InRelease
Ign:1 http://ftp.debian.org/debian bookworm InRelease
Ign:2 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:3 http://security.debian.org/debian-security bookworm-security InRelease
Ign:4 http://ftp.debian.org/debian bookworm-updates InRelease
Err:2 http://download.proxmox.com/debian/pve bookworm InRelease
Temporary failure resolving 'download.proxmox.com'
Err:3 http://security.debian.org/debian-security bookworm-security InRelease
Temporary failure resolving 'security.debian.org'
Ign:1 http://ftp.debian.org/debian bookworm InRelease
Ign:4 http://ftp.debian.org/debian bookworm-updates InRelease
Err:1 http://ftp.debian.org/debian bookworm InRelease
Temporary failure resolving 'ftp.debian.org'
Err:4 http://ftp.debian.org/debian bookworm-updates InRelease
Temporary failure resolving 'ftp.debian.org'
Reading package lists...
W: Failed to fetch http://ftp.debian.org/debian/dists/bookworm/InRelease Temporary failure resolving 'ftp.debian.org'
W: Failed to fetch http://ftp.debian.org/debian/dists/bookworm-updates/InRelease Temporary failure resolving 'ftp.debian.org'
W: Failed to fetch http://download.proxmox.com/debian/pve/dists/bookworm/InRelease Temporary failure resolving 'download.proxmox.com'
W: Failed to fetch http://security.debian.org/debian-security/dists/bookworm-security/InRelease Temporary failure resolving 'security.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
TASK OK
 
You either don't have internet connection or the DNS server you've set isn't working and can't resolve the apt server's names.
Thank you. At least it helped me find what the issue was. Turns out the gateway I input into the /etc/networks/interfaces file was incorrect as I left it default haha. Classic noob mistake.
 

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!