apt-get update
Ray Parrish
crp at cmc.net
Tue Nov 11 18:00:38 UTC 2008
Hello,
I'm not real sure why those urls are returning an error, but I do note
that you are trying to update Hardy from the Dapper repositories. Why?
That wouldn't really be an update from the repository for the older
version of Ubuntu.
I can't for the life of me remember where the software sources file
resides or it's name. I just tried the Software Sources program on the
System menu, but it's not showing me the repository urls, which is what
I was going to paste in here for you.
Ok, I found it! It is located in /etc/apt/sources.lst and here is what
the contents should look like for Ubuntu 8.04 Hardy.
*start of file*
# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy
main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ hardy-backports main
restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-backports main
restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
deb http://packages.medibuntu.org/ hardy free non-free
*end of file*
Put that into your sources.lst file and you will be able to get updates
that apply to Hardy instead of Dapper.
Later, Ray Parrish
Donny George wrote:
> hello
>
> when i try to apt-get update the ubuntu 8.04 it returns an error
>
> Err http://archive.ubuntu.com <http://archive.ubuntu.com/> dapper
> Release.gpg
> 404 Not found [IP: 195.248.90.54 <http://195.248.90.54> 80]
> Ign http://archive.ubuntu.com <http://archive.ubuntu.com/> dapper Release
> Ign http://archive.ubuntu.com <http://archive.ubuntu.com/> dapper/main
> Packages
> Ign http://archive.ubuntu.com <http://archive.ubuntu.com/>
> dapper/restricted Packages
> Err http://archive.ubuntu.com <http://archive.ubuntu.com/> dapper/main
> Packages
> 404 Not found [IP: 195.248.90.54 <http://195.248.90.54> 80]
> Err http://archive.ubuntu.com <http://archive.ubuntu.com/>
> dapper/restricted Packages
> 404 Not found [IP: 195.248.90.54 <http://195.248.90.54> 80]
>
> can someone help me with this
>
>
> don
>
--
http://www.rayslinks.com/ Web index of human reviewed links.
<http://www.rayslinks.com/Troubleshooting%20and%20fixing%20Windows.html>
Trouble shooting and Fixing Windows
http://www.writingsoftheschizophrenic.com My poetry in web pages
More information about the ubuntu-users
mailing list