'dpkg --configure -a' problem to configure

Asked by foreever

Binary package hint: yelp

how to configure dpkg... pls. help

ProblemType: Bug
Architecture: i386
Date: Thu Feb 19 07:57:55 2009
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/yelp
Package: yelp 2.22.1-0ubuntu2.8.04.3
PackageArchitecture: i386
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_IN.UTF-8
 SHELL=/bin/bash
SourcePackage: yelp
Uname: Linux 2.6.24-23-generic i686

Question information

Revision history for this message
foreever (foreeverhappy) said :
#1
Revision history for this message
Andy Ferguson (teknostatik) said :
#2

Thank you for reporting this. From your description it sounds like you have a question regarding dpkg, rather than a bug with the package itself. Therefore I'm converting your bug report into a question for now.

In the meantime, could you let us know exactly what you are trying to do and what output you get (the full error message including 'dpkg --configure -a' would be useful for us to diagnose where the problem is.

Regards,

Andy

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

The "dpkg --configure -a" is asked by the system when a previous update/upgrade process have not completely performed good, and it must run with "root" privileged administrative user.
Using the "sudo" command we can do a command as "root" user, and "dpkg --configure -a" need be run from root user.
After the "dpkg --configure -a" command i add all the usual commands (see below) you can run to be sure your system became fully upgraded.

Please also subcribe this bug https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/108601/

Typing the commands as sudo the system will ask you for a password, please give your user password when requested, you don't see nothing when you type it, then press enter.

So please be sure your system is fully updated/upgraded with no pending packages or errors:

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo dpkg -P --force-all nameofpackage

sudo dpkg --clear-avail

sudo dpkg --configure --pending
sudo dpkg --configure -a

then to update and upgrade and also check pending or missing packages, still using terminal type:

sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

Hope this helps

Revision history for this message
foreever (foreeverhappy) said :
#4

thanxs for the support.

________________________________
From: marcobra <email address hidden>
To: <email address hidden>
Sent: Thursday, February 19, 2009 2:13:34 PM
Subject: Re: [Question #61557]: 'dpkg --configure -a' problem to configure

Your question #61557 on yelp in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/61557

    Status: Open => Answered

marcobra proposed the following answer:
The "dpkg --configure -a" is asked by the system when a previous update/upgrade process have not completely performed good, and it must run with "root" privileged administrative user.
Using the "sudo" command we can do a command as "root" user, and "dpkg --configure -a" need be run from root user.
After the "dpkg --configure -a" command i add all the usual commands (see below) you can run to be sure your system became fully upgraded.

Please also subcribe this bug https://bugs.launchpad.net/ubuntu/+source
/update-manager/+bug/108601/

Typing the commands as sudo the system will ask you for a password,
please give your user password when requested, you don't see nothing
when you type it, then press enter.

So please be sure your system is fully updated/upgraded with no pending
packages or errors:

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo dpkg -P --force-all nameofpackage

sudo dpkg --clear-avail

sudo dpkg --configure --pending
sudo dpkg --configure -a

then to update and upgrade and also check pending or missing packages,
still using terminal type:

sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

Hope this helps

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/61557/+confirm?answer_id=2

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/61557

You received this question notification because you are a direct
subscriber of the question.

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

Please mark this question as solved if you have fixed the issue...

Thank you

Revision history for this message
foreever (foreeverhappy) said :
#6

Thanks marcobra, that solved my question.