Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
every time i try to update or open synaptic package manager i get an error saying that it failed to connect or something also the update notifier will pop up with errors and there is an ugly red triangle icon with a ! inside of it how do i fix the repositories so they can connect to the server again
In the past with Ubuntu, I found the default repositories would do that from time to time as the repositories were in a far away land and often a connection could not be established within the proper time frame. Changing them to mirrors closer to home did the trick.
Let's say you're from Bosnia. Go to the page and click on one of the three types of mirrors available from one outfit in Bosnia, they are, http, ftp, and rsync. Http is my preference as they seem to be faster. So click on the http link and you will be taken to this site: http://archive.ubuntu.com.ba/ubuntu/. Put thar URL in place of the default site in your /etc/apt/sources.list as shown in the example below:
Code:
deb http://archive.ubuntu.com.ba/ubuntu/ squeeze main contrib non-free
deb-src http://archive.ubuntu.com.ba/ubuntu/ squeeze main contrib non-free
deb http://mirror.csclub.uwaterloo.ca/debian-security/ squeeze/updates main contrib non-free
deb-src http://mirror.csclub.uwaterloo.ca/debian-security/ squeeze/updates main contrib non-free
deb http://mirror.csclub.uwaterloo.ca/debian-multimedia/ squeeze main
deb-src http://mirror.csclub.uwaterloo.ca/debian-multimedia/ squeeze main
deb http://unofficial.debian-maintainers.org/ sid main contrib non-free restricted
deb-src http://unofficial.debian-maintainers.org/ sid main contrib non-free restricted
deb http://mirror.csclub.uwaterloo.ca/debian-multimedia/ squeeze non-free
deb-src http://mirror.csclub.uwaterloo.ca/debian-multimedia/ squeeze non-free
You will notice my sources.list example above is for Debian testing and I just changed a couple lines to a Ubuntu mirror, of course this won't work but it should give you insight on how to change to better mirror, the section of the line highlighted in blue is the only part you need to change.
Also, do a search in synaptic for apt, there are packages available that can run speed tests on these sites if you want to find the fastest mirror in your area.
just tried the update again and i got this error message that has a red circle with a white horizontal line in the middle and the title text says "could not download all repository indexes" and the rest of the message says the following
Code:
Failed to fetch http://security.ubuntu.com/ubuntu/dists/gutsy-security/main/binary-i386/Packages.gz 404 Not Found [IP: 91.189.88.37 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/gutsy-security/restricted/binary-i386/Packages.gz 404 Not Found [IP: 91.189.88.37 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/gutsy-security/universe/binary-i386/Packages.gz 404 Not Found [IP: 91.189.88.37 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/gutsy-security/multiverse/binary-i386/Packages.gz 404 Not Found [IP: 91.189.88.37 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/gutsy-security/main/source/Sources.gz 404 Not Found [IP: 91.189.88.37 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/gutsy-security/restricted/source/Sources.gz 404 Not Found [IP: 91.189.88.37 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/gutsy-security/universe/source/Sources.gz 404 Not Found [IP: 91.189.88.37 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/gutsy-security/multiverse/source/Sources.gz 404 Not Found [IP: 91.189.88.37 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy/main/binary-i386/Packages.gz 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy/restricted/binary-i386/Packages.gz 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy/universe/binary-i386/Packages.gz 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy/multiverse/binary-i386/Packages.gz 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy/main/source/Sources.gz 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy/restricted/source/Sources.gz 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy/universe/source/Sources.gz 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy/multiverse/source/Sources.gz 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy-updates/main/binary-i386/Packages.gz 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy-updates/restricted/binary-i386/Packages.gz 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy-updates/universe/binary-i386/Packages.gz 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy-updates/multiverse/binary-i386/Packages.gz 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy-updates/main/source/Sources.gz 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy-updates/restricted/source/Sources.gz 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy-updates/universe/source/Sources.gz 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy-updates/multiverse/source/Sources.gz 404 Not Found [IP: 91.189.92.166 80]
Some index files failed to download, they have been ignored, or old ones used instead.
Had to dig into memory.
Others that had similar situations in the past, being able to connect to the net through one application and not the other, like being able to surf with the browser but not connect to repository mirrors usually had corrupt yum configuration, or home network/router settings changed. The reason I say yum is because this was usually associated with Fedora.
Did you play with firewall settings recently?
Or if on a network or behind a router, something may have been altered from power outage or similar.
IPV6 is also poking at me.
well now that you mention it there was a power outage a few weeks ago since that hurricane that developed in the gulf the power went out and apparently i mighthave been doing some updates so that might be the problem
i also tried doing a package repair in recovery mode it got the same error
then what do you suggest i should do to solve this problem i haven't been able to use the package manager for more that a couple months and i don't want to do a clean install
then what do you suggest i should do to solve this problem i haven't been able to use the package manager for more that a couple months and i don't want to do a clean install
A clean install of the current release (10.04) is your easiest, cleanest option.
Ubuntu is a fast-moving distro; if you don't stay on top of upgrades, you'll get left behind. You might want to stick with the Long Term Support releases (like 10.04, which will be supported through April 2013).
well since there isn't anything else available i should now just do a clean install i need
to get my data backed up first this will take a while
Correct. "Gutsy" is ubuntu 7.10 and is no longer supported: Back up your data. Make a clean install.
"Upgrades" are unlikely to work as you are so far behind the 'buntu releases.
actually i was running 10.04 lucid lynx but what i don't understand is that the code box came back out at me as gutsy is this maybe because that i refused to update it when i first installed it or was this the result of some freak accident
Last edited by baronobeefdip; 08-05-2010 at 10:15 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.