[SOLVED] Unable to apt-get update

shivam17171

New Member
May 12, 2025
6
1
3
Task viewer: Update package database

OutputStatus

Stop

Download
starting apt-get update
Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://ftp.debian.org/debian bookworm InRelease
Hit:3 http://ftp.debian.org/debian bookworm-updates InRelease
Get:4 http://download.proxmox.com/debian/pve bookworm InRelease [2768 B]
Get:5 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages [467 kB]
Ign:5 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages
Get:5 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages [467 kB]
Ign:5 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages
Get:5 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages [467 kB]
Ign:5 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages
Get:5 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages [467 kB]
Err:5 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages
Connection timed out [IP: 117.120.5.24 80]
Get:5 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages [2361 kB]
Err:5 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages
Connection timed out [IP: 117.120.5.24 80]
Reading package lists...
W: Failed to fetch http://download.proxmox.com/debian/pve/dists/bookworm/pve-no-subscription/binary-amd64/Packages Connection timed out [IP: 117.120.5.24 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
TASK OK
 
Show output for:
Code:
find /etc/apt/sources* -type f -exec cat {} +
Original repo does not work but i manage to download using mirror one location cn but it did not fix the issue bcz i having issue when i trying to download CT Templates, i cant able to download also china one works when i put url

root@pve-proxmox:~# find /etc/apt/sources* -type f -exec cat {} +
deb http://ftp.debian.org/debian bookworm main contrib

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

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

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

# deb https://mirrors.ustc.edu.cn/proxmox/debian/pve bookworm pve-no-subscription
deb https://mirrors.ustc.edu.cn/proxmox/debian/pve bookworm pve-no-subscription

# deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise

# deb https://enterprise.proxmox.com/debian/ceph-quincy bookworm enterprise

root@pve-proxmox:~#
 

Attachments

  • Screenshot 2025-05-12 133305.png
    Screenshot 2025-05-12 133305.png
    64.4 KB · Views: 4
Last edited:
So this one does not work from your location?:
Code:
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

I believe you are also missing this one:
Code:
deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription
(even if you are not running ceph - you should have a pve-ceph repo. If you are using ceph but a different version - you will need to adjust it).
 
So this one does not work from your location?:
Code:
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

I believe you are also missing this one:
Code:
deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription
(even if you are not running ceph - you should have a pve-ceph repo. If you are using ceph but a different version - you will need to adjust it).
yes ,this one
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
is not working from location do you think is bcz of proxy is set by my isp provider , i have static ip btw
 
Last edited:
I meant your network accessibility/ping/speed - you could test with speedtest-cli

Edit: Anyway I see you got it solved - maybe mark this thread with solved.
 
  • Like
Reactions: shivam17171