Page 1 of 1
<SOLVED> apt seach xxx output = "p" (Virtual)
Posted: Fri Mar 09, 2012 2:23 am
by cc11rocks
apt seach xxx output = "p" (Virtual). What does this mean? I was conducting tests on ISO's for Linux Mint. One of the tests is to do "apt search $NAME". The output was "p". Does this mean it is NOT installed?
Re: apt seach xxx output = "p" (Virtual)
Posted: Fri Mar 09, 2012 3:48 am
by xenopeek
"apt search" uses aptitude. (You can check, /usr/bin/apt is just a Python script wrapping apt-get, apt-cache, aptitude, dpkg and others...)
See the manpage for aptitude, for the search action:
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, ...
Re: <SOLVED> apt seach xxx output = "p" (Virtual)
Posted: Sat Mar 10, 2012 2:25 am
by cc11rocks
Thank you very much!