how do i manually run dpkg

Asked by dgavela

how do i do this?

error message

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
how do i manually run dpkg i just installed ubuntu 8.04

thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu dpkg Edit question
Assignee:
No assignee Edit question
Solved by:
Lee Glidewell
Solved:
Last query:
Last reply:
Revision history for this message
Best Lee Glidewell (lee-glidewell) said :
#1

Open a terminal and type:
  sudo dpkg --configure -a

This is the first thing to try, as the error message says, but it will not always solve this sort of error. Please report back if this doesn't resolve things.

Revision history for this message
berg (berg-foss) said :
#2

seems a interrupted upgrade. Sometimes, a silent update occurs for security problems.

the log already says what you need to do. but you need run it as administrator ( root) at console

1) you should open a console text ( click o menu Applications -> Accessories -> Console)

a black window should to open.

2) you execute that command as root ( always run as root only as needed. always caution). To run as root type at console:

 sudo dpkg --configure -a

3) try to run as root too:

 sudo apt-get install -f

Revision history for this message
berg (berg-foss) said :
#3

ah , on ubuntu , the console window have white background.and not black as I said before ( item 1)

 some distros have black others have blue :)

Revision history for this message
dgavela (dgavela) said :
#4

yes the problem is solved,thank you all

Revision history for this message
Terry Gibbons (terrygibbons-kol) said :
#5

Thank you Terry Gibbons Auckland NZ

Revision history for this message
Anuradha (anuradha-s13) said :
#6

i hav same problm bt cant find solution yar................

Revision history for this message
Anuradha (anuradha-s13) said :
#7

i hav same problm bt cant find solution yar................

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#8

@Anuradha

Please don't append a new question on a already answered or marked as solved question.
Please make new question from here: https://answers.launchpad.net/ubuntu/+addquestion
you will get better chance to get right answer on a fresh tagged "open" question.
Solved or answered questions are usually not read from answering people.

Thank you