]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
aptitude: Only display changed packages in preview.
authorSimon Ruderich <simon@ruderich.org>
Thu, 16 Apr 2009 10:56:06 +0000 (12:56 +0200)
committerSimon Ruderich <simon@ruderich.org>
Thu, 16 Apr 2009 10:56:06 +0000 (12:56 +0200)
So that upgradeable packages which are not changed are not displayed.

debian/aptitude/config.real

index dd8339ecb3e1003608c6b9ded92f598ed09f463a..cd56710017dbf6f295e627fd4efb528c9d4e49e4 100644 (file)
@@ -13,8 +13,9 @@ aptitude {
         // http://noone.org/blog/English/Computer/Debian/Group%20by%20origin%20in%20aptitude.futile
         // the site he pointed me to.
         Default-Grouping "task,status,pattern(~O, !~O => other),section(subdirs,passthrough),section(topdir)";
-        // Same as Default-Grouping.
-        Default-Preview-Grouping "pattern(~O),action";
+        // Same as Default-Grouping but only display packages which are
+        // changed (so no upgradeable are shown).
+        Default-Preview-Grouping "pattern(~O),action,filter(~ainstall | ~aupgrade | ~adowngrade | ~aremove | ~apurge | ~ahold)";
     }
 
     // Don't display packages which only contain build dependencies.