Duplicate sourcelist error

Asked by bigbrovar

Please could some one help me i been having a reoccurring problem of Duplicated source list any time i run sudo apt-get update....

W: Duplicate sources.list entry http://ng.archive.ubuntu.com feisty/multiverse Packages (/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_feisty_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://ng.archive.ubuntu.com feisty/universe Packages (/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_feisty_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com feisty-security/multiverse Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_feisty-security_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com feisty-security/universe Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_feisty-security_universe_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
bigbrovar@bigbrovar-laptop:~$

i have tried checkin my source list to see any source list that look exactly the same..but i found nothing..everything seem ok...i have tried everything i know but ..nothing seem to be working ..and the problem si so so frustrating..and i dont want to have to reinstall Feisty..please is there anything i can do or change or is there any command that would correct the problem...am really desperate...

here is my sourece list maybe u could help see what is not in the right place there..

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://ng.archive.ubuntu.com/ubuntu/ feisty main restricted
deb-src http://ng.archive.ubuntu.com/ubuntu/ feisty restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ng.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
deb-src http://ng.archive.ubuntu.com/ubuntu/ feisty-updates main restricted #Added by software-properties

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

deb http://security.ubuntu.com/ubuntu feisty-security main restricted
deb-src http://security.ubuntu.com/ubuntu feisty-security restricted main multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu feisty-security universe
deb http://security.ubuntu.com/ubuntu feisty-security multiverse

deb http://deb.opera.com/opera/ stable non-free
deb http://www.virtualbox.org/debian feisty non-free
deb http://elisa.fluendo.com/packages feisty main
deb http://archive.ubuntustudio.org/ubuntustudio feisty main
# deb http://ppa.dogfood.launchpad.net/amaranth/ubuntu feisty main restricted universe multiverse
deb http://download.tuxfamily.org/syzygy42/ feisty avant-window-navigator
deb-src http://download.tuxfamily.org/syzygy42/ feisty avant-window-navigator
deb http://hendrik.kaju.pri.ee/ubuntu feisty all
deb-src http://hendrik.kaju.pri.ee/ubuntu feisty all
# deb cdrom:[APTonCD for ubuntu feisty - i386 (2007-09-18 10:18) DVD1]/ /
deb http://ubuntusoftware.info/ edgy all
# deb cdrom:[APTonCD for ubuntu feisty - i386 (2007-09-18 10:18) DVD1]/ /

thanks in advance

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Rodrigo Donado (frezeeer) said :
#1

hi:
can you do this and tell me what it does:
sudo cp /var/etc/apt/sources.list /var/etc/apt/sources.list.old
sudo rm /var/etc/apt/sources.list
sudo apt-get update

Revision history for this message
bigbrovar (bigbrovar) said :
#2

can you do this and tell me what it does:
sudo cp /var/etc/apt/sources.list /var/etc/apt/sources.list.old
sudo rm /var/etc/apt/sources.list
sudo apt-get update

i tried what u suggested and i got this

bigbrovar@bigbrovar-laptop:~$ sudo cp /var/etc/apt/sources.list /var/etc/apt/sources.list.old
cp: cannot stat `/var/etc/apt/sources.list': No such file or directory
bigbrovar@bigbrovar-laptop:~$ sudo cp /var/etc/apt/sources.list /var/etc/apt/sources.list.old
cp: cannot stat `/var/etc/apt/sources.list': No such file or directory
bigbrovar@bigbrovar-laptop:~$ sudo rm /var/etc/apt/sources.list
rm: cannot remove `/var/etc/apt/sources.list': No such file or directory

Revision history for this message
Rodrigo Donado (frezeeer) said :
#3

sorry:
sudo cp /etc/apt/sources.list /var/etc/apt/sources.list.old
sudo rm /etc/apt/sources.list
sudo apt-get update

I made a mistake

Revision history for this message
Rodrigo Donado (frezeeer) said :
#4

wait:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.old
sudo rm /etc/apt/sources.list
sudo apt-get update

that is the good one, what I am trying to do is copy your sources.list, then remove it, and the see if you have another copy somewhere.
sorry for all the mistakes...

Revision history for this message
Wrwrwr (wrwrwr) said :
#5

Could you please first go to System-->Administration-->Software Sources and disable all third party sources.
At least this way it will be easier to diagnose, or maybe you'll be able to pin the offending entry.
(Alternatively comment out everything after feisty-security entries.)

Revision history for this message
drew fannin (drew99-1) said :
#6

LOL, So many ERRORS!!!!!!! >> FIXED MY PROBLEM

Can you help with this problem?

Provide an answer of your own, or ask bigbrovar for more information if necessary.

To post a message you must log in.