[Ilugc] Error in updating/installing a package

  • From: dinesh.vgp@xxxxxxxxx (Dinesh Infotech)
  • Date: Thu, 15 Dec 2011 22:13:47 +0530

Hi all,
      I am using ubuntu 10.10. when i tried to update or install
package via terminal i got the following error...


root at nithin-Inspiron-N5010:/home/nithin# apt-get update
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource
temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
--------------------------------------------------
root at nithin-Inspiron-N5010:/home/nithin# apt-get install vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package vlc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

W: Duplicate sources.list entry
http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu/ maverick/main
i386 Packages 
(/var/lib/apt/lists/ppa.launchpad.net_cairo-dock-team_ppa_ubuntu_dists_maverick_main_binary-i386_Packages)
W: Duplicate sources.list entry
http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu/ maverick/main
i386 Packages 
(/var/lib/apt/lists/ppa.launchpad.net_cairo-dock-team_ppa_ubuntu_dists_maverick_main_binary-i386_Packages)
W: Duplicate sources.list entry
http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu/ maverick/main
i386 Packages 
(/var/lib/apt/lists/ppa.launchpad.net_cairo-dock-team_ppa_ubuntu_dists_maverick_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Package 'vlc' has no installation candidate


please help me out.....thanks in advance..

Other related posts: