Possible Duplicate:
W: Duplicate sources.list entry archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
Unable to do update for Ubuntu 11.10.
This is the error message am getting on my PC:
root@ravi-desktop:/home/ravi# sudo apt-get update
Reading package lists... Done
W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main i386 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
root@ravi-desktop:/home/ravi# sudo apt-get update
Fetched 72.3 kB in 1min 26s (836 B/s)
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/Release.gpg Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@ravi-desktop:/home/ravi#
Below is the error am getting:
ravi@ravi-desktop:~$ su Password: root@ravi-desktop:/home/ravi# gedit
(gedit:2424): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
** (gedit:2424): WARNING **: Could not connect to session bus root@ravi-desktop:/home/ravi#
/etc/apt/sources.list
. How about you post that file? – January Sep 03 '12 at 11:54/etc/apt/sources.list
to your question by editing your question (click the edit link). You can view the contents of that file by pressingAlt
+F2
and running the commandgedit /etc/apt/sources.list
. (You're just viewing it, not editing it yet, so you don't need to run it withsudo
/gksu
/gksudo
.) – Eliah Kagan Sep 03 '12 at 12:43