I am having troubles running the following command on my Linux Mint partition:
sudo apt-get update && apt-get upgrade
This is the first I have ever encountered this, and I run this command every two to three days to keep my system up to date. Currently, I am getting the error message:
Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) Unable to lock the administration directory (/var/lib/dpkg/), are you root?
I am able to verify my username, (whoami returns my username), and I haven't been able to find any leads through Google or the StackExchange sites I have tried (superuser and stackoverflow). I'm perplexed.
Could this be some sort of security breach? Or (I am hoping) is my limited sysadmin knowledge the culprit? I would appreciate any input I can get, but if I have to I can wipe the partition entirely and reinstall (all of my important data is religiously redundant elsewhere, and if need be I have run scenario tests where I can restore everything in a couple of hours if need be).