Error in the terminal trying to fix an error with synaptic Manager

liam321 at liam321 at
Sat Sep 15 11:15:25 UTC 2007

> > I push the reload button in synaptic package manager and now I have this message:
> > W: Duplicate sources.list entry edgy-security/restricted Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_edgy-security_restricted_binary-i386_Packages)
> > W: Duplicate sources.list entry edgy-security/main Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_edgy-security_main_binary-i386_Packages)
> > W: Duplicate sources.list entry edgy-security/multiverse Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_edgy-security_multiverse_binary-i386_Packages)
> > 
> > Do I leave it like that or can I do something about it?
> Please post the contents of the file /etc/apt/sources.list. Something
> seems wrong there.

> Hi, again, I think I found the /etc/apt/sources.list.
> meg at meg-desktop:~$ locate /etc/apt/sources.list
> /etc/apt/sources.list.d
> /etc/apt/sources.list.d/edgy-universe.list
> /etc/apt/sources.list.d/edgy-commercial.list
> /etc/apt/sources.list.d/edgy-multiverse.list
> /etc/apt/sources.list.d/
> /etc/apt/sources.list.d/
> /etc/apt/sources.list.d/
> /etc/apt/sources.list
> /etc/apt/
> I hope it is what you needed, also while I was looking I found messages
> in /var/log/messages(monitored) - system log Viewer. The trouble is I
> have not idea how to open them and read them. I am thinking that I should
> open them with the shell but didn't find the command yet.


Well, to look at the *contents* of the file named sources.list, located
under the directory /etc/apt, you could do for example:

Open a terminal. Navigate to to the directory /etc/apt by typing:

$ cd /etc/apt

(excluding the '$'). Then, to see what files are there:

$ ls

That should show you that there is a file named sources.list there. To
view the contents of that file, you could do for example:

$ cat sources.list


$ gedit sources.list

(The former will just print the content of the file in the terminal. The
latter will open an editor window with the file contents in it).


By the way, could you also post the contents of the following files

> /etc/apt/sources.list.d/edgy-universe.list
> /etc/apt/sources.list.d/edgy-commercial.list
> /etc/apt/sources.list.d/edgy-multiverse.list

-- I think that could be useful (though I am not sure..). Then we'll be
able to see if there are duplicate entrys in those lists, as suggested
by that error message that Synaptic gives you.

Best Regards

Hugo Heden

-- - Access your email from home and the web

More information about the ubuntu-users mailing list