Tuesday, February 19, 2008

Recover from Adept-Manager Failures - Part II

Here's a brief follow-up to my recent blog on Adept-Manager Recovery.

If you still have an issue with Adept having failed to update or complete a package install, it is likely that one of the post install scripts is hung up on something.

Here is something additional to try:

sudo apt-get update && sudo apt-get upgrade && sudo apt-get autoremove

Basically, make sure you are up to date (a new package can sometimes fix the dep problem). Then try and perform any updates via upgrade. Finally, I have found that running the autoremove command actually triggers the postinstall scripts to execute after they have hung up on a failed package.

Now, you should be back to a stable system, try running your update/upgrade again and you should show no packages left in a bad state and not partially installed. If you still do, there may be another issue.

Feel free to comment, or ask for suggestions if you are stuck with and Adept or apt problem.