Im a beginner with Ubuntu, I had some issues with my laptop and my friend came in to "fix" them. Since these issues are fixed, im now forced to use sudo before every single command I want to use.
For example, if I want to use the simple
apt-get update, it gives me this error (sorry some of the info are in french):
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted) E: Impossible d'ouvrir le fichier verrou /var/lib/apt/lists/lock - open (13: Permission denied) E: Impossible de verrouiller le répertoire /var/lib/apt/lists/ W: Problème de suppression du lien /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied) W: Problème de suppression du lien /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
If I run
sudo apt-get update, I get no problem and the commands work. Im the only user and I got the authorisation so I shouldn't have to sudo everytime (I used to not have bafore).
I tried some fixes I found on the net such as deleting the files listed above without any success.