PDA

View Full Version : [ubuntu] 404 errors on apt-get



bandad
January 17th, 2009, 11:06 AM
Has something been moved, expired, or deleted?
I need to install GIT on a box running 7.04 and I continually get 404 errors from apt-get


bob@forte:~$ sudo apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
git
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 262kB of archives.
After unpacking 995kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
git
Install these packages without verification [y/N]? y
Err http://gb.archive.ubuntu.com feisty/universe git 4.3.20-10
404 Not Found
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/universe/g/git/git_4.3.20-10_i386.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


git-core is similar
apt-get update gives many 404s.

Do I have to upgrade the system? I really don't want to have to do that right now.

ideas?

Pumalite
January 17th, 2009, 11:23 AM
No support I think. Might be wrong.

ugm6hr
January 17th, 2009, 11:30 AM
Do I have to upgrade the system? I really don't want to have to do that right now.

Feisty is not supported any more. Hence the official repos have been removed.

Yes - you should upgrade.

If you really don't want to (not advisable), you can edit your repos.

Look here for advice: https://help.ubuntu.com/community/GutsyUpgrades

Tim Sharitt
January 17th, 2009, 11:30 AM
Nevermind

bandad
January 17th, 2009, 11:38 AM
Feisty is not supported any more. Hence the official repos have been removed.

Yes - you should upgrade.

If you really don't want to (not advisable), you can edit your repos.

Look here for advice: https://help.ubuntu.com/community/GutsyUpgrades

Looks like an upgrade then.
Thanks for the help

Bob

Pumalite
January 17th, 2009, 12:05 PM
Try:

sudo sed -i 's/feisty/gutsy/' /etc/apt/sources.list

sudo apt-get update

sudo apt-get dist-upgrade

bandad
January 17th, 2009, 12:28 PM
Upgrade complete! GIT installed !!!

Thanks everyone.
Why was I worrying about the upgrade? Only took 30mins.

Bob

ugm6hr
January 17th, 2009, 12:41 PM
Upgrade complete! GIT installed !!!

Thanks everyone.
Why was I worrying about the upgrade? Only took 30mins.

Bob

No worries.

If you don't like upgrades too much, you should be prepared for Gutsy's withdrawal of support in April.

I'd recommend sticking with Hardy (once upgraded from Gutsy), since it is LTS, and you can then just upgrade directly from LTS to LTS every 2-3 years.