How to correctly read dpkg output (rc, ii, etc.)

Didier Raboud didier at raboud.com
Mon Jul 3 15:44:36 UTC 2006


Le dimanche 18 juin 2006 20:46, Serg a écrit :
> Hi All,
>
> Can someone please explain or perhaps provide a link (prefered option)
> in regards to reading output of 'dpkg -l' output. Stuff like 'rc', 'ii',
> 'pi', etc.
>
>
>
>    Thanks,
>       Serg

Example :

$ dpkg -l kubuntu-*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  kubuntu-artwor 6.06-21        kubuntu artwork for usplash
ii  kubuntu-defaul 6.06-21        Default settings and artwork for the Kubuntu
pn  kubuntu-deskto <none>         (no description available)
ii  kubuntu-docs   6.06-11        kubuntu documentation
ii  kubuntu-grub-s 2.1            grub splashimages for Kubuntu
ii  kubuntu-konque 0.3-0ubuntu1   Konqueror shortcuts for the Ubuntu wiki and
pn  kubuntu-live   <none>         (no description available)

So, as written:

First column: Desired
u for Unknown
i for Install
r for Remove
p for Purge
h for Hold

Second column: Status
n for Not Installed
i for Installed
c for Config-files
u for Unpacked
f for Failed-config
h for Half-installed

Third column: Err? (error?) — If in uppercase, bad errors.
  for (none)
h for Hold
r for Reinst-required
x for both-problems

Hope it helps !

Free greetings, 

Didier

N.B. Again... On list...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20060703/e7272b6d/attachment.sig>


More information about the kubuntu-users mailing list