0

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

Fiction Belt
  • 15
  • 1
  • 8

2 Answers2

2

Just try running with sudo command.
Command to run:

sudo apt install git-all

Ref: git official docs.

Harshit Ruwali
  • 1,040
  • 2
  • 10
  • 22
0

Try sudo apt install git. But since u have deleted tht file i fear it may cause problems