Duplicate sources.list entries

Nils Kassube kassube at gmx.net
Mon Apr 19 06:52:55 UTC 2010


Georgi Kourtev wrote:
> From some time I have issue with duplicated entries in sources.list.
>  When running aptitude update or apt-get update I got the below
>  message after at least 2 to 3 minutes of reading the sources. I have
>  tried some suggestions found over the internet but nothing helped.

Well, what did you try that didn't work? Did you check for duplicate 
entries and remove them?

> W: Duplicate sources.list entry http://archive.ubuntu.com karmic-
> backports/main Packages

> W: Duplicate sources.list entry http://archive.ubuntu.com karmic-
> backports/restricted Packages

> W: Duplicate sources.list entry http://archive.ubuntu.com karmic-
> backports/universe Packages

> W: Duplicate sources.list entry http://archive.ubuntu.com karmic-
> backports/multiverse Packages

Due to the above warnings I would assume that you have something like 
this line

deb http://archive.ubuntu.com/ubuntu/ karmic-backports universe main multiverse restricted

and also lines with single entries like this

deb http://archive.ubuntu.com/ubuntu/ karmic-backports main
deb http://archive.ubuntu.com/ubuntu/ karmic-backports restricted
...

in your sources.list file. Use the command

kdesudo kate /etc/apt/sources.list

to edit the file and remove either the line with all four repositories 
or the lines with single entries.


Nils




More information about the kubuntu-users mailing list