On Wed, Dec 13, 2006 at 04:15:23PM +0100, Marc-Jano Knopp wrote: > The tags printed (after "apt-get update" and "debtags update") by e.g. > | Tags: interface::x11, role::metapackage, role::program, scope::application, > | scope::utility, use::editing, use::typesetting, works-with::text, > | works-with-format::tex, x11::application > differ from those printed by > | Tag: interface::x11, role::metapackage, role::program, scope::application, > | scope::utility, use::{editing,text-formatting,typesetting}, > works-with::text, > | works-with-format::tex, x11::application > (i.e. use::text-formatting is missing in "debtags show lyx" output) > The problem seems to be that debtags uses /var/lib/debtags/package-tags, > while apt-cache probably uses /var/lib/apt/lists/*Packages, and both > files are not in sync tag-wise, which is definitely not what one would > expect.
Yes. The Packages file is just the way tags are brought into the system, but tags should be managed through libraries that can use the merged and indexed version: in /etc/debtags/sources.list you can see that it's possible to activate many tag sources. The idea is to eventually have aptitude and other package managers use libept or other similar code to access the merged data. Then there's the problem with the index getting out of sync with apt if one doesn't run debtags update often. For that one, I should install a cron.daily cron job as a temporary work-around, but I'd really like to see common post-update hooks implemented for all applications that update the apt database. Ciao, Enrico -- GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <[EMAIL PROTECTED]>
signature.asc
Description: Digital signature