PDA

View Full Version : duplicate error messages opening synaptic


Datchew
March 17th, 2005, 02:54 PM
using the ubuntuguide.org method of copy/pasting my way to enable extra repositories, i ended up now getting these little popup errors every time i open synaptic package manager.

how can i get rid of them?
(messages pasted below)
************************************************** ******************************

Duplicate sources.list entry ftp://archive.ubuntu.com warty/main Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_warty_main_binary-i386_Packages)

Duplicate sources.list entry ftp://archive.ubuntu.com warty/restricted Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_warty_restricted_b inary-i386_Packages)

Duplicate sources.list entry http://archive.ubuntu.com warty/main Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_warty_main_binary-i386_Packages)

Duplicate sources.list entry http://archive.ubuntu.com warty/restricted Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_warty_restricted_b inary-i386_Packages)

Duplicate sources.list entry http://archive.ubuntu.com warty/main Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_warty_main_binary-i386_Packages)

Duplicate sources.list entry http://archive.ubuntu.com warty/restricted Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_warty_restricted_b inary-i386_Packages)

WW
March 17th, 2005, 03:35 PM
You probably have a line like this

deb http://archive.ubuntu.com/ubuntu/ warty main restricted

and another like this

deb http://archive.ubuntu.com/ubuntu/ warty main restricted universe multiverse

in /etc/apt/sources.list. But this means "main" and "restricted" are listed twice.
If this is the case, you can delete (or comment out with a #) the first line.

Datchew
March 17th, 2005, 08:23 PM
hmmm... yes, i found duplicates.

i was trying to find duplicates inside the preferences -> repositories of synaptic manager but couldn't.

i #'d out the duplicates.
that seems to have done it.
thanks much.

nice to finally have an EASY fix.