Delete the package mis-configured or install failed in Ubuntu

This post was written by admin on November 18, 2009
Posted Under: General

If you encountered configuration error when installing a package in Ubuntu,you will get this error message every time when you installing an other package.It’s very annoying and there is a command to delete this mis-configured package.
Run this in terminal(Applications/Accessories/Terminal):

sudo aptitude purge $(dpkg -l|grep ^rc|awk '{ print $2 }')

this will delete all packages the mis-configured or install failed in ubuntu.

Related posts:

  1. How to know where the package been installed in Ubuntu
  2. How to install an RPM Package on ubuntu linux
  3. Save Ubuntu space-auto-delete downloaded packages after installation
  4. Install Nvidia graphical driver in Ubuntu Lucid (10.04)
  5. Automatically Delete Files older than N days From Trash using Autotrash

    Tags:

    Reader Comments

    Add a Comment

    required, use real name
    required, will not be published
    optional, your blog address