Your message dated Sat, 03 Mar 2012 11:35:32 +0000
with message-id <[email protected]>
and subject line Bug#659892: fixed in xfce4-utils 4.8.3-2
has caused the Debian Bug report #659892,
regarding xfce4-utils: use dh_installdeb maintscript support
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.)
--
659892: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659892
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xfce4-utils
Version: 4.8.3-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch precise
Using 'dpkg-maintscript-helper supports rm_conffile' guards introduces
unreliability into upgrades; it means that the conffile is removed or
not depending on whether dpkg happens to be unpacked before xfce4-utils.
This seems generally undesirable; it would be better to enforce a single
code path. (This is academic for Debian because the version of dpkg in
squeeze supported dpkg-maintscript-helper, hence Severity: wishlist;
Ubuntu's last LTS release didn't have a sufficient version of dpkg for
that which is why I care.)
It would be nice to just use dh_installdeb's support for generating
dpkg-maintscript-helper commands, which was introduced in debhelper
8.1.0. This would remove duplicate code from your maintainer scripts.
Here's a patch:
* Use maintscript support in dh_installdeb rather than writing out
dpkg-maintscript-helper commands by hand. We now simply Pre-Depend on a
new enough version of dpkg rather than using 'dpkg-maintscript-helper
supports' guards, leading to more predictable behaviour on upgrades.
diff -Nru xfce4-utils-4.8.3/debian/control xfce4-utils-4.8.3/debian/control
--- xfce4-utils-4.8.3/debian/control 2011-10-24 21:48:14.000000000 +0100
+++ xfce4-utils-4.8.3/debian/control 2012-02-14 15:33:41.000000000 +0000
@@ -16,6 +16,7 @@
Package: xfce4-utils
Section: xfce
Architecture: any
+Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}, xterm|x-terminal-emulator,
x11-xserver-utils, xinit, exo-utils, procps
Recommends: xfwm4, xfce4-panel, thunar, xscreensaver | xlockmore |
diff -Nru xfce4-utils-4.8.3/debian/maintscript
xfce4-utils-4.8.3/debian/maintscript
--- xfce4-utils-4.8.3/debian/maintscript 1970-01-01 01:00:00.000000000
+0100
+++ xfce4-utils-4.8.3/debian/maintscript 2012-02-14 15:32:48.000000000
+0000
@@ -0,0 +1 @@
+rm_conffile /etc/xdg/autostart/xfconf-migration-4.6.desktop 4.8.1-1
diff -Nru xfce4-utils-4.8.3/debian/postinst xfce4-utils-4.8.3/debian/postinst
--- xfce4-utils-4.8.3/debian/postinst 2011-04-11 14:58:39.000000000 +0100
+++ xfce4-utils-4.8.3/debian/postinst 2012-02-14 15:32:58.000000000 +0000
@@ -7,11 +7,6 @@
x-session-manager.1.gz /usr/share/man/man1/startxfce4.1.gz
fi
-if dpkg-maintscript-helper supports rm_conffile; then
- dpkg-maintscript-helper rm_conffile \
- /etc/xdg/autostart/xfconf-migration-4.6.desktop "4.8.1-1" -- "$@"
-fi
-
#DEBHELPER#
exit 0
diff -Nru xfce4-utils-4.8.3/debian/postrm xfce4-utils-4.8.3/debian/postrm
--- xfce4-utils-4.8.3/debian/postrm 2011-04-11 14:58:39.000000000 +0100
+++ xfce4-utils-4.8.3/debian/postrm 2012-02-14 15:33:02.000000000 +0000
@@ -1,11 +1,6 @@
#!/bin/sh
set -e
-if dpkg-maintscript-helper supports rm_conffile; then
- dpkg-maintscript-helper rm_conffile \
- /etc/xdg/autostart/xfconf-migration-4.6.desktop "4.8.1-1" -- "$@"
-fi
-
if [ "$1" = "purge" ]; then
rm -f /etc/dm/Sessions/xfce4.desktop
fi
diff -Nru xfce4-utils-4.8.3/debian/preinst xfce4-utils-4.8.3/debian/preinst
--- xfce4-utils-4.8.3/debian/preinst 2011-06-18 08:06:10.000000000 +0100
+++ xfce4-utils-4.8.3/debian/preinst 2012-02-14 15:32:55.000000000 +0000
@@ -10,11 +10,6 @@
fi
-if dpkg-maintscript-helper supports rm_conffile; then
- dpkg-maintscript-helper rm_conffile \
- /etc/xdg/autostart/xfconf-migration-4.6.desktop "4.8.1-1" -- "$@"
-fi
-
# Remove symlinks for el which appeared in 4.8.2-1
case "$1" in
install|upgrade)
Thanks,
--
Colin Watson [[email protected]]
--- End Message ---
--- Begin Message ---
Source: xfce4-utils
Source-Version: 4.8.3-2
We believe that the bug you reported is fixed in the latest version of
xfce4-utils, which is due to be installed in the Debian FTP archive:
xfce4-utils_4.8.3-2.debian.tar.gz
to main/x/xfce4-utils/xfce4-utils_4.8.3-2.debian.tar.gz
xfce4-utils_4.8.3-2.dsc
to main/x/xfce4-utils/xfce4-utils_4.8.3-2.dsc
xfce4-utils_4.8.3-2_amd64.deb
to main/x/xfce4-utils/xfce4-utils_4.8.3-2_amd64.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.
Lionel Le Folgoc <[email protected]> (supplier of updated xfce4-utils 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: SHA512
Format: 1.8
Date: Sat, 03 Mar 2012 12:22:06 +0100
Source: xfce4-utils
Binary: xfce4-utils
Architecture: source amd64
Version: 4.8.3-2
Distribution: unstable
Urgency: low
Maintainer: Debian Xfce Maintainers <[email protected]>
Changed-By: Lionel Le Folgoc <[email protected]>
Description:
xfce4-utils - Various tools for Xfce
Closes: 659892
Changes:
xfce4-utils (4.8.3-2) unstable; urgency=low
.
[ Lionel Le Folgoc ]
* Use maintscript support in dh_installdeb rather than writing out
dpkg-maintscript-helper commands by hand. We now simply Pre-Depend on a
new enough version of dpkg rather than using 'dpkg-maintscript-helper
supports' guards, leading to more predictable behaviour on upgrades.
Thanks Colin Watson for the patch. Closes: #659892
* debian/patches: add missing DEP3 headers.
.
[ Yves-Alexis Perez ]
* debian/control:
- update debhelper build-dep to 9.
- update standards version to 3.9.3.
Checksums-Sha1:
1cb410919d0605631d8e7df801da788d7661d91a 2165 xfce4-utils_4.8.3-2.dsc
e6ecbf752f8189aa3432535da31eb27d0c1c6bfc 11356
xfce4-utils_4.8.3-2.debian.tar.gz
0cec0dac42a5476c4400bb17505d5a491a9512c7 781988 xfce4-utils_4.8.3-2_amd64.deb
Checksums-Sha256:
1ce9908af867e9ca351e9329ef73e123f45adaf338ae69c450bc3f73f696d8eb 2165
xfce4-utils_4.8.3-2.dsc
98bca34b1cca65b611755879fbe9dd6d9656829ab29888c43ebe799353b606b1 11356
xfce4-utils_4.8.3-2.debian.tar.gz
8ad0442d014b6b3b5eddb961628def0de12d2e3214b9eedb9e382f840f4fb496 781988
xfce4-utils_4.8.3-2_amd64.deb
Files:
2e512027b5dd40d8d56d1fd1bd07fae8 2165 xfce optional xfce4-utils_4.8.3-2.dsc
1e201a33c7b874b3b5578088441cd6ed 11356 xfce optional
xfce4-utils_4.8.3-2.debian.tar.gz
acead729842b1a35f1666a7ecd78fc4d 781988 xfce optional
xfce4-utils_4.8.3-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCgAGBQJPUf9VAAoJEDBVD3hx7wuoTWsP/39qELi/p3Jz8s8ODsRCBKt9
P8U9w/dPzjsOWzlfn1DdivGpCQ4zvWl2YkYYEUi8vPkvoo4QeFHtY3tR3f6zydFA
vFySyn+KA/Bz2vQbL9CTE9CsMxTTvGv4DMxE9IfsRVF7I0UTButF2xA1l2uSsKvO
t0JWBAqOtF5zMcY+BFXVY7ymsWTv4ME5+Wo+txeBMhTQc5PnhAnMCE/nvf/dPxVL
3osdrggx/nIyjR+zuR/6zKRdGn99xyWClhfnJ/0NBoGxyTULSpbIp3MV7nn1qDw2
h6/FDR4k59iOT6sw+/2uMJ2roBhqFCt0qzR25W1kfJ3F+cqE650y/TuYB45HeIUE
5xKBboL/UkOwUVohKckDUB9jivwbPT9mi52/p4LPyGZDg16fHxO6djOWDW3iRW5+
ZwYXNm9YUdMPAr0/0xvvZgqbYdNZDu7pGNBfNHQG7mnSJ4VU4eSzfhEerIGErd56
3rWEGnuMc24O5NEjxW9YgSVO4JEpYOL+jJifQCkgz1115IC5WM5a+g1h8vs6rDnr
Zn8Qm2Tube7YcvLiONSQFOe7pRXWaCHqlvIcm/bkF7oYDXCzo7RGcUK2bazNIUW0
gCA36iNSsreNn+WneTyHGLz5koCE0ds5kwp2DoGqu+FpB1Lazb0S5KEUmlau7HJ0
+tPpkZ5CIEL8IAscpYEu
=fL/m
-----END PGP SIGNATURE-----
--- End Message ---