[ubuntu-za] apt sources problem

Percy Langa percylanga at gmail.com
Mon Jul 16 11:13:11 UTC 2012


On 2012/07/16 12:51 PM, Bill Cairns wrote:
> I don't have any trouble editing it but I have trouble seeing any
> duplicates! All I have found duplicated is
>
> deb ftp://ftp.sun.ac.za/ubuntu precise main restricted universe multiverse
>
> Could that be causing my trouble?
>
> The error message refers to other files in /var/lib/apt/lists/ for example -
>
> W: Duplicate sources.list entry ftp://ftp.sun.ac.za/ubuntu/
> precise/main i386 Packages
> (/var/lib/apt/lists/ftp.sun.ac.za_ubuntu_dists_precise_main_binary-i386_Packages)
>
> Is this another possible source of errors?
>
> Here is the sources. list file:
>
> # deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386
> (20120423)]/ precise main restricted
> # Official Ubuntu 10.0.4 mirror for the University of Stellenbosch.
> deb ftp://ftp.sun.ac.za/ubuntu precise main restricted universe multiverse
> deb ftp://ftp.sun.ac.za/ubuntu precise-updates main restricted
> universe multiverse
> deb ftp://ftp.sun.ac.za/ubuntu precise-security main restricted
> universe multiverse
> deb ftp://ftp.sun.ac.za/ubuntu precise-backports main restricted
> universe multiverse
> deb ftp://ftp.sun.ac.za/ubuntu precise main restricted universe multiverse
>
> deb http://www.fbreader.org/desktop/debian precise main
> deb-src http://www.fbreader.org/desktop/debian precise main
>
> deb http://packages.medibuntu.org/ precise free non-free
> deb http://archive.ubuntu.com/ubuntu precise main universe restricted multiverse
> deb http://security.ubuntu.com/ubuntu/ precise-security universe main
> multiverse restricted
> deb http://archive.ubuntu.com/ubuntu precise-updates universe main
> multiverse restricted
This looks fine.

>
> # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
> # newer versions of the distribution.
> deb http://za.archive.ubuntu.com/ubuntu/ precise main restricted
> deb-src http://za.archive.ubuntu.com/ubuntu/ precise main restricted
Unless you need the deb-src, I would comment it out, like so:

#deb-src http://za.archive.ubuntu.com/ubuntu/ precise main restricted

> ## Major bug fix updates produced after the final release of the
> ## distribution.
> deb http://za.archive.ubuntu.com/ubuntu/ precise-updates main restricted
> deb-src http://za.archive.ubuntu.com/ubuntu/ precise-updates main restricted
Same as above.
> ## 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/ precise universe
> deb-src http://za.archive.ubuntu.com/ubuntu/ precise universe
> deb http://za.archive.ubuntu.com/ubuntu/ precise-updates universe
> deb-src http://za.archive.ubuntu.com/ubuntu/ precise-updates universe
Same as above.

Btw, is there a difference between za.archive.ubuntu.com and 
archive.ubuntu.com? Maybe someone on the list can confirm. I would 
comment out za.archive.ubuntu.com.
> ## 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/ precise multiverse
> deb-src http://za.archive.ubuntu.com/ubuntu/ precise multiverse
> deb http://za.archive.ubuntu.com/ubuntu/ precise-updates multiverse
> deb-src http://za.archive.ubuntu.com/ubuntu/ precise-updates multiverse
Comment out za.archive.ubuntu.com.
> ## 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/ precise-backports main
> restricted universe multiverse
> deb-src http://za.archive.ubuntu.com/ubuntu/ precise-backports main
> restricted universe multiverse
This looks ok.
> deb http://security.ubuntu.com/ubuntu precise-security main restricted
> deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
> deb http://security.ubuntu.com/ubuntu precise-security universe
> deb-src http://security.ubuntu.com/ubuntu precise-security universe
> deb http://security.ubuntu.com/ubuntu precise-security multiverse
> deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
duplicate? you already have security updates from sun.ac.za above.

> ## 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 precise partner
> # deb-src http://archive.canonical.com/ubuntu precise partner
>
> ## This software is not part of Ubuntu, but is offered by third-party
> ## developers who want to ship their latest software.
> deb http://extras.ubuntu.com/ubuntu precise main
> deb http://debian.scribus.net/debian/ precise main
> deb-src http://debian.scribus.net/debian/ precise main
> deb http://debian.tagancha.org/debian/ precise main
> deb-src http://debian.tagancha.org/debian/ precise main
> deb-src http://extras.ubuntu.com/ubuntu precise main
> deb http://linux.dropbox.com/ubuntu precise main
> deb-src http://linux.dropbox.com/ubuntu precise main
Looks ok. Do you need the deb-src?

I hope that helps. Whew! Your sources list is quite busy :)

Hopefully other people on the list will jump in and assist.

Percy



More information about the ubuntu-za mailing list