problem updating Wine. 404 error for download

Asked by twofoot

I keep getting an error when I try to update my system. Running Ubuntu 8 at this time.

Hit http://wine.budgetdedicated.com hardy/main Packages
Err http://us.archive.ubuntu.com edgy/universe Packages
  404 Not Found [IP: 91.189.88.31 80]
W: Failed to fetch http://wine.budgetdedicated.com/apt/dists/edgy/Release Unable to find expected entry main/source/Sources in Meta-index file (malformed Release file?)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/edgy/universe/binary-i386/Packages.gz 404 Not Found [IP: 91.189.88.31 80]

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

Any suggestions?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Gabriel Ruiz
Solved:
Last query:
Last reply:
Revision history for this message
Gabriel Ruiz (anakron) said :
#1

Mmm If yo see you have repositories of differents versions of ubuntu ( edgy and hardy ), so there could be the problem.

Revision history for this message
Best Gabriel Ruiz (anakron) said :
#2

Mmm If yo see you have repositories of differents versions of ubuntu ( edgy and hardy ), so there could be the problem.

Then, you can edit your sources.list file and put a # before the line that "talk" about wine. Its for that apt dont read it. Then you can erase them and then you must type this:

wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/hardy.list -O /etc/apt/sources.list.d/winehq.list

And block the lines that are bad reading by apt using #.

Bye

p.d.: You could change the server that give the repositories for your apt. This can help you too.

Revision history for this message
twofoot (twofoot) said :
#3

Oh... now that helped. =)

Makes perfect sense when you step back and look at it again.

Thank you!

Revision history for this message
twofoot (twofoot) said :
#4

Thanks Gabriel Ruiz, that solved my question.