LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 06-02-2006, 03:37 PM   #1
lloydsmart
LQ Newbie
 
Registered: Dec 2005
Posts: 29

Rep: Reputation: 15
Unhappy Problem with apt


Hi. I recently upgraded from 64-bit breezy to 64-bit dapper. Loving it so far, except for one problem - apt and Synaptic are being a bitch.

Here's the output I get from sudo apt-get update:

Code:
Ign http://security.ubuntu.com dapper-security Release.gpg Ign
http://gb.archive.ubuntu.com dapper Release.gpg Ign
http://gb.archive.ubuntu.com dapper-updates Release.gpg Ign
http://gb.archive.ubuntu.com dapper-backports Release.gpg Ign
http://security.ubuntu.com dapper-security Release Ign
http://gb.archive.ubuntu.com dapper Release Ign
http://gb.archive.ubuntu.com dapper-updates Release Ign
http://security.ubuntu.com dapper-security/main Packages Ign
http://gb.archive.ubuntu.com dapper-backports Release Ign
http://security.ubuntu.com dapper-security/restricted Packages Ign
http://security.ubuntu.com dapper-security/universe Packages Ign
http://gb.archive.ubuntu.com dapper/main Packages Ign
http://gb.archive.ubuntu.com dapper/restricted Packages Ign
http://gb.archive.ubuntu.com dapper/universe Packages Ign
http://gb.archive.ubuntu.com dapper/multiverse Packages Ign
http://gb.archive.ubuntu.com dapper/universe Packages
Errhttp://security.ubuntu.com dapper-security/main Packages 302 Found
Ign http://gb.archive.ubuntu.com dapper-updates/main Packages Ign
http://gb.archive.ubuntu.com dapper-updates/restricted Packages Ign
http://gb.archive.ubuntu.com dapper-backports/main Packages Ign
http://gb.archive.ubuntu.com dapper-backports/restricted Packages Ign
http://gb.archive.ubuntu.com dapper-backports/universe Packages Ign
http://gb.archive.ubuntu.com dapper-backports/multiverse Packages
Errhttp://gb.archive.ubuntu.com dapper/main Packages 302 Found [IP: 85.133.25.7 80]
Errhttp://security.ubuntu.com dapper-security/restricted Packages 302
Found Errhttp://gb.archive.ubuntu.com dapper/restricted Packages 302
Found [IP: 85.133.25.7 80] Errhttp://gb.archive.ubuntu.com dapper/universe Packages 302 Found [IP: 85.133.25.7 80]
Errhttp://gb.archive.ubuntu.com dapper/multiverse Packages 302 Found [IP: 85.133.25.7 80]
Errhttp://gb.archive.ubuntu.com dapper/universe Packages 302 Found [IP: 85.133.25.7 80]
Errhttp://gb.archive.ubuntu.com dapper-updates/main Packages 302 Found [IP: 85.133.25.7 80]
Errhttp://gb.archive.ubuntu.com dapper-updates/restricted Packages 302 Found [IP: 85.133.25.7 80]
Errhttp://gb.archive.ubuntu.com dapper-backports/main Packages 302 Found [IP: 85.133.25.7 80]
Errhttp://gb.archive.ubuntu.com dapper-backports/restricted Packages 302 Found [IP: 85.133.25.7 80]
Errhttp://gb.archive.ubuntu.com dapper-backports/universe Packages 302 Found [IP: 85.133.25.7 80]
Errhttp://gb.archive.ubuntu.com dapper-backports/multiverse Packages 302 Found [IP: 85.133.25.7 80]
Errhttp://security.ubuntu.com dapper-security/universe Packages 302 Found
Reading package lists...
Synaptic mostly works, except I get the following error when I click "Reload":

Code:
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.

http://gb.archive.ubuntu.com/ubuntu/dists/dapper/restricted/binary-amd64/Packages.bz2: Sub-process bzip2 returned an error code (2)
Can anyone help? This is REALLY starting to annoy me - I can't even install the nVidia drivers!

I'm behind a University proxy, if that makes any difference, but I think I've set it up correctly. It's a HTTP proxy with authentication. Web browsing works, and I can use apt/synaptic sometimes (for some repositories), so it's not a problem with internet access.

Here's my sources.list, if that helps:

