I am getting permission denied errors while running apt-get install adb
. This is what I'm getting:
Prior to these commands, two commands of update and upgrade ran successfully which were
sudo apt-get update
sudo apt-get dist-upgrade
I am getting permission denied errors while running apt-get install adb
. This is what I'm getting:
Prior to these commands, two commands of update and upgrade ran successfully which were
sudo apt-get update
sudo apt-get dist-upgrade
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
ps aux | grep -i apt
and kill it sudo kill <process_id>
. Reference: same link.
– Qazi Fahim Farhan
Dec 24 '19 at 11:38