LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 07-25-2010, 10:09 PM   #1
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,179

Rep: Reputation: 32
ubuntu software repositories aren't working


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

screenshots of the error message coming soon
 
Old 07-26-2010, 12:30 AM   #2
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 258

Rep: Reputation: 42
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.
 
1 members found this post helpful.
Old 07-26-2010, 07:14 AM   #3
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,179

Original Poster
Rep: Reputation: 32
how do i know which mirrors to select, heck how do i change the mirrors

the sudo apt-get commands work but nothing comes up in synaptic or the update manager
 
Old 07-26-2010, 09:16 AM   #4
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Follow link provided by Brains, to find mirror list.

You can add or remove mirror entry in /etc/apt/sources.list file.
 
Old 07-26-2010, 12:42 PM   #5
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 258

Rep: Reputation: 42
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.

Last edited by Brains; 07-26-2010 at 12:44 PM.
 
Old 07-26-2010, 07:48 PM   #6
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,179

Original Poster
Rep: Reputation: 32
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.
 
Old 07-26-2010, 11:32 PM   #7
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 258

Rep: Reputation: 42
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.

These are some of the areas to look at.
 
Old 07-29-2010, 09:38 AM   #8
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,179

Original Poster
Rep: Reputation: 32
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
 
Old 07-29-2010, 12:32 PM   #9
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,008

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Quote:
Failed to fetch http://security.ubuntu.com/ubuntu/di...86/Packages.gz 404 Not Found [IP: 91.189.88.37 80]
"Gutsy" is ubuntu 7.10

I believe support has been dropped, because it is so old.

If you go here (I trimmed your earlier link) you can see the distros currently "supported" and the date/time they were last updated.
 
Old 08-04-2010, 03:41 PM   #10
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,179

Original Poster
Rep: Reputation: 32
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
 
Old 08-04-2010, 03:49 PM   #11
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 3,915

Rep: Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046
Quote:
Originally Posted by baronobeefdip View Post
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.

If you don't want to do that for whatever reason, you can do a messy, multi-step "EOL upgrade": https://help.ubuntu.com/community/EOLUpgrades

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).
 
Old 08-05-2010, 04:46 PM   #12
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,179

Original Poster
Rep: Reputation: 32
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
 
Old 08-05-2010, 05:00 PM   #13
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,008

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Quote:
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.

Then restore your data from the backup.
 
Old 08-05-2010, 10:13 PM   #14
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,179

Original Poster
Rep: Reputation: 32
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.
 
Old 08-08-2010, 10:49 AM   #15
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,179

Original Poster
Rep: Reputation: 32
hey how do you upgrade a version of ubuntu without having to use a cd (or live usb its pretty much the same)

like say i have a friend who is still using karmik koala but wants to upgrade to lucid lynx without having to use another cd from the web site
 
  


Reply

Tags
repositories, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Software Repositories; What they are, and why they are the best Bluestreak Linux - Software 2 03-12-2009 08:56 PM
LXer: Install GLPI (IT and asset Managemet Software) from Ubuntu Repositories LXer Syndicated Linux News 0 02-10-2009 02:10 PM
I cant get to the software repositories nolrai Ubuntu 5 08-19-2008 11:01 AM
LXer: Installing Xen On An Ubuntu Feisty Fawn Server From The Ubuntu Repositories LXer Syndicated Linux News 0 07-01-2007 06:46 AM


All times are GMT -5. The time now is 02:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration