Problems with apt-get. 404 errors

  • Thread starter Thread starter MJennings
  • Start date Start date
M

MJennings

Guest
Hi guys. I am new to proxmox but I have used debian for years. This is something i've never had this problem before. Everytime i've seen a 404 error when doing an apt-get, i've always solved it with apt-get update. But on proxmox apt-get update doesn't fix it..

When installing packages i'll see something like this
Err http://ftp.us.debian.org lenny/main fam 2.7.0-13.3
404 Not Found [IP: 64.50.236.52 80]


Then at the end it will eventually fail to install the package I want and say this:
Failed to fetch http://ftp.us.debian.org/debian/pool/main/f/fam/fam_2.7.0-13.3_amd64.deb 404 Not Found [IP: 64.50.236.52 80]
Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/glib2.0/libglib2.0-0_2.16.6-2_amd64.deb 404 Not Found [IP: 64.50.236.52 80]
Failed to fetch http://ftp.us.debian.org/debian/pool/main/f/fam/libfam0_2.7.0-13.3_amd64.deb 404 Not Found [IP: 64.50.236.52 80]
Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/glib2.0/libglib2.0-data_2.16.6-2_all.deb 404 Not Found [IP: 64.50.236.52 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Anyone know what's up with this? I didn't have this problem on my other test server which I installed from proxmox-ve_1.5-4627-2.iso
 
I have seen the same thing now and then, both on Proxmox and Ubuntu. I have assumed this is because the repository servers have been too busy. Waiting a few hours and trying again has always been a good enough solution for me.
 
I don't think time has anything to do with it, I just tried and am getting 404 on same packages as I was last night.
 
/etc/apt/apt.conf does not exist on my server

Code:
prox2:~# ls /etc/apt/
apt.conf.d   sources.list    trustdb.gpg  trusted.gpg~
secring.gpg  sources.list.d  trusted.gpg

yes i can ping and traceroute that ip address
 
/etc/apt/apt.conf does not exist on my server

Code:
prox2:~# ls /etc/apt/
apt.conf.d   sources.list    trustdb.gpg  trusted.gpg~
secring.gpg  sources.list.d  trusted.gpg
yes i can ping and traceroute that ip address
Hi,
you can try another debian-server. Perhaps use for the selction netselect-apt:
Code:
apt-get install netselect-apt
netselect-apt should find the fastest server for you.

Udo
 
Same error here:

Code:
Err http://download.proxmox.com lenny/pve Packages
  404 Not Found [IP: 2001:...]
Ign http://ftp.de.debian.org lenny/lenny-backports Packages
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Ign http://ftp.de.debian.org lenny/main Packages
Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex
Ign http://ftp.de.debian.org lenny/contrib Packages
Err http://ftp.de.debian.org lenny/lenny-backports Packages
  404 Not Found [IP: 2001:.... 80]
Hit http://security.debian.org lenny/updates/main Packages
Err http://ftp.de.debian.org lenny/main Packages
  404 Not Found [IP: 2001:.... 80]
Hit http://security.debian.org lenny/updates/contrib Packages
Err http://ftp.de.debian.org lenny/contrib Packages
  404 Not Found [IP: 2001:.... 80]
Reading package lists... Done
I tried it at least two days, nothing worked.
Nslookup and ping works. If I replace the URL with the IP, I got the same error.

Code:
Non-authoritative answer:
Name:   download.proxmox.com
Address: 188.165.145.222
Code:
--- 188.165.145.222 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 33.565/36.570/43.195/3.885 ms
Is there any solution for this problem?


Btw. apt-get install netselect-apt doesn't work to.
Code:
E: Couldn't find package netselect-apt