Ubuntu – “superuser” and how to get that privilege

permissionsrootusers

I'm attempting to manually configure dpkg due to package manager warning.

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

I enter the code.

dpkg --configure -a

After entering the above command I receive the following response

dpkg: error: requested operation requires superuser privilege

My questions are. What is a superuser? How do I get that privilege? or is there another way to configure dpkg?

Best Answer

root (superuser) is the user on the system who has all permissions.

You gain superuser rights for the duration of a command by prepending sudo in front of the command you want to execute (if your user is in the sudo group).

sudo dpkg --reconfigure -a

Enter your password when prompted.

Related Question