0
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
muru
  • 197,895
  • 55
  • 485
  • 740
  • welcome to ask Ubuntu. could you give the command you were trying at the time. did u add sudo bedore the comand? and made sudo apt-get update before it too? –  Aug 13 '15 at 00:50
  • yeah i've used the above error occured – Teja Knv Aug 13 '15 at 01:12
  • @TejaKnv what I mean is what is the command u used to install vlc? –  Aug 13 '15 at 06:02

1 Answers1

0

Thumb Rule -
Never use Ctrlz to terminate/Stop any process, use Ctrlc.
You might have stopped some apt-get process running or its still running in some other window/terminal.

You can remove the locks using below commands -

sudo rm /var/lib/apt/lists/lock   
sudo rm /var/cache/apt/archives/lock

Then try -

apt-get update
muru
  • 197,895
  • 55
  • 485
  • 740
vivekyad4v
  • 524
  • 1
  • 6
  • 12