Package: debhelper
Version: 8.1.6
Severity: normal

I noticed that a simple package install triggers the menu trigger twice:
----
Preparing to replace zim 0.52-1 (using .../archives/zim_0.52-1_all.deb) ...
Unpacking replacement zim ...
Processing triggers for shared-mime-info ...
Processing triggers for menu ...
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for python-support ...
Processing triggers for gnome-menus ...
Setting up zim (0.52-1) ...
Processing triggers for python-support ...
Processing triggers for menu ...
----

The first one is because of the file trigger that dpkg activates. The second
one is because update-menus is called in the postinst. And update-menus runs
"dpkg-trigger --by-package=menu /usr/share/menu" if it sees that the dpkg lock
is active.

This is obviously counter-productive.

I thus believe that debhelper should no longer add the snippets for simple menu
files. Even oldstable has a menu with triggers support, thus I believe you
don't even have to care with backwards compatibility and/or partial upgrades.

Cheers,

PS: X-Debbugs-CC to [email protected] set.

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils              2.21.51.20110523-1 The GNU assembler, linker and bina
ii  dpkg-dev              1.16.1             Debian package development tools
ii  file                  5.04-5+b1          Determines file type using "magic"
ii  html2text             1.3.2a-15          advanced HTML to text converter
ii  man-db                2.6.0.2-1          on-line manual pager
ii  perl                  5.12.3-7           Larry Wall's Practical Extraction 
ii  perl-base             5.12.3-7           minimal Perl system
ii  po-debconf            1.0.16+nmu1        tool for managing templates file t

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make                       0.58       tool that converts source archives

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to