Re: aptitude: searching for a short package name that is a common substring



On Fri, Feb 6, 2009 at 10:39 AM, Arthur Marsh
<arthur.marsh@xxxxxxxxxxxxxxxx> wrote:
Hi, I was wanting to install midnight commander and realised that the search
function in aptitude wasn't helping me much as the string "mc" appears in
lots of package names. (I used apt-get to install mc).

How does one get some text in the search box in aptitude to match the start
of line or end of line of the package name, or alternatively, search by
description?

The search in aptitude is a regular expression with some extensions,
use ^ to match beginning and $ to match end.

/M

--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Is apt-get still the cool package installer?
    ... I'll look into aptitude and synaptic. ... it can't even find the package at all. ... Now it wants me to 'apt-get autoremove' telling me that "The ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: the new apt-get recommendation
    ... of my package installations history. ... In preparing to install a given package, what would alert me that my ... I read some other official documentation recommend aptitude. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: dselect and a Recent Experience
    ... > done while installing a single package. ... > Debian system and I used dselect to list the packages in order to find ... It found it and I started to install from there except I ... problems and thought I'd try aptitude. ...
    (Debian-User)
  • Re: difficulties updating Etch
    ... just "some files failed to download"; I guess it timed out or something. ... IMHO, if you have been using aptitude religiously, don't do anything outside ... flashy red errors about the package cache. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: When you needed newer software than Sid/Backports provide...
    ... There's no easy way to find out whether a package can be trusted or not. ... through the aptitude curses interface, or by using 'aptitude install -t ... "You can install a package" is different from "you can get reliable ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)