I wanted to install GIT on my Kali-linux
for that I done this
apt install git
But it showed an error,
so I tried this...
rm /var/lib/dpkag/lock-frontend
then sudo rm /var/lib/dpkg/lock-frontend
It shows that file is removed but still the command is not running...
I retried downloading git but still it shows an error apt install git
Just try running with
sudo
command.Command to run:
Ref: git official docs.