Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-24-2011, 09:16 AM
|
#1
|
|
Member
Registered: Dec 2005
Distribution: Debian KDE / Fluxbox
Posts: 213
Rep:
|
Need help with " aptitude"
Assuming if I do a aptitude search xorg and the output is as below
Quote:
c xserver-xorg-input-mouse
v xserver-xorg-input-penmount
i A xserver-xorg-input-synaptics
p xserver-xorg-input-synaptics-dev
|
what is the meaning of c , v , p, i(installed), A etc.
have googled quite a bit but didn't have much luck.
|
|
|
|
|
Click here to see the post LQ members have rated as the most helpful post in this thread.
|
05-24-2011, 09:33 AM
|
#2
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,205
|
A simple man aptitude gave me that:
Quote:
Each search result is listed on a separate line. The first
character of each line indicates the current state of the package:
the most common states are p, meaning that no trace of the package
exists on the system, c, meaning that the package was deleted but
its configuration files remain on the system, i, meaning that the
package is installed, and v, meaning that the package is virtual.
The second character indicates the stored action (if any; otherwise
a blank space is displayed) to be performed on the package, with
the most common actions being i, meaning that the package will be
installed, d, meaning that the package will be deleted, and p,
meaning that the package and its configuration files will be
removed. If the third character is A, the package was automatically
installed.
|
|
|
|
2 members found this post helpful.
|
05-24-2011, 11:52 AM
|
#3
|
|
Member
Registered: Apr 2007
Location: USA
Distribution: Kubuntu 8.04
Posts: 579
Rep: 
|
It is explained in aptitude user's manual, which may be available on your system at /usr/share/doc/aptitude/README.
Those flags are the current state of the packages.
- c = the package was removed, but its configuration files are still present.
- v = the package is virtual.
- iA = the package is installed and all its dependencies are satisfied. (I'm pretty sure that A means automatic, or to satisfy a dependency.)
- p = the package and all its configuration files were removed, or the package was never installed.
The author maintains aptitude user's manual online too:
http://algebraicthunk.net/~dburrows/...h02s02s02.html
HTH
|
|
|
|
05-24-2011, 12:47 PM
|
#4
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,205
|
Quote:
Originally Posted by Telengard
iA = the package is installed and all its dependencies are satisfied. (I'm pretty sure that A means automatic, or to satisfy a dependency.)
|
As you can see in the man page (I posted the relevant part in the post above yours), A does not mean that the dependencies of the package are satisfied, but that this package was installed automatically to satisfy the dependencies of a different package.
|
|
|
|
05-24-2011, 01:35 PM
|
#5
|
|
Member
Registered: Apr 2007
Location: USA
Distribution: Kubuntu 8.04
Posts: 579
Rep: 
|
Quote:
Originally Posted by TobiSGD
As you can see in the man page (I posted the relevant part in the post above yours), A does not mean that the dependencies of the package are satisfied, but that this package was installed automatically to satisfy the dependencies of a different package.
|
Yeah. That's what I meant, but thanks for saying it more clearly
BTW, man aptitude does not give you aptitude user's manual. It does mention the location of aptitude user's manual in the filesystem (at least it does on my system) in the SEE ALSO section.
If aptitude user's manual is not installed on your system, then you should be able to get it from the repositories. For Ubuntu the package name is aptitude-doc. For Debian I don't know what the package name is, nor do I know whether it is installed by default.
HTH
Last edited by Telengard; 05-24-2011 at 01:44 PM.
Reason: write more clearly
|
|
|
|
05-24-2011, 02:31 PM
|
#6
|
|
Senior Member
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,467
Rep: 
|
Quote:
|
For Debian I don't know what the package name is
|
For Debian it is as follows:
Code:
ade@Pc1:~$ apt-cache search aptitude-doc
aptitude-doc-cs - Czech manual for aptitude, a terminal-based package manager
aptitude-doc-en - English manual for aptitude, a terminal-based package manager
aptitude-doc-es - Spanish manual for aptitude, a terminal-based package manager
aptitude-doc-fi - Finnish manual for aptitude, a terminal-based package manager
aptitude-doc-fr - French manual for aptitude, a terminal-based package manager
aptitude-doc-ja - Japanese manual for aptitude, a terminal-based package manager
Same as Ubuntu?.
Last edited by the trooper; 05-24-2011 at 02:34 PM.
|
|
|
|
05-24-2011, 04:30 PM
|
#7
|
|
Member
Registered: Apr 2007
Location: USA
Distribution: Kubuntu 8.04
Posts: 579
Rep: 
|
Quote:
Originally Posted by the trooper
Same as Ubuntu?.
|
Sort of, I guess. On Ubuntu aptitude-doc is a virtual package which points to the language specific packages.
Code:
~$ aptitude search aptitude-doc
v aptitude-doc -
p aptitude-doc-cs - Czech manual for aptitude, a terminal-base
i aptitude-doc-en - English manual for aptitude, a terminal-ba
p aptitude-doc-fi - Finnish manual for aptitude, a terminal-ba
p aptitude-doc-fr - French manual for aptitude, a terminal-bas
p aptitude-doc-ja - Japanese manual for aptitude, a terminal-b
~$ aptitude show aptitude-doc
No current or candidate version found for aptitude-doc
Package: aptitude-doc
State: not a real package
Provided by: aptitude-doc-cs, aptitude-doc-en, aptitude-doc-fi, aptitude-doc-fr,
aptitude-doc-ja
|
|
|
|
05-24-2011, 06:59 PM
|
#8
|
|
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
|
The "state" flag is one of the following:
v - virtual
B - broken
u - "unpacked"
C - half-configured
H - half-installed
c - removed, but config-files still present (ie, not purged)
i - installed
E - internal error (should not happen)
The "action" flag is one of the following:
h - hold
p - purge
d - delete (remove)
B - broken
i - install
r - reinstall
u - upgrade
F - the available upgrade has been forbidden via "F"
If present, the "automatic" flag is "A", indicating that the package
was automatically installed and will be removed when nothing depends
on it.
From file:///usr/share/aptitude/help.txt
Which is different from man aptitude, the aptitude manual is also online at:
http://algebraicthunk.net/~dburrows/...titude/doc/en/
and if the appropriate aptitude-doc package is installed at:
file:///usr/share/doc/aptitude/html/en/index.html
|
|
|
2 members found this post helpful.
|
05-24-2011, 07:43 PM
|
#9
|
|
Member
Registered: Apr 2007
Location: USA
Distribution: Kubuntu 8.04
Posts: 579
Rep: 
|
Quote:
Originally Posted by craigevil
file:///usr/share/doc/aptitude/html/en/index.html
|
Which is the HTML version of the plain text file /usr/share/doc/aptitude/README. I found that on the Debian website. Thanks for finding it on a real Debian system. 
|
|
|
|
05-24-2011, 10:18 PM
|
#10
|
|
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
|
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:03 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|