• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux Dpkg

WibbenZ

Global Moderator
Staff member
Global Moderator
Joined
Oct 16, 2008
Messages
6,383
Solutions
229
Reaction score
1,521
Location
Sweden
Hello, Ive been getting this error some times now,
E: Could not unlock lockfile /var/lib/dpkg/lock - open (13: Access denied)
E: Could not lock administrationcatalog (/var/lib/dpkg/). Are you root?

I know there is 2 commands I run in the terminal to make it go away for a short period of time, but is there no way to make this go away?
Since its asking me if im root, how do I make myself root? This is not a hosting computer its my personal computer.

WibbenZ
 
either you type just " su " and it will log you in as root or use sudo in front of the command. If you are running something through the terminal that is.. Creating another root user isn't the optional thing to do.. Just google " useradd root " or something like that if you are convinced you want to go ahead and do that :)
 
So by writing "su" im root? Got this error then (in swedish)
wibbenz@ubuntu:~$ su
Lösenord:
su: Autentiseringsfel
 
Back
Top