LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Problem with apt (https://www.linuxquestions.org/questions/ubuntu-63/problem-with-apt-450992/)

lloydsmart 06-02-2006 02:37 PM

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!:cry:

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

brianthegreat 06-02-2006 02:50 PM

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

uteck 06-02-2006 02:51 PM

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.

lloydsmart 06-02-2006 10:33 PM

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!:D :D :D :D :D :cool:


All times are GMT -5. The time now is 04:14 PM.