0

I am unable to download Ubuntu SDK . Whenever I try the command given on the website. I get an error saying unable to lock the administration directory.

Mukund
  • 2,102
  • What command from what website? Are you using sudo? Could you copy the complete operation, from start to end. Edit your question and add the information, do not use comments (these are comments). – Braiam Oct 31 '13 at 16:33
  • Check these two cases: Are you running an installation program in a different shell? Did you use sudo with the command? – Kamalpreet Oct 31 '13 at 16:24
  • No installation program was running and yes i used sudo with the command. I am gettin this error for every installation. – user209959 Oct 31 '13 at 16:30
  • What exact command are you running? – Kamalpreet Oct 31 '13 at 16:45
  • sudo add-apt-repository ppa:ubuntu-sdk-team/ppa && sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get install ubuntu-sdk – user209959 Oct 31 '13 at 17:11
  • That website link is no longer available. – Volker Siegel Mar 10 '15 at 21:16

1 Answers1

-1

Run these three commands on the terminal to remove the lock

sudo rm /var/lib/apt/lists/lock
sudo rm /var/lib/dpkg/lock
sudo rm /var/cache/apt/archives/lock
Avinash Raj
  • 78,556