[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#473461: should use --suppress-triggers

Package: apt
Version: 0.7.11
Severity: wishlist

From dpkg's triggers.txt:

   A package management tool which will run dpkg --configure --pending at
   the end may use --suppress-triggers on its other dpkg runs.  This
   would be more efficient as it allows more aggressive deferral (and
   hence more unification) of trigger processing.

Apt does not currently do this, and I think it would be a good idea for it to
do so, once a trigger-using dpkg is available in stable. Once menu is converted
to use triggers (I have written a patch), update-menus will be triggered twice
per dpkg invocation by apt. (This will drop to once per dpkg invocation
later..) In a large upgrade, that could be quite a lot of unnecessary
update-menus runs. With --suppress-triggers, it would run once at the very end.

see shy jo

Attachment: signature.asc
Description: Digital signature

Reply to: