Ubuntu Sources

Solidus

Expert Member
Joined
Jun 2, 2008
Messages
1,152
Reaction score
0
Location
Cape Town
I just redone an Installation of Ubuntu 8.10
However, I get an error with my sources list and can't install any packages.
Can someone advise me what to take out and put in?
 
Does this error appear during the installation? If so, it's possible that the ISO is corrupt; it happened to me a few times. You can check on another computer by using the md5sum command and comparing the output to the public hash.

If it happens in Ubuntu when trying to upgrade or install a package, what is the actual error?
 
Nah its not in the installation, everything is working.
It's when I try to do a aptitude install of a package it just says 0 bytes downloaded and I can clearly see the package in the pool. I'll post the message now

This just happens when I try to install a package
Code:
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
 
Last edited:
When using the package manager it seems to be falling over with the
http ://za.archive.ubuntu as well as the securtiy packages
 
What is the output of:

Code:
sudo apt-get update

Can you post a copy of /etc/apt/sources.list ?

Code:
sudo apt-get update
yields these errors:

gn http://za.archive.ubuntu.com intrepid-updates/main Translation-en_ZA
Ign http://za.archive.ubuntu.com intrepid-updates/restricted Translation-en_ZA
Ign http://za.archive.ubuntu.com intrepid-updates/universe Translation-en_ZA
Ign http://za.archive.ubuntu.com intrepid-updates/multiverse Translation-en_ZA
Get:8 http://security.ubuntu.com intrepid-security/universe Packages
Hit http://za.archive.ubuntu.com intrepid Release
Get:9 http://security.ubuntu.com intrepid-security/universe Sources
Get:10 http://security.ubuntu.com intrepid-security/multiverse Packages
Ign http://security.ubuntu.com intrepid-security/multiverse Sources
Get:11 http://za.archive.ubuntu.com intrepid-updates Release [51.2kB]
Get:12 http://za.archive.ubuntu.com intrepid/main Packages
Get:13 http://security.ubuntu.com intrepid-security/multiverse Sources
99% [4 Packages bzip2 0] [Connecting to za.archive.ubuntu.com (155.232.191.229)
gzip: stdin: not in gzip format
Err http://security.ubuntu.com intrepid-security/multiverse Sources
Sub-process gzip returned an error code (1)
Get:14 http://za.archive.ubuntu.com intrepid/restricted Packages
Get:15 http://za.archive.ubuntu.com intrepid/main Sources
Get:16 http://za.archive.ubuntu.com intrepid/restricted Sources

Gets repeated over and over. My sources list is:

#
# deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081028)]/ intrepid main restricted

#deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081028)]/ intrepid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://za.archive.ubuntu.com/ubuntu/ intrepid main restricted
deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://za.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://za.archive.ubuntu.com/ubuntu/ intrepid universe
deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://za.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid-updates universe

## 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.
deb http://za.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://za.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

## 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://za.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
# deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

## 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://archive.canonical.com/ubuntu intrepid partner
# deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb http://security.ubuntu.com/ubuntu intrepid-security universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse
 
Try the following:

Code:
sudo apt-get clean
sudo apt-get autoclean
sudo rm /var/lib/apt/lists/partial/*
sudo apt-get update

See if it gives errors again after that...
If so then change your sources list ... the last 6 lines should be:

Code:
deb http://za.archive.ubuntu.com/ubuntu/ intrepid-security main restricted
deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid-security main restricted
deb http://za.archive.ubuntu.com/ubuntu/ intrepid-security universe
deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid-security universe
deb http://za.archive.ubuntu.com/ubuntu/ intrepid-security multiverse
deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid-security multiverse
 
Try the following:

Code:
sudo apt-get clean
sudo apt-get autoclean
sudo rm /var/lib/apt/lists/partial/*
sudo apt-get update

See if it gives errors again after that...
If so then change your sources list ... the last 6 lines should be:

Code:
deb http://za.archive.ubuntu.com/ubuntu/ intrepid-security main restricted
deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid-security main restricted
deb http://za.archive.ubuntu.com/ubuntu/ intrepid-security universe
deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid-security universe
deb http://za.archive.ubuntu.com/ubuntu/ intrepid-security multiverse
deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid-security multiverse

I tried all that and still getting the Ign HTTP error message
 
Got it to work, just whacked in the ftp in front of the mirror :D Thanks for the help sticky!
 
Need some help again I cant seem download the gstreamer codecs.
Code:
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/intrepid/universe/binary-i386/Packages.bz2  Sub-process bzip2 returned an error code (2)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/intrepid/restricted/binary-i386/Packages.bz2  Sub-process bzip2 returned an error code (2)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/intrepid/multiverse/binary-i386/Packages.bz2  Sub-process bzip2 returned an error code (2)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/intrepid/main/binary-i386/Packages.bz2  Sub-process bzip2 returned an error code (2)
Some index files failed to download, they have been ignored, or old ones used instead.

I get these errors when it tries to update.
I don't even have the archive.ubuntu in my sources list
 
Top
Sign up to the MyBroadband newsletter
X