I was trying to remove package with autoremove
command & i got this error :
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?"
how to resolve this?
sudo apt-get autoremove
or did you not include the sudo part?