Error in the terminal trying to fix an error with synaptic Manager
liam321 at 123mail.org
liam321 at 123mail.org
Sun Sep 16 21:30:28 UTC 2007
On Sat, 15 Sep 2007 13:15:25 +0200, liam321 at 123mail.org said:
>
> > > I push the reload button in synaptic package manager and now I have this message:
> > > W: Duplicate sources.list entry http://security.ubuntu.com edgy-security/restricted Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_edgy-security_restricted_binary-i386_Packages)
> > > W: Duplicate sources.list entry http://security.ubuntu.com edgy-security/main Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_edgy-security_main_binary-i386_Packages)
> > > W: Duplicate sources.list entry http://security.ubuntu.com 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/edgy-universe.list.save
> > /etc/apt/sources.list.d/edgy-commercial.list.save
> > /etc/apt/sources.list.d/edgy-multiverse.list.save
> > /etc/apt/sources.list
> > /etc/apt/sources.list.save
> >
> > 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.
>
> Hi,
>
> 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
>
> OR
>
> $ 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
>
>
> --
> http://www.fastmail.fm - Access your email from home and the web
>
Hi,
I am replying to the original(?) thread here, to make it more likely
that Mario sees this.
Yes, indeed there seems to be some duplicate entries in sources.list.. I
tried to snip out the relevant pieces, below. (How this can have
happened, I am not sure.)
In particular, the following two lines in /etc/apt/sources.list should
be commented out I think. But it would be nice if Mario Vukelic could
confirm that.
deb http://security.ubuntu.com/ubuntu/ edgy-security restricted main
multiverse
deb-src http://security.ubuntu.com/ubuntu/ edgy-security restricted main
multiverse #Added by software-properties
To "comment these lines out" means to put a # before the lines, like so:
# deb http://security.ubuntu.com/ubuntu/ edgy-security restricted main
multiverse
# deb-src http://security.ubuntu.com/ubuntu/ edgy-security restricted
main multiverse #Added by software-properties
But how do you edit the files?
Well, if you have a "sudo" password, you can do that. In a terminal,
navigate to the relevant directory, take a back-up copy of your current
file (in case something goes wrong), and open a Text Editor..
$ cd /etc/apt
$ sudo cp sources.list sources.list_megans_backup_copy
$ gksudo gedit sources.list
Let us know how it goes..
Best regards
Hugo Heden
On Sat, 15 Sep 2007 17:39:51 -0700, "ashley benton"
<davameg at bowiewonderworld.com> said:
> Hi,
>
> Thank you for you answer, I think I was able to get what you ask. But
> first I was unable to configure evolution and I am using an Internet
> address at bowiewonderworld.com. From my email address I just reply to
> the message to answer.
> After I am still unable to open the messages that I see in the system
> log, and unable to use my terminal to send or receive e-mail. For the
> content of/etc/apt/sources; first I tried with the terminal, then I used
> the text editor. Most of it are the same but there is a few that I found
> in text editor and not in the terminal so I added them..
>
>
> meg at meg-desktop:~$ cd /etc/apt
> meg at meg-desktop:/etc/apt$ ls
> apt.conf.d sources.list sources.list.save trusted.gpg
> secring.gpg sources.list.d trustdb.gpg trusted.gpg~
> meg at meg-desktop:/etc/apt$ cat sources.list
>
> deb http://us.archive.ubuntu.com/ubuntu/ edgy main restricted universe
> deb-src http://us.archive.ubuntu.com/ubuntu/ edgy restricted main
> multiverse universe #Added by software-properties
>
> ## Major bug fix updates produced after the final release of the
> ## distribution.
> deb http://us.archive.ubuntu.com/ubuntu/ edgy-updates main restricted
> universe
> deb-src http://us.archive.ubuntu.com/ubuntu/ edgy-updates restricted main
> multiverse universe #Added by software-properties
>
[snip]
>
> deb http://security.ubuntu.com/ubuntu edgy-security main restricted
> universe
> deb-src http://security.ubuntu.com/ubuntu edgy-security restricted main
> multiverse universe #Added by software-properties
> # deb http://security.ubuntu.com/ubuntu edgy-security universe
> # deb-src http://security.ubuntu.com/ubuntu edgy-security universe
> deb http://www.debian-multimedia.org etch main
> deb http://security.ubuntu.com/ubuntu/ edgy-security restricted main
> multiverse
> deb-src http://security.ubuntu.com/ubuntu/ edgy-security restricted main
> multiverse #Added by software-properties
[snip]
>
> meg at meg-desktop:/etc/apt$ cat source.list.d/edgy-universe.list
> cat: source.list.d/edgy-universe.list: No such file or directory
>
> meg at meg-desktop:/etc/apt$ cat sources.list.save
>
[snip]
> meg at meg-desktop:/etc/apt$
>
> If I open text editor->menu file->file system->/etc/apt, I open the
> following list:
> ->apt.conf.d modified 8/16/2007
> ->sources.list.d modified 8/16/2007
> ->secring.gpg modified 10/25/2006
> ->sources.list modified Wednesday
> ->sources.list.save modified Wednesday
> ->trustdb.gpg modified 10/25/2006
> ->trusted.gpg modified 10/25/2006
> ->trusted.gpg~ modified 10/25/2006 (I tried to select them all to copy
> them and I think I moved this one. Apparently it made a copy of itself.)
>
> After I opened sources.list.d; sources.list; and sources.list.save, the
> result are following:
>
> If I open text editor ->menu file ->file system->/etc/apt->source list.d:
>
[snip]
> ->Edgy-multiverse.list-># automatically added by gnome-app-install on
> 2007-08-05 20:33:34.253468
> deb
> http://us.archive.ubuntu.com/ubuntu/
> edgy multiverse
> deb
> http://security.ubuntu.com/ubuntu
> edgy-security multiverse
> deb
> http://us.archive.ubuntu.com/ubuntu/
> edgy-updates multiverse
[snip]
>
> Thank you,
>
> Megan
>
> --- mario.vukelic at dantian.org wrote:
>
> From: Mario Vukelic <mario.vukelic at dantian.org>
> To: davameg at bowiewonderworld.com, "Ubuntu user technical support,
> not for general discussions" <ubuntu-users at lists.ubuntu.com>
> Subject: Re: Error in the terminal trying to fix an error with synaptic
> Manager
> Date: Sat, 15 Sep 2007 13:32:25 +0200
>
> Ashley, see my reply to liam321 at 123mail.org.
>
> In addition, your email application seems to break threads -- this reply
> of yours was not attached to the original mail thread. This makes it
> very hard to follow the conversation and also makes it pretty likely
> that I may overlook a reply of yours. What email application do yo use?
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
>
>
> _____________________________________________________________
> BowieWonderworld
> ----
> http://www.bowiewonderworld.com
> ----
> Fashion comes and goes... Style doesn't...
> ----
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
--
http://www.fastmail.fm - And now for something completely different
More information about the ubuntu-users
mailing list