PDA

View Full Version : [ubuntu] apt-get update error:


Gorlist
June 28th, 2009, 06:16 PM
Good day, just installed Ubuntu 8.04 minimal. when running apt-get update I keep receiving this error:

# apt-get update
Hit http://archive.ubuntu.com hardy Release.gpg
Hit http://archive.ubuntu.com hardy Release
Hit http://archive.ubuntu.com hardy/main Packages
Hit http://archive.ubuntu.com hardy/universe Packages
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/Release Unable to find expected entry multiuniverse/binary-amd64/Packages in Meta-index file ( malformed Release file?)

E: Some index files failed to download, they have been ignored, or old ones used instead.


Any suggestions?

Thanks.

LepeKaname
June 28th, 2009, 08:42 PM
Can you post your /etc/apt/sources.lst ?
Try using a mirror server, for example:

http://ca.archive.ubuntu.com/ubuntu/dists/
http://jp.archive.ubuntu.com/ubuntu/dists/
http://mx.archive.ubuntu.com/ubuntu/dists/
http://fr.archive.ubuntu.com/ubuntu/dists/

etc...

Sometimes it may fix your problem.

Gorlist
June 29th, 2009, 02:09 AM
Hi Lepe, heres my source list:

deb http://archive.ubuntu.com/ubuntu hardy main
deb http://archive.ubuntu.com/ubuntu hardy universe
deb http://archive.ubuntu.com/ubuntu hardy multiuniverse

Must be caused by how ive entered the universe/multi...

Does anyone have an example of their 8.04 Server sources.list? currently have the minimal installation.

LepeKaname
June 29th, 2009, 03:32 AM
Here is your error:

deb http://archive.ubuntu.com/ubuntu hardy multiuniverse

must be:

deb http://jp.archive.ubuntu.com/ubuntu/ hardy multiverse

This is mine:

deb http://archive.ubuntu.com/ubuntu hardy main restricted
deb http://archive.ubuntu.com/ubuntu hardy-updates main restricted
deb http://archive.ubuntu.com/ubuntu hardy universe
deb http://archive.ubuntu.com/ubuntu hardy-updates universe
deb http://archive.ubuntu.com/ubuntu hardy multiverse
deb http://archive.ubuntu.com/ubuntu hardy-updates multiverse
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse

#Sources:
#deb-src http://archive.ubuntu.com/ubuntu hardy main restricted
#deb-src http://archive.ubuntu.com/ubuntu hardy-updates main restricted
#deb-src http://archive.ubuntu.com/ubuntu hardy universe
#deb-src http://archive.ubuntu.com/ubuntu hardy-updates universe
#deb-src http://archive.ubuntu.com/ubuntu hardy multiverse
#deb-src http://archive.ubuntu.com/ubuntu hardy-updates multiverse
#deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
#deb-src http://security.ubuntu.com/ubuntu hardy-security universe
#deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse

Gorlist
June 29th, 2009, 04:06 AM
thank you :) all working.