could not download all repository indexes

Asked by steve1

Okay... installed Ubuntu 6.06lts yesterday. Then updated with automatic system updates. I want to add the community maintained and Non-free repositories with synaptic manager and received the message "Could not download all repository indexes" listing
http://il.archive.ubuntu.com/ubuntu/dists/dapper/main/source/sources.gz:404 Not found IP 192.116.202.128.80
http:il.archive.ubuntu.com/ubuntu/dists/dapper/restricted/source/sources.gz 404 not found IP 192.116.202.128.80
http://il.archive.ubuntu.com/ubuntu/dists/dapper/updates/main/binary:i386/packages.gz 404 not found IP 192.116.202.128.80
http://il.archive.ubuntu.com/ubuntu/dists/dapper/updates/restricted/source/sources.gz 404 not found IP 192.116.202.128.80
(this might not be exact.I wrote it on paper)

I then began searching forums for answers and from my limited understanding of Linux and computers in general, yada yada, that I need to make changes to my source file. You know delete these two lines etc. I did this and now I think I've dug the hole even deeper. This is now what I receive when I try to update repositories.

Would appreciate some help

http://il.archive.ubuntu.com/ubuntu/dists/dapper/main/source/Sources.gz: 404 Not Found [IP: 192.116.202.128 80]
http://il.archive.ubuntu.com/ubuntu/dists/dapper/restricted/source/Sources.gz: 404 Not Found [IP: 192.116.202.128 80]
http://il.archive.ubuntu.com/ubuntu/dists/dapper/multiverse/source/Sources.gz: 404 Not Found [IP: 192.116.202.128 80]
http://il.archive.ubuntu.com/ubuntu/dists/dapper-updates/main/binary-i386/Packages.gz: 404 Not Found [IP: 192.116.202.128 80]
http://il.archive.ubuntu.com/ubuntu/dists/dapper-updates/restricted/binary-i386/Packages.gz: 404 Not Found [IP: 192.116.202.128 80]
http://il.archive.ubuntu.com/ubuntu/dists/dapper-updates/multiverse/binary-i386/Packages.gz: 404 Not Found [IP: 192.116.202.128 80]
http://il.archive.ubuntu.com/ubuntu/dists/dapper-updates/main/source/Sources.gz: 404 Not Found [IP: 192.116.202.128 80]
http://il.archive.ubuntu.com/ubuntu/dists/dapper-updates/restricted/source/Sources.gz: 404 Not Found [IP: 192.116.202.128 80]
http://il.archive.ubuntu.com/ubuntu/dists/dapper-backports/main/binary-i386/Packages.gz: 404 Not Found [IP: 192.116.202.128 80]
http://il.archive.ubuntu.com/ubuntu/dists/dapper-backports/restricted/binary-i386/Packages.gz: 404 Not Found [IP: 192.116.202.128 80]
http://il.archive.ubuntu.com/ubuntu/dists/dapper-backports/universe/binary-i386/Packages.gz: 404 Not Found [IP: 192.116.202.128 80]
http://il.archive.ubuntu.com/ubuntu/dists/dapper-backports/multiverse/binary-i386/Packages.gz: 404 Not Found [IP: 192.116.202.128 80]
http://il.archive.ubuntu.com/ubuntu/dists/dapper-backports/main/source/Sources.gz: 404 Not Found [IP: 192.116.202.128 80]
http://il.archive.ubuntu.com/ubuntu/dists/dapper-backports/restricted/source/Sources.gz: 404 Not Found [IP: 192.116.202.128 80]
http://il.archive.ubuntu.com/ubuntu/dists/dapper-backports/universe/source/Sources.gz: 404 Not Found [IP: 192.116.202.128 80]
http://il.archive.ubuntu.com/ubuntu/dists/dapper-backports/multiverse/source/Sources.gz: 404 Not Found [IP: 192.116.202.128 80]

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
steve1
Solved:
Last query:
Last reply:
Revision history for this message
Riku Eskelinen (kingi89) said :
#1

It seems that there is some kind of technical difficulties with li.archive.ubuntu.com reporitory, so let's change it to another mirror:
1. Open the Run dialog
2. In KDE (Kubuntu), type kdesu kate /etc/apt/sources.list
2. In Gnome (Ubuntu), type gksu gedit /etc/apt/sources.list
3. Use the Find & Replace tool: find every "li." and replace it with "fi." (to use Finnish repository) or with "fr." (to use French reporitory)
4. Save & Exit
5. Open Terminal (KDE: konsole, Gnome: gnome-terminal)
6. Type sudo apt-get update
(It asks for your password and shows _nothing_ while you're typing it.)
7. Close Terminal and try to install something :)

Revision history for this message
steve1 (steve-bingham) said :
#2

Hi riku
I cannot download the Kubuntu-desktop.
In synaptic I get :

"The following packages have unresolvable dependancies. Make sure that all required repositories are added and enabled in preferences.

kubuntu-desktop:
 Depends: language-selector-qt but it is not going to be installed"

I don't have the language selector because of the repository problem...catch 22.

Any suggestions?
Thanks

Revision history for this message
steve1 (steve-bingham) said :
#3

What about if I reinstall and then try to make changes to source file?

Revision history for this message
Riku Eskelinen (kingi89) said :
#4

You can reinstall if you wish, or you could make your sources.list look like mine: http://jako.kserver.dy.fi/jako/recommended_sources.list.txt
(open it to new window, clear your sources.list, copy&paste, and then sudo apt-get update)
And then let me know if that helped you.

Revision history for this message
Best steve1 (steve-bingham) said :
#5

Yee hoo it works.
I used support request #3434 to show me how to edit root files,cut and paste, found updated source.list, replaced file and ran sudo apt-get update.Walla. Updated repositories.

It really is a tribute to Ubuntu that someone who hasn't touched a computer for 10 years can manage to learn so much in such a short time. (one month with Linux) All the support and answers are available. You just need to look.

Thanks for the help Riku

One more question, why do I have:-
etc/apt/sources.list.d - empty file
etc/apt/sources.list
etc/apt/sources.list.save

Thanks for the help Riku