<SOLVED> apt seach xxx output = "p" (Virtual)

Forum rules
Before you post please read how to get help

<SOLVED> apt seach xxx output = "p" (Virtual)

Postby cc11rocks on Fri Mar 09, 2012 2:23 am

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?
Last edited by cc11rocks on Sat Mar 10, 2012 2:25 am, edited 1 time in total.
Official Linux Mint Tester
Registered Linux User #549371
Creator, programmer, and maintainer for ChatApp
User avatar
cc11rocks
Level 1
Level 1
 
Posts: 14
Joined: Wed Jan 04, 2012 4:57 am

Linux Mint is funded by ads and donations.
 

Re: apt seach xxx output = "p" (Virtual)

Postby xenopeek on Fri Mar 09, 2012 3:48 am

"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, ...
User avatar
xenopeek
Level 21
Level 21
 
Posts: 15452
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: <SOLVED> apt seach xxx output = "p" (Virtual)

Postby cc11rocks on Sat Mar 10, 2012 2:25 am

Thank you very much!
Official Linux Mint Tester
Registered Linux User #549371
Creator, programmer, and maintainer for ChatApp
User avatar
cc11rocks
Level 1
Level 1
 
Posts: 14
Joined: Wed Jan 04, 2012 4:57 am


Return to Scripts & Bash

Who is online

Users browsing this forum: No registered users and 2 guests