From: Ron Johnson on 5 Apr 2010 22:10 On 2010-04-05 19:25, Boyd Stephen Smith Jr. wrote: > On Monday 05 April 2010 17:14:42 Mike Viau wrote: >> Both "aptitude search ~pextra ~smisc" and "aptitude search ~pextra search >> ~smisc" resulted in a list of package which did not necessarily meet both >> the search patterns specified. > > For short form, you can generally just smash things together to logical-AND > them. (aptitude search '~pextra~smisc') should do what you want. How does one do this is The One True Package Manager? -- "History does not long entrust the care of freedom to the weak or the timid." Dwight Eisenhower -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/4BBA9658.2020900(a)cox.net
From: John Hasler on 5 Apr 2010 22:50 Ron Johnson writes: > How does one do this in The One True Package Manager? thumper/~ apt-cache search "One True Package Manager" thumper/~ Nope. Can't find it. -- John Hasler -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/87fx39gvql.fsf(a)thumper.dhh.gt.org
From: Ron Johnson on 5 Apr 2010 23:10 On 2010-04-05 21:28, John Hasler wrote: > Ron Johnson writes: >> How does one do this in The One True Package Manager? > > thumper/~ apt-cache search "One True Package Manager" > thumper/~ > > Nope. Can't find it. You must not have the correct repos: $ apt-cache policy apt apt: Installed: 0.7.25.3 Candidate: 0.7.25.3 Packages *** 0.7.25.3 0 500 ftp://ftp.us.debian.org unstable/ideologically-pure Packages 100 /var/lib/dpkg/status -- "History does not long entrust the care of freedom to the weak or the timid." Dwight Eisenhower -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/4BBAA4DD.5020709(a)cox.net
From: Brian Ryans on 6 Apr 2010 00:20 Quoting Mike Viau on 2010-04-05 17:14:42: > Thanks for the tip. I noticed ~p works with all but the essential > priority for some reason. 'Essential' isn't a priority, per Policy 2.5 [1] Rather, Essential is a control file field; Policy 3.8 [2] and 5.6.9 [3]. To select Essential packages, use the search term '~E' [4]. DOC=/usr/share/doc/ #because these paths are long [1] $DOC/debian-policy/policy.html/ch-archive.html#s-priorities [2] $DOC/debian-policy/policy.html/ch-binary.html#s3.8 [3] $DOC/debian-policy/policy.html/ch-controlfields.html#s-f-Essential [4] $DOC/aptitude/README lines 2902-2904 -- _ Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 . ( ) ICQ UIN: 43190205 | Mail/MSN/Jabber: BrianLRyans(a)gmail.com ..: X ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org / \ Any technology distinguishable from magic is insufficiently advanced
From: Tom H on 6 Apr 2010 01:20 On Mon, Apr 5, 2010 at 6:14 PM, Mike Viau <viaum(a)sheridanc.on.ca> wrote: > Mon, 5 Apr 2010 17:47:36 -0400 <tomh0665(a)gmail.com> wrote: > > On Mon, Apr 5, 2010 at 5:28 PM, Mike Viau <viaum(a)sheridanc.on.ca> wrote: > > > I have used aptitude show $(package_name) to list the details of a given > > > package. > > > > > > In the output of the vlan package for example one gets output like: > > > > > > Priority: extra > > > Section: misc > > > > > > How might one determine all packages (installed or not) that fall under a > > > particular "Priority" or "Section" ? > > aptitude search ~s<section> > > aptitude search ~p<priority> > Thanks for the tip. I noticed ~p works with all but the essential priority for some reason. > > With your tip I was able to find this link: > http://algebraicthunk.net/~dburrows/projects/aptitude/doc/en/ch02s03s05.html#tableSearchTermQuickGuide > > I noticed how terms might be ANDed together but I would appreicated a working example of this. > > ?and(term1, term2) term1 term2 Select any package that matches both term1 and term2. > > Both "aptitude search ~pextra ~smisc" and "aptitude search ~pextra search ~smisc" resulted in a list of package which did not necessarily meet both the search patterns specified. You're welcome. That table is misleading because it does not point out that you have to escape spaces and parentheses, so aptitude search '~pextra ~smisc' aptitude search ~pextra\ ~smisc will work -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/j2x6d4219cc1004052213nca42d08jc5474eda01ee6f5(a)mail.gmail.com
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: horrible mc colorscheme Next: shouldn't apt-get upgrade, you know, upgrade ? |