Could not download all repository indexes
I'm new to Ubuntu and Linux and I'm trying to install packages so I can play proprietary formats. The instructions on the help tells me to check that the relevant repositories are enabled. Once you go through the settings it tells you to click RELOAD. A download box comes up and goes through 20 of the 22 files. A box then comes up that says
Could not download all repository indexes
The repository might be no longer available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and the correct writing of the repository address in the preferences.
In the center of the box it list two links. They are:
http://
http://
Thank you for any help you can give.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu synaptic Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Justin Payne
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hiya :)
Can you copy and paste the output of the following command from a terminal window:
cat /etc/apt/
Regards,
Justin
Revision history for this message
|
#2 |
My mistake, it was supposed to be an information request.
Revision history for this message
|
#3 |
Here is the output from the command
atman@atman-
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://
# deb-src http://
deb http://
deb-src http://
# deb http://
# deb-src http://
atman@atman-
Thanks
Revision history for this message
|
#4 |
Ok, switch up your sources.list with this:
gksu gedit /etc/apt/
And replace it with:
## Add comments (##) in front of any line to remove it from being checked.
## Use the following sources.list at your own risk.
deb http://
deb-src http://
## MAJOR BUG FIX UPDATES produced after the final release
deb http://
deb-src http://
## UBUNTU SECURITY UPDATES
deb http://
deb-src http://
## BACKPORTS REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
deb http://
deb-src http://
Save the file and run:
sudo aptitude update
That should clear up the problems :)
Hope this helps,
Justin
Revision history for this message
|
#5 |
Some of this looks like it shows errors. Is this correct?
atman@atman-
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavail able)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another proc ess using it?
Reading package lists... Done
Building dependency tree... Done
Initialising package states... Done
Building tag database... Done
Get:1 http://
Hit http://
Err http://
Could not resolve ‘gb,archive.
Hit http://
Hit http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Hit http://
Ign http://
Hit http://
Get:6 http://
Get:7 http://
Hit http://
Hit http://
Get:8 http://
Get:9 http://
Hit http://
Hit http://
Get:10 http://
Ign http://
Ign http://
Ign http://
Ign http://
Err http://
Could not resolve ‘gb,archive.
Err http://
Could not resolve ‘gb,archive.
Err http://
Could not resolve ‘gb,archive.
Err http://
Could not resolve ‘gb,archive.
Get:11 http://
Hit http://
Hit http://
Get:12 http://
Get:13 http://
Hit http://
Hit http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Fetched 3691kB in 20s (182kB/s)
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavail able)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another proc ess using it?
E: Couldn't rebuild package cache
atman@atman-
Revision history for this message
|
#6 |
Ensure that you don't have any programs open such as Synaptic Package Manager or the Add/Remove Applications window, then try again. That usually means you have another program open that is trying to access your sources, though it can only be used by one program at a time :)
Regards,
Justin
Revision history for this message
|
#7 |
It's still showing a few errors. Thanks again for helping.
atman@atman-
Reading package lists... Done
Building dependency tree... Done
Initialising package states... Done
Building tag database... Done
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Hit http://
Hit http://
Hit http://
Err http://
Could not resolve ‘gb,archive.
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Err http://
Could not resolve ‘gb,archive.
Err http://
Could not resolve ‘gb,archive.
Err http://
Could not resolve ‘gb,archive.
Err http://
Could not resolve ‘gb,archive.
Fetched 4B in 1s (2B/s)
Reading package lists... Done
atman@atman-
Revision history for this message
|
#8 |
Please slap me upside the head with a brick. I made a typo with the sources.list I provided you.
gksu gedit /etc/apt/
and edit the lines:
## MAJOR BUG FIX UPDATES produced after the final release
deb http://
deb-src http://
it should be
deb http://
A comma snuck in there instead of a period :)
Revision history for this message
|
#9 |
Thanks Neolithium (Justin Payne), that solved my question.
Revision history for this message
|
#10 |
It's funny how a little comma can mess so much up.
Thank you very much for all your help.
Michael
Revision history for this message
|
#12 |
hi im new in ubuntu. Ive encountered this problem and look for answers in google and gave me this link.. and been reading this thread Question #8217 and go do the same thing but still ive this problem..
root@bugoy:
Reading package lists... Done
Building dependency tree... Done
Initializing package states... Done
Building tag database... Done
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Hit http://
Get:6 http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:7 http://
99% [7 Packages gzip 0] [Waiting for headers] [Waiting for headers]
gzip: stdin: not in gzip format
Err http://
Sub-process gzip returned an error code (1)
Hit http://
Get:8 http://
Hit http://
99% [8 Packages bzip2 0] [Waiting for headers] [Waiting for headers]
bzip2: Data integrity error when decompressing.
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
Err http://
Sub-process bzip2 returned an error code (2)
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 8B in 4s (2B/s)
Reading package lists... Done
btw my 1st problem was this
http://
when i reload the Synaptic Package Manager
Revision history for this message
|
#13 |
Another Newbie here maybe you can help me: as you see I typed in:
gksu gedit /etc/apt/
and my results will follow. But above you posted this and I am so new to this I cannot figure the steps.
and edit the lines as you directed:
## MAJOR BUG FIX UPDATES produced after the final release
deb http://
deb-src http://
Now here is what I get:
See http://
# newer versions of the distribution.
deb http://
deb-sr c http://
## Major bug fix updates produced after the final release of the
## distribution.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://
# deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
#AUTOMATIX REPOS START
deb http://
deb-src http://
deb http://
deb-src http://
#AUTOMATIX REPOS END
deb http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
I am wondering if I am missing something in my Reposiory or tht I haven't completely installed something.
I get errors all the time See http://
# newer versions of the distribution.
deb http://
deb-sr c http://
## Major bug fix updates produced after the final release of the
## distribution.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://
# deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
#AUTOMATIX REPOS START
deb http://
deb-src http://
deb http://
deb-src http://
#AUTOMATIX REPOS END
deb http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
I also think I might not have everything installed in Ubuntu 7.04
When I go to Repository I get errors related to medibunt as well as in the Add/Remove Applications.
When I go Third Party software there are always the following, the first three have a check mark but not the source code.
http://
http://
http://
This one isn't checked off: http://
I just tried to go into Synaptic and see the error below. HELP HELP!
E: Type 'deb-sr' is not known on line 5 in source list /etc/apt/
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.
Revision history for this message
|
#14 |
When reloading or starting Synaptic I get the same error message "Could not download all repository indexes"
Below are associated error messages. I can visit the URLs in firefox so 403 doesn't make sense.
Changing the repository doesn't help. Synaptic was working a few days ago?
I am new to Ubuntu (and all linux) should I/how would I reinstall synaptic/apt-get. That would have been my windows solution?
I have included the output of "cat /etc/apt/
Cheers
Rob Mc
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Some index files failed to download, they have been ignored, or old ones used instead.
=======
and the output of:
rpgm2@rpgm2-
# deb cdrom:[Ubuntu 8.04.1 _Hardy Heron_ - Release amd64 (20080702.1)]/ hardy main restricted
# See http://
# newer versions of the distribution.
## Major bug fix updates produced after the final release of the
## distribution.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://
# deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://
# deb-src http://
deb http://
deb-src http://
#Added by software-properties
deb http://
deb-src http://
deb http://
deb-src http://
Revision history for this message
|
#15 |
Problem solved. System proxy set to use office proxy , firefox correctly set to use home network. Still not sure why Error 403 - site contactable but permission denied? anyway...
Revision history for this message
|
#16 |
@ RobMc
Please don't append a new question on a marked as solved question.
For your "Still not sure why Error 403 - site contactable but permission denied? anyway..."
Please make new question from here: https:/
you will get better chance to get right answer on a fresh tagged "open" question.
Solved question are usually not read from answering people.
Thank you