sudo: unable to open /var/lib/sudo/username/7: No such file or directory W: Not using locking for read only lock file /var/lib/dpkg/lock E: Unable to write to /var/cache/apt/ E: The package lists or status file could not be parsed or opened.
I can't use gedit and sudo. I'm was trying to edit the status file under /var/lib/dpkg but i failed to do so since it's a read-only file. And having gedit as root doesn't work. Since i was trying to fix the problems because i can't upgrade. I badly need help. Thanks in advance!!