Error when using dpkg command

Asked by William Groom

I opened the terminal window and entered sudo dpkg--configure-a and it said command not found. What do I do? New to this program.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu dpkg Edit question
Assignee:
No assignee Edit question
Solved by:
Bhavani Shankar
Solved:
Last query:
Last reply:
Revision history for this message
William Groom (ramseyins) said :
#1

I have now run in the terminal window dpkg=configure-a and some words and symbols appeared, but the Synaptic Package Manager will still not open and continues to show this error.

Revision history for this message
Bhavani Shankar (bhavi) said :
#2

To correct this problem just open Terminal (Applications → Accessories → Terminal) and type:
sudo dpkg --configure -a

Give your user password when requested. You will not see anything, but type it and press enter.

Then retry to update and/or to install desired package.

Regards

Revision history for this message
Vikram Dhillon (dhillon-v10) said :
#3

goto the root and try the same command

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#4

Hi,

Please try the following command instead:

sudo dpkg --configure -a

Please note the space between dpkg, --configure and -a.

Regards,

Mark

Revision history for this message
William Groom (ramseyins) said :
#5

when i entered dpkg --configure -a it says super privilege required. What does that mean.

Revision history for this message
Best Bhavani Shankar (bhavi) said :
#6

sudo is used as a prefix in commands to get superuser rights

Refer

https://wiki.ubuntu.com/RootSudo

Regards

Revision history for this message
William Groom (ramseyins) said :
#7

Thank you, Thank you all! It worked! This is not my computer so I thought I had screwed something up. You guys are great.

Revision history for this message
William Groom (ramseyins) said :
#8

Thanks Bhavani Shankar, that solved my question.