-1

I am getting permission denied errors while running apt-get install adb. This is what I'm getting:

enter image description here

Prior to these commands, two commands of update and upgrade ran successfully which were

sudo apt-get update
sudo apt-get dist-upgrade
Kulfy
  • 17,696

2 Answers2

1

You need root privileges to install this package. Try:

sudo apt-get install adb
Kulfy
  • 17,696
Ifly777
  • 123
0

You need to kill the process that is blocking you from installing adb or other package. Try this:

$ sudo killall apt apt-get

After that, the problem should be solved. If it does not work, try some of the other methods described in details in this tutorial link