Remove a package marked as rc by dpkg

There is a significant difference between dpkg –remove or –purge. dpkg –remove only the package binaries. The configuration files of the package are not deleted. Such packages normally have the state rc. Take for example, a package like usplash in our machine. The package’s configuration files are still part of the system.

$ dpkg --list usplash
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                 Version                              Description
rc  usplash                              0.5.49                               Userspace bootsplash utility

Let’s now purge the package usplash. dpkg –purge removes the configuration files and the binaries. Let’s see this with usplash

$ sudo dpkg --purge usplash
[sudo] password for abcde: 
(Reading database ... 239395 files and directories currently installed.)
Removing usplash ...
Purging configuration files for usplash ...
Processing triggers for ureadahead ...

The package’s configuration files are now removed. Let’s co


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s