What does rc correspond to in dpkg (–list)?

Posted by Joys of Programming on in dpkg, Linux, Ubuntu

You can install packages using dpkg. dpkg is quite a useful command line tool. In addition to installing packages, dpkg also helps to remove packages and know the status of packages.

While checking the status of packages using dpkg, you may come across the state rc.

$ dpkg --list

Desired=Unknown/Install/Remove/Purge/Hold
| 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
+++-===============================================-===============================================-============================================
ii  acpi-support                                    0.136                                           scripts for handling many ACPI events
ii  acpid                                           1.0.10-5ubuntu2                                 Advanced Configuration and Power Interface e
...
rc  dvipdfmx                                        1:20090115-1.2                                  A DVI to PDF translator with CJK support
ii  e2fslibs                                        1.41.11-1ubuntu2                                ext2/ext3/ext4 file system libraries

What does rc mean?

For detailed information on interpreting the status, you can refer State of a Package. rc corresponds to

  1. r: the package was marked for removal
  2. c: the configuration files are currently present in the system

In nutshell, it means that the package is not completely removed. The configuration files are still present. To completely remove a package, refer Remove packages marked as rc.

Tags: , ,

Comments:

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Copyright © 2009-2012 Joys of Programming All rights reserved.
Desk Mess Mirrored v1.8.1 theme from BuyNowShop.com.