7.04 to 7.10 Adept Manager crash

Asked by ijkn

when I was upgrading kubuntu from 7.04 to 7.10 via network upgrade......the adept manager showed error after about 70% completed in the installation and the adept manager closed automatically.The upgrade is not completed. I restarted the system to see what happen. the 7.10 can be loaded. Everything looks fined. In fact, there are some parts does not work so far...like it does not detect my usb drive & the page for setting screen resolution does not load..some programs seem are not working properly too. And most programs seem working without problem.

When I started the Adept Manager again, I got an message, Database locked: "Another process is using the packaging system database(probably some other adept application or apt-get or aptitude). Would you like to attempt to resolve this problem? No will enter read-only mode......"

I click "yes", I got an error message from the KDE Crash Handler.
I have tried to turn the system off and boot the system again. Again, when i run the adept manager..i got the message above.

Does anyone know how to fix that? thanks in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
ijkn
Solved:
Last query:
Last reply:
Revision history for this message
Sam Cater (wraund-deactivatedaccount) said :
#1

I had the exact same problem. try running...
sudo apt-get clean
sudo dpkg --configure -a
i tried those 2, and eventually something clicked. Best to also look over the web for other aid.

Revision history for this message
ijkn (hk88s) said :
#2

Thanks Sam. 7.10 are working fine now except errors were encountered while processing: acpid, acpi-support, powermanagement-interface and kubuntu-desktop when doing the process "sudo dpkg --configure -a". Does anyone know how to fix these? thanks.

Setting up acpid (1.0.4-5ubuntu8) ...
 * Loading ACPI modules... [ OK ]
 * Starting ACPI services... invoke-rc.d: initscript acpid, action "start" failed.
dpkg: error processing acpid (--configure):
 subprocess post-installation script returned error exit status 1

Setting up inputattach (1.23-0ubuntu2) ...
dpkg: dependency problems prevent configuration of acpi-support:
 acpi-support depends on acpid (>= 1.0.4-1ubuntu4); however:
  Package acpid is not configured yet.
dpkg: error processing acpi-support (--configure):
 dependency problems - leaving unconfigured

dpkg: dependency problems prevent configuration of powermanagement-interface:
 powermanagement-interface depends on acpi-support (>= 0.17); however:
  Package acpi-support is not configured yet.
dpkg: error processing powermanagement-interface (--configure):
 dependency problems - leaving unconfigured

dpkg: dependency problems prevent configuration of kubuntu-desktop:
 kubuntu-desktop depends on acpi-support; however:
  Package acpi-support is not configured yet.
 kubuntu-desktop depends on acpid; however:
  Package acpid is not configured yet.
 kubuntu-desktop depends on powermanagement-interface; however:
  Package powermanagement-interface is not configured yet.
dpkg: error processing kubuntu-desktop (--configure):
 dependency problems - leaving unconfigured

Revision history for this message
Sam Cater (wraund-deactivatedaccount) said :
#3

I have been told that there is an existing bug with acpi support.

Are you trying to install kubuntu-desktop?

Revision history for this message
ijkn (hk88s) said :
#4

thanks Sam.

I have found the solution in the ubuntu forum.
http://ubuntuforums.org/showthread.php?p=3567324

sudo /etc/init.d/acpid stop

sudo dpkg --configure -a

The command above worked for me. I am lucky that the system do not need to be re-installed as everything seems working fine after upgrade.

Revision history for this message
Ron Hay (hayrono) said :
#5

This fixed my daughters kubuntu 7.10 package manager that had the above error.
Thanks for sharing!
Ron

Revision history for this message
GaryG (gsgil) said :
#6

These commands fixed the same problem on Kubuntu 7.10 for me.

sudo /etc/init.d/acpid stop

sudo dpkg --configure -a

Can anyone explain exactly what these commands did to repair the system. I would appreciate the help.

Gary