[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg - the letter prefixes.. what do they mean



On Fri, Mar 01, 2002 at 11:49:28PM -0500, dman wrote:
> Ok, I'll work on my teaching skills a little more :-).
> 
> 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  vim            6.0.226-1      Vi IMproved - enhanced vi editor
> 
> 
> Here we have the output of dpkg -l.  Follow the first 'i' upwards and you see a little "arrow" pointing to the line
>     Desired=Unknown/Install/Remove/Purge/Hold
> This is the (very terse) description of what the letter means.  It
> represents the state you desire the package to have.  The possible
> values are "Unknown" , "Install" , "Remove" , "Purge" and "Hold".  The
> abbreviation of each is 'u' , 'i' , 'r' , 'p' and 'h', respectively.
> vim shows an "i" in that column, so that means I desire to have it
> installed.
> 
> Now follow the second 'i' upwards to the line
>     Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> The interpretation is the same.  This column refers to the current
> status of the package.  The difference between the two columns is the
> difference between where it's at and where I want it.  In this case,
> vim has an 'i', so that stands for "installed".
> 
> The third column is empty.  That's good because if there were a
> character there it would indicate some error.
> 
> So the result is that "ii " means I want the package installed, it is
> installed, and there are no errors.
> 
> The note at the end of the "Err" line
>     (Status,Err: uppercase=bad)
> says that in the Status and Err columns, if the label is an uppercase
> character, then the situation is really bad.  If the label is a
> lowercase character, then the situation isn't so bad.

Not a bad description at all. Perhaps that should be in the man-page?
After all, if one person thinks it's cryptic, there's likely to be
more...

-- 
          _  __
|/ _  _| |_   | _ __ _  _  _  _  _  _
|\(_|| | |_   |(/)| (_|(-'| |`-,(-`| |
            \_|      _|
http://www.karl.jorgensen.com

Attachment: pgpWDhdwCFOc5.pgp
Description: PGP signature


Reply to: