Your message dated Mon, 09 Mar 2009 21:17:49 +0000
with message-id <[email protected]>
and subject line Bug#518919: fixed in debhelper 7.2.5
has caused the Debian Bug report #518919,
regarding menu: lost menu entries for upgraded packages
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
518919: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518919
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: menu
Version: 2.1.41
Severity: important
It seems that the "update-menus --trigger" that is run when a package
containing menu entries is installed does not work right. Today I lost
several entries for OpenOffice.org packages and had to run update-menus
by hand to restore them.
To get more information, I modified menu's postinst:
--8<---------------cut here---------------start------------->8---
--- /var/lib/dpkg/info/menu.postinst~ 2008-10-24 23:13:24.000000000 +0200
+++ /var/lib/dpkg/info/menu.postinst 2009-03-09 08:50:50.000000000 +0100
@@ -17,7 +17,7 @@
triggered)
# This is triggered by any installation of a menu file and by
# any call to update-menus made in a package maintainer script.
- update-menus --trigger
+ update-menus -d --trigger
exit 0
;;
*)
--8<---------------cut here---------------end--------------->8---
and reinstalled openoffice.org-writer:
,----
| % LANG=C sudo aptitude reinstall openoffice.org-writer
| Reading package lists... Done
| Building dependency tree
| Reading state information... Done
| Reading extended state information
| Initializing package states... Done
| Reading task descriptions... Done
| The following packages will be REINSTALLED:
| openoffice.org-writer
| 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not
upgraded.
| Need to get 0B/8111kB of archives. After unpacking 0B will be used.
| Writing extended state information... Done
| (Reading database ... 141444 files and directories currently installed.)
| Preparing to replace openoffice.org-writer 1:3.0.1-4+b1 (using
.../openoffice.org-writer_1%3a3.0.1-4
| +b1_i386.deb) ...
| Unpacking replacement openoffice.org-writer ...
| Processing triggers for man-db ...
| Processing triggers for menu ...
| update-menus[8262]: Reading installed packages list...
| update-menus[8262]: Reading translation rules in
/etc/menu-methods/translate_menus.
| update-menus[8262]: Reading menu-entry files in /etc/menu/.
| update-menus[8262]: 6 menu entries found (6 total).
| update-menus[8262]: Reading menu-entry files in /usr/lib/menu/.
| update-menus[8262]: 2 menu entries found (8 total).
| update-menus[8262]: Reading menu-entry files in /usr/share/menu/.
| update-menus[8262]: file /usr/share/menu/openoffice.org-writer line 7:
| Discarding entry requiring missing package openoffice.org-writer.
| update-menus[8262]: 200 menu entries found (208 total).
| update-menus[8262]: Reading menu-entry files in /usr/share/menu/default/.
| update-menus[8262]: 0 menu entries found (208 total).
| update-menus[8262]: Running menu-methods in /etc/menu-methods/.
| update-menus[8262]: Running method: /etc/menu-methods/icewm-common
| update-menus[8262]: Running method: /etc/menu-methods/blackbox
| update-menus[8262]: Running method: /etc/menu-methods/menu-xdg
| update-menus[8262]: Running method:
/etc/menu-methods/xdg-desktop-entry-spec-sessions
| update-menus[8262]: Running method:
/etc/menu-methods/xdg-desktop-entry-spec-apps
| update-menus[8262]: Running method:
/etc/menu-methods/xdg-desktop-entry-spec-dirs
| update-menus[8262]: Running method: /etc/menu-methods/fluxbox
| Setting up openoffice.org-writer (1:3.0.1-4+b1) ...
| Reading package lists... Done
| Building dependency tree
| Reading state information... Done
| Reading extended state information
| Initializing package states... Done
| Reading task descriptions... Done
|
`----
The corresponding excerpt from /var/log/dpkg.log follows:
,----
| 2009-03-09 08:52:08 startup archives unpack
| 2009-03-09 08:52:08 upgrade openoffice.org-writer 1:3.0.1-4+b1 1:3.0.1-4+b1
| 2009-03-09 08:52:08 status half-configured openoffice.org-writer 1:3.0.1-4+b1
| 2009-03-09 08:52:08 status unpacked openoffice.org-writer 1:3.0.1-4+b1
| 2009-03-09 08:52:08 status half-installed openoffice.org-writer 1:3.0.1-4+b1
| 2009-03-09 08:52:08 status triggers-pending man-db 2.5.4-1
| 2009-03-09 08:52:08 status half-installed openoffice.org-writer 1:3.0.1-4+b1
| 2009-03-09 08:52:08 status triggers-pending menu 2.1.41
| 2009-03-09 08:52:08 status half-installed openoffice.org-writer 1:3.0.1-4+b1
| 2009-03-09 08:52:08 status half-installed openoffice.org-writer 1:3.0.1-4+b1
| 2009-03-09 08:52:08 status unpacked openoffice.org-writer 1:3.0.1-4+b1
| 2009-03-09 08:52:08 status unpacked openoffice.org-writer 1:3.0.1-4+b1
| 2009-03-09 08:52:08 trigproc man-db 2.5.4-1 2.5.4-1
| 2009-03-09 08:52:08 status half-configured man-db 2.5.4-1
| 2009-03-09 08:52:08 status installed man-db 2.5.4-1
| 2009-03-09 08:52:08 trigproc menu 2.1.41 2.1.41
| 2009-03-09 08:52:08 status half-configured menu 2.1.41
| 2009-03-09 08:52:09 status installed menu 2.1.41
| 2009-03-09 08:52:11 startup packages configure
| 2009-03-09 08:52:11 configure openoffice.org-writer 1:3.0.1-4+b1 1:3.0.1-4+b1
| 2009-03-09 08:52:11 status unpacked openoffice.org-writer 1:3.0.1-4+b1
| 2009-03-09 08:52:11 status half-configured openoffice.org-writer 1:3.0.1-4+b1
| 2009-03-09 08:52:12 status installed openoffice.org-writer 1:3.0.1-4+b1
`----
Note that
- apt generally installs packages by running "dpkg --unpack <packages>"
followed by "dpkg --configure <packages>" and the file trigger is
processed after the unpacking phase.
- openoffice.org-writer 1:3.0.1-4+b1 was apparently built with debhelper
7.2.3, where dh_installmenus no longer produces a call to update-menus
in the generated postinst.
This is similar to #489040, but with reversed results: installing the
package with apt does not produce a menu entry, but installing with dpkg
directly does.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.28.7-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages menu depends on:
ii libc6 2.9-4 GNU C Library: Shared libraries
ii libgcc1 1:4.3.3-5 GCC support library
ii libstdc++6 4.3.3-5 The GNU Standard C++ Library v3
menu recommends no packages.
Versions of packages menu suggests:
ii kdebase-bin 4:3.5.10.dfsg.1-1 core binaries for the KDE base mod
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: debhelper
Source-Version: 7.2.5
We believe that the bug you reported is fixed in the latest version of
debhelper, which is due to be installed in the Debian FTP archive:
debhelper_7.2.5.dsc
to pool/main/d/debhelper/debhelper_7.2.5.dsc
debhelper_7.2.5.tar.gz
to pool/main/d/debhelper/debhelper_7.2.5.tar.gz
debhelper_7.2.5_all.deb
to pool/main/d/debhelper/debhelper_7.2.5_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Joey Hess <[email protected]> (supplier of updated debhelper package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 09 Mar 2009 16:20:41 -0400
Source: debhelper
Binary: debhelper
Architecture: source all
Version: 7.2.5
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[email protected]>
Changed-By: Joey Hess <[email protected]>
Description:
debhelper - helper programs for debian/rules
Closes: 517423 518919
Changes:
debhelper (7.2.5) unstable; urgency=low
.
* Set MODULEBUILDRC=/dev/null when running perl Build scripts
to avoid ~/.modulebuildrc influencing the build. Closes: #517423
* dh_installmenus: Revert removal of update-menus calls. Closes: #518919
Menu refuses to add unconfigured packages to the menu, and thus
omits packages when triggered, unfortunatly. I hope its behavior will
change.
Checksums-Sha1:
62cf237007a49c15e25d34b9e490f76b56ff1f7d 906 debhelper_7.2.5.dsc
dc63eb908f6e9e07224e80c5cb4f3d73a4af33c5 293935 debhelper_7.2.5.tar.gz
d69477635185c4cf27aed1b101a0a0238ece68be 549466 debhelper_7.2.5_all.deb
Checksums-Sha256:
4f3a88cf5220487492592f1af132b60e22ca088a276242282087ca59eb9d0d55 906
debhelper_7.2.5.dsc
fdf8ad2955205069088b42715097a277f0bd4546f9cade64380662176f455969 293935
debhelper_7.2.5.tar.gz
01ab9afe830670e5a20d0ce2bd943c54984e6d89036d13ee93df4aa4f6dbcc9c 549466
debhelper_7.2.5_all.deb
Files:
30910b03a229a7770826da3977e5af62 906 devel optional debhelper_7.2.5.dsc
02645ffbef53377071791af94ef192e1 293935 devel optional debhelper_7.2.5.tar.gz
06c299aa5857a3b55c3d308e27333bbd 549466 devel optional debhelper_7.2.5_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFJtXqq2tp5zXiKP0wRAjcFAJ9R9kouDnL1jKIyt5kaVuORke5opQCgjtEd
2K26Ja6adryXlvP2MBxAQ4g=
=aez5
-----END PGP SIGNATURE-----
--- End Message ---