Skip to main content

Thread: Apt-get duplicate sources issue


whenever run sudo apt-get update first time after having installed or uninstalled package, list of errors regarding duplicate entries:

code:
w: duplicate sources.list entry http://us.archive.ubuntu.com jaunty/universe packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_jaunty_universe_binary-i386_packages)  w: duplicate sources.list entry http://us.archive.ubuntu.com jaunty/universe packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_jaunty_universe_binary-i386_packages)  w: duplicate sources.list entry http://us.archive.ubuntu.com jaunty/main packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_jaunty_main_binary-i386_packages)  w: duplicate sources.list entry http://us.archive.ubuntu.com jaunty/restricted packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_jaunty_restricted_binary-i386_packages)  w: duplicate sources.list entry http://us.archive.ubuntu.com jaunty/universe packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_jaunty_universe_binary-i386_packages)  w: duplicate sources.list entry http://us.archive.ubuntu.com jaunty-updates/universe packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_jaunty-updates_universe_binary-i386_packages)  w: duplicate sources.list entry http://archive.canonical.com jaunty/partner packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_jaunty_partner_binary-i386_packages)  w: may want run apt-get update correct these problems
as says @ bottom, running apt-get update again seem rid of error messages, next time need update they're there again, it's not being corrected.

here's sources.list file:

code:
# deb cdrom:[ubuntu 9.04 _jaunty jackalope_ - release i386 (20090420.1)]/ jaunty main restricted  # see http://help.ubuntu.com/community/upgradenotes how upgrade  # newer versions of distribution.    deb http://us.archive.ubuntu.com/ubuntu/ jaunty main restricted universe  deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty main restricted    ## major bug fix updates produced after final release of  ## distribution.  deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted universe  deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted    ## n.b. software repository entirely unsupported ubuntu  ## team. also, please note software in universe not receive  ## review or updates ubuntu security team.  deb http://us.archive.ubuntu.com/ubuntu/ jaunty universe  deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty universe  deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe  deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe    ## n.b. software repository entirely unsupported ubuntu   ## team, , may not under free licence. please satisfy   ## rights use software. also, please note software in   ## multiverse not receive review or updates ubuntu  ## security team.  deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse  deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse  deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse  deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse    ## uncomment following 2 lines add software 'backports'  ## repository.  ## n.b. software repository may not have been tested  ## extensively contained in main release, although includes  ## newer versions of applications may provide useful features.  ## also, please note software in backports not receive review  ## or updates ubuntu security team.  # deb http://us.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse  # deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse    ## uncomment following 2 lines add software canonical's  ## 'partner' repository.  ## software not part of ubuntu, offered canonical ,  ## respective vendors service ubuntu users.  deb http://archive.canonical.com/ubuntu jaunty partner  deb-src http://archive.canonical.com/ubuntu jaunty partner    deb http://security.ubuntu.com/ubuntu jaunty-security main restricted  deb-src http://security.ubuntu.com/ubuntu jaunty-security main restricted    deb http://security.ubuntu.com/ubuntu jaunty-security universe  deb-src http://security.ubuntu.com/ubuntu jaunty-security universe    deb http://security.ubuntu.com/ubuntu jaunty-security multiverse  deb-src http://security.ubuntu.com/ubuntu jaunty-security multiverse    deb http://us.archive.ubuntu.com/ubuntu jaunty universe main restricted universe  deb-src http://us.archive.ubuntu.com/ubuntu jaunty universe main restricted universe    deb http://archive.canonical.com/ubuntu jaunty partner  deb-src http://archive.canonical.com/ubuntu jaunty partner    deb http://ppa.launchpad.net/d.filoni/dillo/ubuntu jaunty main  deb-src http://ppa.launchpad.net/d.filoni/dillo/ubuntu jaunty main    deb http://ppa.launchpad.net/c-korn/vlc/ubuntu jaunty main  deb-src http://ppa.launchpad.net/c-korn/vlc/ubuntu jaunty main
any idea how fix this?

you need edit /etc/apt/sources.list , comment out 1 of duplicate entries universe , partner repositories.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Apt-get duplicate sources issue


Ubuntu

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial