Your message dated Mon, 07 Nov 2016 21:08:19 +0000
with message-id <e1c3r9p-0009cc...@fasolo.debian.org>
and subject line Bug#659549: fixed in desktop-base 9.0.0~exp1
has caused the Debian Bug report #659549,
regarding desktop-base: 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 ow...@bugs.debian.org
immediately.)
--
659549: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659549
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: desktop-base
Version: 6.0.7
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
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
desktop-base. 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.)
Since you already build-depend on a sufficient version of debhelper, 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 desktop-base-6.0.7/debian/control
desktop-base-6.0.7ubuntu1/debian/control
--- desktop-base-6.0.7/debian/control 2011-10-14 20:43:50.000000000 +0100
+++ desktop-base-6.0.7ubuntu1/debian/control 2012-02-12 00:22:48.000000000
+0000
@@ -15,6 +15,7 @@
Package: desktop-base
Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
Depends: librsvg2-common
Suggests: gnome | kde-standard | xfce4 | wmaker
Description: common files for the Debian Desktop
diff -Nru desktop-base-6.0.7/debian/maintscript
desktop-base-6.0.7ubuntu1/debian/maintscript
--- desktop-base-6.0.7/debian/maintscript 1970-01-01 01:00:00.000000000
+0100
+++ desktop-base-6.0.7ubuntu1/debian/maintscript 2012-02-12
00:21:47.000000000 +0000
@@ -0,0 +1 @@
+rm_conffile /etc/kde3/kdeglobals 6.0.1
diff -Nru desktop-base-6.0.7/debian/postinst
desktop-base-6.0.7ubuntu1/debian/postinst
--- desktop-base-6.0.7/debian/postinst 2010-12-21 09:28:42.000000000 +0000
+++ desktop-base-6.0.7ubuntu1/debian/postinst 2012-02-12 00:22:15.000000000
+0000
@@ -2,10 +2,6 @@
#DEBHELPER#
-if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
- dpkg-maintscript-helper rm_conffile /etc/kde3/kdeglobals 6.0.1 -- "$@"
-fi
-
if [ "${1}" = "configure" ] && [ "$2" != "" ] ; then
if dpkg --compare-versions ${2} lt 0.3.11 && dpkg --compare-versions ${2}
gt 0.3.5; then
diff -Nru desktop-base-6.0.7/debian/postrm
desktop-base-6.0.7ubuntu1/debian/postrm
--- desktop-base-6.0.7/debian/postrm 2010-12-21 21:31:51.000000000 +0000
+++ desktop-base-6.0.7ubuntu1/debian/postrm 2012-02-12 00:22:17.000000000
+0000
@@ -2,10 +2,6 @@
#DEBHELPER#
-if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
- dpkg-maintscript-helper rm_conffile /etc/kde3/kdeglobals 6.0.1 -- "$@"
-fi
-
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
if which update-grub2 > /dev/null ; then
update-grub2 || true
diff -Nru desktop-base-6.0.7/debian/preinst
desktop-base-6.0.7ubuntu1/debian/preinst
--- desktop-base-6.0.7/debian/preinst 2010-11-18 12:09:34.000000000 +0000
+++ desktop-base-6.0.7ubuntu1/debian/preinst 2012-02-12 00:22:12.000000000
+0000
@@ -1,9 +1,6 @@
#!/bin/sh -e
#DEBHELPER#
-if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
- dpkg-maintscript-helper rm_conffile /etc/kde3/kdeglobals 6.0.1 -- "$@"
-fi
if [ "${1}" = "upgrade" ]; then
if dpkg --compare-versions ${2} lt 0.3.11 && dpkg --compare-versions ${2}
gt 0.3.5; then
Thanks,
--
Colin Watson [cjwat...@ubuntu.com]
--- End Message ---
--- Begin Message ---
Source: desktop-base
Source-Version: 9.0.0~exp1
We believe that the bug you reported is fixed in the latest version of
desktop-base, which is due to be installed in the Debian FTP archive.
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 659...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Yves-Alexis Perez <cor...@debian.org> (supplier of updated desktop-base 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 07 Nov 2016 21:32:30 +0100
Source: desktop-base
Binary: desktop-base
Architecture: source all
Version: 9.0.0~exp1
Distribution: experimental
Urgency: medium
Maintainer: Gustavo Franco <stra...@debian.org>
Changed-By: Yves-Alexis Perez <cor...@debian.org>
Description:
desktop-base - common files for the Debian Desktop
Closes: 415064 598776 607842 608523 611170 611364 612163 659549 670866 762276
773369 773404 785371 831730
Changes:
desktop-base (9.0.0~exp1) experimental; urgency=medium
.
[ Aurélien COUDERC ]
* Initial support for Soft Waves theme by Juliette Belin.
- Default theme for GRUB (Closes: #598776, #773369)
- Default theme for Gnome wallpaper and lock screen
- Default theme for Plasma 5 wallpaper (Closes: #831730)
- Theme available for SDDM login and lock screen
- debian/copyright updated
* Initial support for global theme switching via alternatives
.
* Remove references to long gone KDE3 globals in maintainer scripts.
(Closes: #659549)
* README.Debian: inform about updating initrds too. (Closes: #612163)
* Document use of sync use before grub update in postinst. (Closes: #611364)
* Add SDDM theming for KDE/Plasma 5:
- Based on default SDDM theme breeze + Debian theme background.
- Can be configured with alternatives (also works in lightdm).
(Closes: #415064, #608523, #611170, #670866, #762276)
* Remove deprecated ksplash and kdm from KDE4. (Closes: #607842)
* Remove deprecated splash options from Gnome 2.
* Some cleanup in maintainer scripts to correctly handle alternatives.
(Closes: #773404)
.
* Fix lintian warning command-with-path-in-maintainer-script in
postinst script.
* Bump Standards-Version to 3.9.8 (no changes needed).
.
[ Yves-Alexis Perez ]
* Also use Debian wallpaper for second monitor on Xfce. closes: #785371
Checksums-Sha1:
784902d559a4ef173fea70596f11b43505b1fd4b 1536 desktop-base_9.0.0~exp1.dsc
bdc6202a570f704a1259ab9e7712f741ae05d6c1 6383300 desktop-base_9.0.0~exp1.tar.xz
9f73f0d5b0586cc88708a016e9edbcebae67bc31 7580
desktop-base_9.0.0~exp1_20161107T203356z-7f8c22c9.buildinfo
22e11bbd1925c9dc7061817bd68025abb344b80d 7175734
desktop-base_9.0.0~exp1_all.deb
Checksums-Sha256:
4203462ec07e04a5c5061a277d0ed53b42273969fa7cba0fc0f2445a188cc7e8 1536
desktop-base_9.0.0~exp1.dsc
b1fa584671b91dd086a3d44ec75f30d82b8d0b8d9c4388930856d7f2de7200e9 6383300
desktop-base_9.0.0~exp1.tar.xz
7b3b405f4ada1792d186b94c1db3e58f384291bcd3dd86af285a252b50fa7ad0 7580
desktop-base_9.0.0~exp1_20161107T203356z-7f8c22c9.buildinfo
e8dc6cccf5cdc4ec2e93021b6cf7b678ee43b19ebef1e70d688550a367d49ecf 7175734
desktop-base_9.0.0~exp1_all.deb
Files:
e27af42ae25ab9caac5103cd39a6e94a 1536 x11 optional desktop-base_9.0.0~exp1.dsc
4fac5c372a2a8c2ccd64648ea7dd6668 6383300 x11 optional
desktop-base_9.0.0~exp1.tar.xz
7f8c22c9ed2772d7ba1695c2458546ed 7580 x11 optional
desktop-base_9.0.0~exp1_20161107T203356z-7f8c22c9.buildinfo
c97d579840090e8e89162c7de60d21ef 7175734 x11 optional
desktop-base_9.0.0~exp1_all.deb
-----BEGIN PGP SIGNATURE-----
iQEcBAEBCgAGBQJYIOV1AAoJEG3bU/KmdcCl5zkH/RUa4UoU3Z+MWKJPfbyHH3Z4
+n80jok4v5IYpyoe+RrKmmAqo+CteHUO0J7RzoqgjNy8711d6cqA2dA+A6sB6CDJ
lTJ2uqpNHJfNiEYXwUD09kHEK4yoe/2bzgHpTJOfXAITMaV6mu8OLqUZnTe8MKsQ
ncD5B/NMAbiDb4pQ82VPNMIQODyzZzzq0PKqXmBzBdfTxGFMslE6yWVZWcBPND2T
t8OW3IYGR+CLnLu8iVd/27xPe/hLAt0gQ2Brb58XjaCXR6kAEAOybC1zyGCRs2y2
TxDPxTuWr3Aeg6TKhq301fjwbH3KEZz55C73jRh/sXEKIz1yxQC1Q3MyO6DO6Yo=
=jfgH
-----END PGP SIGNATURE-----
--- End Message ---