Your message dated Sun, 18 Feb 2024 00:46:45 +0000
with message-id <e1rbvkp-004lqt...@fasolo.debian.org>
and subject line Bug#1063323: fixed in wireless-tools 30~pre9-16.1~exp2
has caused the Debian Bug report #1063323,
regarding libiw30t64: file loss due to /usr-move (DEP17)
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.)
--
1063323: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063323
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libiw30t64
Version: 30~pre9-16.1~exp1
Severity: serious
Tags: patch
User: helm...@debian.org
Usertags: dep17p1
Control: affects -1 + libiw30
X-Debbugs-Cc: vor...@debian.org
Installing libiw30t64 may cause file loss in an upgrade scenario.
Reproducer:
mmdebstrap --variant=apt --verbose bookworm /dev/null "deb
http://deb.debian.org/debian bookworm main" "deb http://deb.debian.org/debian
experimental main" --include=wireless-tools --chrooted-customize-hook="apt-get
download libiw30t64" --chrooted-customize-hook="echo libiw30 deinstall | dpkg
--set-selections" --chrooted-customize-hook="dpkg --auto-deconfigure --unpack
*.deb" --chrooted-customize-hook="dpkg --configure -a"
--chrooted-customize-hook="dpkg -r libiw30" --chrooted-customize-hook="! dpkg
--verify | grep ."
I'm attaching a patch for your convenience. I consider that libiw30 is
not as central as other packages and hence propose employing Conflicts
here. Conflicts allow removing the protective diversion in trixie's
postinst rather than forky's postinst already.
Helmut
diff --minimal -Nru wireless-tools-30~pre9/debian/changelog
wireless-tools-30~pre9/debian/changelog
--- wireless-tools-30~pre9/debian/changelog 2024-02-04 21:34:45.000000000
+0100
+++ wireless-tools-30~pre9/debian/changelog 2024-02-06 07:33:48.000000000
+0100
@@ -1,3 +1,9 @@
+wireless-tools (30~pre9-16.1~exp2) UNRELEASED; urgency=medium
+
+ * Fix /usr-move file loss. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de> Tue, 06 Feb 2024 07:33:48 +0100
+
wireless-tools (30~pre9-16.1~exp1) experimental; urgency=medium
* Non-maintainer upload.
diff --minimal -Nru wireless-tools-30~pre9/debian/clean
wireless-tools-30~pre9/debian/clean
--- wireless-tools-30~pre9/debian/clean 1970-01-01 01:00:00.000000000 +0100
+++ wireless-tools-30~pre9/debian/clean 2024-02-06 07:33:30.000000000 +0100
@@ -0,0 +1,2 @@
+debian/libiw30t64.preinst
+debian/libiw30t64.postinst
diff --minimal -Nru wireless-tools-30~pre9/debian/control
wireless-tools-30~pre9/debian/control
--- wireless-tools-30~pre9/debian/control 2024-02-04 21:34:45.000000000
+0100
+++ wireless-tools-30~pre9/debian/control 2024-02-06 07:31:36.000000000
+0100
@@ -31,8 +31,7 @@
Package: libiw30t64
Provides: ${t64:Provides}
-Replaces: libiw30
-Breaks: libiw30 (<< ${source:Version})
+Conflicts: libiw30
Section: libs
Architecture: linux-any
Multi-Arch: same
diff --minimal -Nru wireless-tools-30~pre9/debian/libiw30t64.lintian-overrides
wireless-tools-30~pre9/debian/libiw30t64.lintian-overrides
--- wireless-tools-30~pre9/debian/libiw30t64.lintian-overrides 2024-02-04
21:34:45.000000000 +0100
+++ wireless-tools-30~pre9/debian/libiw30t64.lintian-overrides 2024-02-06
07:33:48.000000000 +0100
@@ -1 +1,5 @@
libiw30t64: package-name-doesnt-match-sonames libiw30
+# begin-remove-after: released:trixie
+# DEP17 protective diversion
+diversion-for-unknown-file lib/x86_64-linux-gnu/libiw.so.30 [preinst:*]
+# end-remove-after
diff --minimal -Nru wireless-tools-30~pre9/debian/libiw30t64.postinst.in
wireless-tools-30~pre9/debian/libiw30t64.postinst.in
--- wireless-tools-30~pre9/debian/libiw30t64.postinst.in 1970-01-01
01:00:00.000000000 +0100
+++ wireless-tools-30~pre9/debian/libiw30t64.postinst.in 2024-02-06
07:29:28.000000000 +0100
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+# begin-remove-after: released:trixie
+if [ "$1" = configure ]; then
+ dpkg-divert --package libiw30t64 --no-rename --remove --divert
"/lib/#DEB_HOST_MULTIARCH#/libiw.so.30.usr-is-merged"
"/lib/#DEB_HOST_MULTIARCH#/libiw.so.30"
+fi
+# end-remove-after
+
+#DEBHELPER#
+
+exit 0
diff --minimal -Nru wireless-tools-30~pre9/debian/libiw30t64.preinst.in
wireless-tools-30~pre9/debian/libiw30t64.preinst.in
--- wireless-tools-30~pre9/debian/libiw30t64.preinst.in 1970-01-01
01:00:00.000000000 +0100
+++ wireless-tools-30~pre9/debian/libiw30t64.preinst.in 2024-02-06
07:29:30.000000000 +0100
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+# begin-remove-after: released:trixie
+if [ "$1" = install ]; then
+ dpkg-divert --package libiw30t64 --no-rename --add --divert
"/lib/#DEB_HOST_MULTIARCH#/libiw.so.30.usr-is-merged"
"/lib/#DEB_HOST_MULTIARCH#/libiw.so.30"
+fi
+# end-remove-after
+
+#DEBHELPER#
+
+exit 0
diff --minimal -Nru wireless-tools-30~pre9/debian/rules
wireless-tools-30~pre9/debian/rules
--- wireless-tools-30~pre9/debian/rules 2023-11-28 01:03:11.000000000 +0100
+++ wireless-tools-30~pre9/debian/rules 2024-02-06 07:33:39.000000000 +0100
@@ -19,3 +19,8 @@
override_dh_installudev:
dh_installudev --priority=19
+
+debian/%:debian/%.in
+ sed -e 's/#DEB_HOST_MULTIARCH#/$(DEB_HOST_MULTIARCH)/g' $< > $@
+
+execute_before_dh_installdeb:debian/libiw30t64.preinst
debian/libiw30t64.postinst
--- End Message ---
--- Begin Message ---
Source: wireless-tools
Source-Version: 30~pre9-16.1~exp2
Done: Steve Langasek <vor...@debian.org>
We believe that the bug you reported is fixed in the latest version of
wireless-tools, 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 1063...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Steve Langasek <vor...@debian.org> (supplier of updated wireless-tools 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: Sat, 17 Feb 2024 17:01:16 +0000
Source: wireless-tools
Architecture: source
Version: 30~pre9-16.1~exp2
Distribution: experimental
Urgency: medium
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Steve Langasek <vor...@debian.org>
Closes: 1063323
Changes:
wireless-tools (30~pre9-16.1~exp2) experimental; urgency=medium
.
* Fix /usr-move file loss. Thanks to Helmut Grohne <hel...@subdivi.de>.
(Closes: #1063323)
Checksums-Sha1:
110a133b5bf739418fba65210c6f76ddcacea051 2235
wireless-tools_30~pre9-16.1~exp2.dsc
b7b57ce15233f7b4e3c64e9b5d394571efe3b829 12436
wireless-tools_30~pre9-16.1~exp2.debian.tar.xz
43d98a05f8592986dfaaf86090a035df1a8cb9c0 6124
wireless-tools_30~pre9-16.1~exp2_source.buildinfo
Checksums-Sha256:
53986efb962778d3096e31d6b60bd5f1941ef49d76db73984552e8367be5bc56 2235
wireless-tools_30~pre9-16.1~exp2.dsc
c0c4ae93dd8f93c5321e150c005f2a1393f34537de114a9deca9d4c750f3b99c 12436
wireless-tools_30~pre9-16.1~exp2.debian.tar.xz
f3e3290166b5ace24dba777cf8230271abae4bffe4fbd7c56172aa6a5ee7205e 6124
wireless-tools_30~pre9-16.1~exp2_source.buildinfo
Files:
ca782673d71b3c2019bafa332898ce3c 2235 net optional
wireless-tools_30~pre9-16.1~exp2.dsc
0e6edb5df3e87ee9598d17ae1b0e5bd2 12436 net optional
wireless-tools_30~pre9-16.1~exp2.debian.tar.xz
47501f7219be9c45d4fbeec837831fb8 6124 net optional
wireless-tools_30~pre9-16.1~exp2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEErEg/aN5yj0PyIC/KVo0w8yGyEz0FAmXQ5q8SHHZvcmxvbkBk
ZWJpYW4ub3JnAAoJEFaNMPMhshM9fiQQAMKxuS/BV2yER82LHO4Qs2wRzEqa+WNv
gXREdfFys/J8/rEefVBE/WLE2CQ0Fgyt8Ee8dT0veAmN9npJibWEWkLHOhuDbt+q
Wx8Ln4Vd1vTCjv3OZpHcOdk9byXzR2myT28LF+cPJs5rWSEDp8ntRCK4cAOjag2x
jc1WPg51vS59DMPoFQjiBFiJPAYg+Aoc0/iNdyFjt6i3GaSpd+gC942mPTz06ekJ
Ac0CPG15W2QMGj3nSFSLY1BW5HEDAdvRABp9AkYS2PsaS0/PjwfiaDopUPMSfr3y
vKdQv8Ilcp2ATAmSPfucIixd1kA8MWxxaYUDvYql6OSETasyNvl6l1Q2IHnQzU0+
kBel/V0LUY4iQkpqT3h6nCL4p8RiXchaLuygfylZDYO20dG6oL6chTktxv3CzXMm
Bjlviueb6ThQlu/tfJFUI5fOZ0lVVti3YepyBnrRQJ1JB3ib8ySiStkktQzjsEf7
lkViCq02kwWNe2UF8Y9PetRrSaD9rYjL/l7yNv589LI5tcI9dPK7DiA0R78vVo2y
4NrM7xMpVtuysQk1Xg8DPa0AzfxtxEoGYFhHA1GtfLS/743B71R1Y+NgukB7g/hX
Cz4exBrJrAc6lbRpNxWem+KH+NbKz/J0vVEl1va/C44+TDGaC+GLjLfLj5ENjF64
GET1p4hSQJHi
=kYqX
-----END PGP SIGNATURE-----
pgpfHD8GJNPxl.pgp
Description: PGP signature
--- End Message ---