Code:
deb http://gb.archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
# deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper main restricted
## Major bug fix updates produced after the final release of the
## distribution. deb http://gb.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
# deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
## 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://gb.archive.ubuntu.com/ubuntu/ dapper universe
# deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper universe
## 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://gb.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
# deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu dapper-security main restricted
# deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted deb http://security.ubuntu.com/ubuntu dapper-security universe
# deb-src http://security.ubuntu.com/ubuntu dapper-security universe
Thanks in advance for your help.
 
Old 06-02-2006, 03:50 PM   #2
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
Here is my repos list you can have one created at the following address.

http://www.ubuntulinux.nl/source-o-matic

If you use my repos list you will need to import some keys with the following commands.

gpg --keyserver subkeys.pgp.net --recv KEY
gpg --export --armor KEY | sudo apt-key add -

As for the proxy settings. You will need to configure those. Never really had to deal with a proxy server regarding apt-get.


---------------------------------------

# Automatically generated sources.list
# http://www.ubuntulinux.nl/source-o-matic
#
# If you get errors about missing keys, lookup the key in this file
# and run these commands (replace KEY with the key number)
#
# gpg --keyserver subkeys.pgp.net --recv KEY
# gpg --export --armor KEY | sudo apt-key add -

# Ubuntu supported packages (packages, GPG key: 437D05B5)
deb http://us.archive.ubuntu.com/ubuntu dapper main restricted
deb http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted
deb http://security.ubuntu.com/ubuntu dapper-security main restricted

# Ubuntu supported packages (sources, GPG key: 437D05B5)
deb-src http://us.archive.ubuntu.com/ubuntu dapper main restricted
deb-src http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted

# Ubuntu community supported packages (packages, GPG key: 437D05B5)
deb http://us.archive.ubuntu.com/ubuntu dapper universe multiverse
deb http://us.archive.ubuntu.com/ubuntu dapper-updates universe multiverse
deb http://security.ubuntu.com/ubuntu dapper-security universe multiverse

# Ubuntu community supported packages (sources, GPG key: 437D05B5)
deb-src http://us.archive.ubuntu.com/ubuntu dapper universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu dapper-updates universe multiverse
deb-src http://security.ubuntu.com/ubuntu dapper-security universe multiverse

deb http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse

#created by arniedappersecond
deb http://theli.free.fr/packages/dapper/ ./

# Seveas' packages (packages, GPG key: 1135D466)
deb http://mirror2.ubuntulinux.nl dapper-seveas all

# Seveas' packages (sources, GPG key: 1135D466)
deb-src http://seveas.theplayboymansion.net/seveas dapper-seveas all

# Cipherfunk multimedia packages (packages, GPG key: 33BAC1B3)
deb ftp://cipherfunk.org/pub/packages/ubuntu/ dapper main

# Cipherfunk multimedia packages (sources, GPG key: 33BAC1B3)
deb-src ftp://cipherfunk.org/pub/packages/ubuntu dapper main

# Bleeding edge wine packages (packages)
deb http://wine.budgetdedicated.com/apt dapper main

# Bleeding edge wine packages (sources)
deb-src http://wine.budgetdedicated.com/apt dapper main

# The Opera browser (packages)
deb http://deb.opera.com/opera etch non-free
 
Old 06-02-2006, 03:51 PM   #3
uteck
Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Sidux, LinHES, and Mythbuntu
Posts: 209

Rep: Reputation: 32
The problem is just with gb.archive. Comment out this source and just use the standard ones provided since they also have the resticted modules there.
 
Old 06-02-2006, 11:33 PM   #4
lloydsmart
LQ Newbie
 
Registered: Dec 2005
Posts: 29

Original Poster
Rep: Reputation: 15
Cool

THANKYOU THANKYOU THANKYOU THANKYOU THANKYOU!!!

The source-o-matic solved my problem completely, and I see some useful new repos in brianthegreat's post that I might use - thanks. (Yeah, I'm a bit of a n00b).

I knew I could count on LQ to help me out. You're both legends!
 
  


Reply

Tags
apt, debian, downloading, internet, network, ubuntu, update


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
apt-get problem wwwjscom Ubuntu 5 11-02-2005 09:37 PM
problem with apt get waelali Linux - Software 1 03-12-2005 06:55 AM
apt-get problem moby Linux - Newbie 7 05-16-2004 04:02 PM
Problem with apt tbalboni Linspire/Freespire 13 04-21-2004 05:05 PM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 11:54 PM


All times are GMT -5. The time now is 05:41 PM.

Main Menu
Advertisement
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