title: cannot remove `/var/lib/dpkg/lock-frontend` permission denied
body: <p>I wanted to install GIT on my Kali-linux</p>
  <p>for that I done this
  <a href="https://i.stack.imgur.com/kzbbR.jpg" rel="nofollow noreferrer"><code>apt install git</code></a></p>
  <p>But it showed an error,</p>
  <p>so I tried this...</p>
  <p><a href="https://i.stack.imgur.com/W5WsK.jpg" rel="nofollow noreferrer"><code>rm /var/lib/dpkag/lock-frontend</code> then <code>sudo rm /var/lib/dpkg/lock-frontend</code></a></p>
  <p>It shows that file is removed but still the command is not running...</p>
  <p><a href="https://i.stack.imgur.com/Q9tEP.jpg" rel="nofollow noreferrer">I retried downloading git but still it shows an error <code>apt install git</code></a></p>