How to remove a deb package manually

How to remove a deb package manually

Some times when you install a new deb package, the system will be broken. We may have to remove the package.
For this , you can try the following. ( Assuming pidgin is the broken package)

# apt-get remove pidgin

#dpkg -P pidgin

#dpkg -force-all -r pidgin

These methods can also fail some time. Your only way out will be a manual removal of packages, which can be achieved as detailed below.

a) Get a list of files from the package

# dpkg -L pidgin

b) Remove the files one by one.

c) It is also suggested that you run

# apt-get remove pidgin

after manual removal.

Possibly Related Posts:


Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>