[Aptitude-devel] Bug#686646: Bug#686646: aptitude: Invisible hierachy or improperly ordered package sets in categorical browser

Daniel Hartwig mandyke at gmail.com
Wed Sep 5 02:53:45 BST 2012


On 4 September 2012 23:29, Axel Beckert <abe at debian.org> wrote:
> BTW, is /usr/share/aptitude/function_groups also the source for the
> archive section descriptions in the default view?

No, that file is only for the categorical browser.  The section
descriptions are in section-descriptions (English) and
aptitude-defaults.LANG (other).

>> > I though wonder, why they don't always show up behind the last
>> > subcategory, but sometimes also behind some intermediate
>> > subcategory.
>>
>> I scanned through a few but did not find any like that. Can you
>> point out some?
>
> My first example (both, opened and collapsed) is a case where it's
> added to a subcategory in the middle (the second out of five or so), I
> just haven't listed the next subcategory because the package list
> would have been too long.

Under Admin > Hardware?  It has only two subcategories:

  --\ Hardware access and support (105)
    --- Graphics hardware support (scanners, cameras, video cards, etc) (36)
    --- Sound hardware support (5)
  [acpid and other packages]
  --- Housekeeping daemons (35)
  --- Kernels and kernel modules (7)

$ cd /usr/share/aptitude
$ grep '^Parents:.*admin-hardware' function_groups | wc -l
2
$ grep acpid -A1 function_pkgs
Package: acpid
Parents: admin-hardware, admin-laptop

So acpid, etc. are meant to be under Hardware.  Everything seems to be
right (on my system).  The way they are displayed does not make it
clear where the packages in the sub-category end and the packages for
the parent category begin.

>> Given that debtags browser is available and includes more up-to-date
>> information I think this categorical browser can be deprecated,
>
> IMHO not even can, but actually should!

Removing the menu item is simple enough and could be included in the
next point release; though I guess this is a post-Wheezy task at this
point.

I'll work on a short note for NEWS.Debian and instructions to replace
any custom hierarchy with debtags.



More information about the Aptitude-devel mailing list