I have a problem every time I run sudo apt-get update
. The following is a output from the terminal:
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
I need help in resolving the duplicate software source problem. Any help will be greatly appreciated :-)
sudo apt-get update
? – Mitch Aug 27 '12 at 07:31sudo fuser -cuk /var/lib/dpkg/lock
andsudo rm -f /var/lib/dpkg/lock
in terminal. – Ravi Aug 27 '12 at 07:35