* (Subject: Many 'l' syntax options)<br><br>Apparently, there is much more than "~a" .. "~z" & "~ahold" & "~o"<br><br>I found a list help page here:<br><br> * http://aptitude.alioth.debian.org/doc/en/ch02s04s05.html<br> * file:///usr/share/doc/aptitude/html/en/ch02s04s05.html<br><br>I am on the bug report's topic of displaying knowledge inside of the<br> "aptitude" console program. Currently the sentences are not linked to and<br> are easily unfindable using quality Internet search engines (excl Google).<br><br><br>The page's contents starts with:<br> | Search term reference<br> |<br> | Table 2.3, “Quick guide to search terms” provides a brief summary of all the<br> |  search terms provided by aptitude. A full description of each term can be<br> | found below.<br> |<br> | Table 2.3. Quick guide to search terms<br> |<br> |  +------------------------------------...<br> |  | Long form    | Short form | Description |<br><br>(That "Short form" is the syntax of the "l" key popup of the "aptitude" console<br> program of Debian family Linux distros.)<br><br><br>~d<descr> : select packages whose description matches <descr>. Eg. "~dbridge".<br><br>~ahold<br>~ainstall<br>~aupgrade<br>~adowngrade<br>~aremove<br>~apurge<br><br>---<br><br>Not-broken dependencies:<br>  ~D[depType:]pattern : "Match packages that declare a dependency of type depType<br>                        on a package matching pattern."<br>  ~R[depType:]pattern : "Select packages that are the targets of a dependency of<br>                        type depType declared by a package matching pattern."<br>---<br><br>Broken dependencies:<br>  ~b : "Select packages that have a broken dependency.", "Matches packages<br>      that ... have an unfulfilled dependency, predependency, breaks, or conflict."<br><br>  (~B<debType>: Select package that have a broken dependency of the given depType)<br><br>  ~Bdepends : packages with a broken 'depends' type of dependency<br>  ~Bpredepends :packages with a broken 'predepends' type of dependency<br>  ~Brecommends : [nothing found in my PC]<br>  ~Bsuggests : finds some. (Is same-as: "?broken-suggests")<br>  ~Bbreaks : found nothing<br>  ~Bconflicts : found some pkgs<br>  ~Breplaces<br>   <br>   * "~Bsuggests(~i)" : both suggested/?recommended & installed<br>   * "(~Bsuggests)(!~i)" : quite a lot of lines for pkgs.<br><br>  Table has an error, perhaps incorrect in having 2 rows sharing a column 2 value:<br><br>  "~RBdepType:pattern" <- col 2 value:<br>    [1] "?broken-reverse-depType(pattern)" :<br>             "Select packages that a package matching pattern declares a<br>               broken dependency of type depType."<br><br>    [2] "?reverse-broken-depType(pattern)" :<br>             "Select packages that are the targets of a broken dependency<br>               of type depType declared by a package matching pattern."<br><br>  ~DB[depType:]pattern : "Select packages that have a broken dependency of the<br>                          given depType matching pattern."<br><br>---<br><br>~c : packages that were removed but not purged. TODO deletions.<br><br>~g : "packages that are not required by any manually installed package."<br>       ~g can find nothing and can't find 'deletable' library pkgs<br>~M<br><br>~o : obsolete<br>~ddesc : eg. "~djava" [some files to remove]<br>"!Odebian" & “!?origin(debian)”, find packages that are not from a Debian archive.<br>~Pxyz : providing xyz<br>~Gtag : contains the debtags tag equal to the arg of "~G".<br>~ttask<br>~U : packages that can be upgraded<br><br>~i        : Shows installed packages.<br><br>~VCURRENT : Shows installed packages (Saw the same number of lines that "~i" had)<br>  "CURRENT matches the currently installed version of a package, if any."<br><br>~VTARGET : similar but found about 8 less lines for me. This description<br>  suggests to me that it would not do that:<br>    "TARGET matches the version of a package that is currently targeted for<br>     installation, if any."<br> suggests that it should find nothing.<br>~VCANDIDATE : Every package that the "+" key was not yet pressed on, ie. none.<br><br>~v : Shows "virtual packages". [What about transitional and meta packages(?)]<br><br>~Atesting<br>~Aunstable<br><br>"~ramd64" & "~rnative" & "~rforeign"<br><br>"~Cpattern" : packages that conflict with 'pattern'<br><br>~E : ["Essential". Actually it both that and what is installed. Ie. an html error.]<br><br>"Packages that conflict with themselves": "?for x: ?conflicts(?=x)"<br> (Found ardour, bonnie++, ctsim, gdb, openmpi-doc, xabacus, [23 total for me])<br><br>The loss and deletion of all *.deb package files that aptitude does<br> instantaneously without asking or prompting, can be stopped by putting this<br> around the call of "aptitude": super-read-only:<br><br>   chattr +i /var/cache/apt/archives/*.deb<br><br>There are some user-interface statement docs at Microsoft's website saying that:<br>  * It is virtuous/etc to delay the destruction and get a confirmation.<br><br>(I didn't see anything worth mentioning at Gnome developer's website (searching<br> using www.bing.com/account).)<br><br>In aptitude, slip with a key and maybe thousands of *.deb files are deleted.<br><br>That happened and while out at Manjaro Linux I realized how extremely easy it<br> could be to replace Systemd with OpenRC. (Soon)<br><br>While the community may argue for that: aptitude also says it had destroyed<br> the entire archive when in fact it failed to delete every file since<br> Linux chattr security had caused the internal delete command to fail.<br><br>The problem is that failure to report that a low level linux API call had<br> failed, is sure to be a bug (depending on the programming language).<br><br>TODO: the 'l' command that selects lines for deletable lib pkgs ?.<br><br><br>Mr Craig Carey, Auckland city, New Zealand.<br> (Gmane 'was' showing a Russian flag).<br><br><br><br><br><br><br>