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

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

| 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
pn  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 pn mean?

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

  1. p: the package was marked for purging
  2. n: the package is not currently installed in the system

In nutshell, it means that the package is completely removed (even the configuration files). Read dpkg: purge versus remove


Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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