Your message dated Sat, 01 Mar 2025 07:49:23 +0000
with message-id <e1tohb9-0037wo...@fasolo.debian.org>
and subject line Bug#1095967: fixed in luanti 5.10.0+dfsg-3
has caused the Debian Bug report #1095967,
regarding luanti-server: file loss during migration from minetest-server due to
/usr-move (DEP17 P1)
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.)
--
1095967: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095967
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: luanti-server
Version: 5.10.0+dfsg-2
Severity: serious
Tags: patch
User: helm...@debian.org
Usertags: dep17p1
Control: affects -1 + minetest-server
Hi Tobi,
Your luanti-server upload introduced a /usr-move regression. The systemd
units were formerly part of minetest-server and are now in
luanti-server. At the same time, they moved from /lib to /usr/lib. This
is a classical DEP17 P1 situation. I recommend upgrading the
Breaks+Replaces relation to Conflicts as well as introducing brief
protective diversions. You'll find them in the attached patch.
Unfortunately, I was not able to test them as luanti-server has an
unsatisfiable dependency. Please verify that no diversions exist once
luanti-server has been successfully installed. They should only exist
from preinst to postinst and not beyond.
Helmut
diff --minimal -Nru luanti-5.10.0+dfsg/debian/changelog
luanti-5.10.0+dfsg/debian/changelog
--- luanti-5.10.0+dfsg/debian/changelog 2025-02-13 17:20:14.000000000 +0100
+++ luanti-5.10.0+dfsg/debian/changelog 2025-02-14 13:15:10.000000000 +0100
@@ -1,3 +1,11 @@
+luanti (5.10.0+dfsg-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Mitigate file loss due to concurrent package rename and aliasing change
+ (DEP17 P1 M8, Closes: #-1).
+
+ -- Helmut Grohne <hel...@subdivi.de> Fri, 14 Feb 2025 13:15:10 +0100
+
luanti (5.10.0+dfsg-2) unstable; urgency=medium
* Team upload.
diff --minimal -Nru luanti-5.10.0+dfsg/debian/control
luanti-5.10.0+dfsg/debian/control
--- luanti-5.10.0+dfsg/debian/control 2025-02-13 17:19:05.000000000 +0100
+++ luanti-5.10.0+dfsg/debian/control 2025-02-14 12:41:26.000000000 +0100
@@ -84,8 +84,7 @@
Package: luanti-server
Architecture: any
-Replaces: minetest-server (<< 5.10.0+dfsg-1~)
-Breaks: minetest-server (<< 5.10.0+dfsg-1~)
+Conflicts: minetest-server (<< 5.10.0+dfsg-1~)
Depends:
luanti-data (= ${source:Version}),
sse2-support [i386],
diff --minimal -Nru luanti-5.10.0+dfsg/debian/luanti-server.lintian-overrides
luanti-5.10.0+dfsg/debian/luanti-server.lintian-overrides
--- luanti-5.10.0+dfsg/debian/luanti-server.lintian-overrides 1970-01-01
01:00:00.000000000 +0100
+++ luanti-5.10.0+dfsg/debian/luanti-server.lintian-overrides 2025-02-14
13:15:10.000000000 +0100
@@ -0,0 +1,7 @@
+# begin-remove-after: released:trixie
+# DEP17 P1 M8: Protective diversion for moved file
+luanti-server: diversion-for-unknown-file
lib/systemd/system/minetest-server.service [preinst:*]
+luanti-server: diversion-for-unknown-file
lib/systemd/system/minetest-server@.service [preinst:*]
+luanti-server: systemd-diversion lib/systemd/system/minetest-server.service
[preinst:*]
+luanti-server: systemd-diversion lib/systemd/system/minetest-server@.service
[preinst:*]
+# end-remove-after: released:trixie
diff --minimal -Nru luanti-5.10.0+dfsg/debian/luanti-server.postinst
luanti-5.10.0+dfsg/debian/luanti-server.postinst
--- luanti-5.10.0+dfsg/debian/luanti-server.postinst 2025-02-13
17:19:05.000000000 +0100
+++ luanti-5.10.0+dfsg/debian/luanti-server.postinst 2025-02-14
13:10:59.000000000 +0100
@@ -22,6 +22,14 @@
mv $OLD_SERVER_LOG_PATH /var/log/luanti/default/server.log
fi
fi
+
+ # begin-remove-after: released:trixie
+ # DEP17 P1 M8: Protective diversion for moved file
+ if dpkg --compare-versions "$MOST_RECENTLY_CONFIGURED_VERSION" lt
5.10.0+dfgs-2.1~; then
+ dpkg-divert --remove --no-rename --divert
/lib/systemd/system/minetest-server.service.usr-is-merged
/lib/systemd/system/minetest-server.service
+ dpkg-divert --remove --no-rename --divert
/lib/systemd/system/minetest-server.service@.usr-is-merged
/lib/systemd/system/minetest-server@.service
+ fi
+ # end-remove-after
fi
#DEBHELPER#
diff --minimal -Nru luanti-5.10.0+dfsg/debian/luanti-server.postrm
luanti-5.10.0+dfsg/debian/luanti-server.postrm
--- luanti-5.10.0+dfsg/debian/luanti-server.postrm 2025-02-13
17:19:05.000000000 +0100
+++ luanti-5.10.0+dfsg/debian/luanti-server.postrm 2025-02-14
13:13:02.000000000 +0100
@@ -11,4 +11,12 @@
rm --recursive --force /var/log/minetest
fi
+# begin-remove-after: released:trixie
+# DEP17 P1 M8: Protective diversion for moved file
+if [ "$1" = "abort-upgrade" ] && dpkg --compare-versions "$2" lt
5.10.0+dfgs-2.1~; then
+ dpkg-divert --remove --no-rename --divert
/lib/systemd/system/minetest-server.service.usr-is-merged
/lib/systemd/system/minetest-server.service
+ dpkg-divert --remove --no-rename --divert
/lib/systemd/system/minetest-server.service@.usr-is-merged
/lib/systemd/system/minetest-server@.service
+fi
+
+# end-remove-after
#DEBHELPER#
diff --minimal -Nru luanti-5.10.0+dfsg/debian/luanti-server.preinst
luanti-5.10.0+dfsg/debian/luanti-server.preinst
--- luanti-5.10.0+dfsg/debian/luanti-server.preinst 1970-01-01
01:00:00.000000000 +0100
+++ luanti-5.10.0+dfsg/debian/luanti-server.preinst 2025-02-14
13:15:04.000000000 +0100
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+# begin-remove-after: released:trixie
+# DEP17 P1 M8: Protective diversion for moved file
+if [ "$1" = install ] || { [ "$1" = upgrade ] && dpkg --compare-versions "$2"
lt 5.10.0+dfgs-2.1~; } ; then
+ dpkg-divert --add --no-rename --divert
/lib/systemd/system/minetest-server.service.usr-is-merged
/lib/systemd/system/minetest-server.service
+ dpkg-divert --add --no-rename --divert
/lib/systemd/system/minetest-server.service@.usr-is-merged
/lib/systemd/system/minetest-server@.service
+fi
+
+# end-remove-after
+#DEBHELPER#
--- End Message ---
--- Begin Message ---
Source: luanti
Source-Version: 5.10.0+dfsg-3
Done: Tobias Frost <t...@debian.org>
We believe that the bug you reported is fixed in the latest version of
luanti, 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 1095...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Tobias Frost <t...@debian.org> (supplier of updated luanti 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, 01 Mar 2025 08:28:34 +0100
Source: luanti
Architecture: source
Version: 5.10.0+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-de...@lists.alioth.debian.org>
Changed-By: Tobias Frost <t...@debian.org>
Closes: 1095967
Changes:
luanti (5.10.0+dfsg-3) unstable; urgency=medium
.
[ Travis Wrightsman ]
* Rename Salsa repository to new upstream name.
.
[ Helmut Grohne ]
* Mitigate file loss due to concurrent package rename and aliasing change
(DEP17 P1 M8, Closes: #1095967).
.
[ Tobias Frost ]
* Only recommend luanti-game-minetest
Checksums-Sha1:
eb9524faefe544a35b5515447abe9f68fe9178ee 2661 luanti_5.10.0+dfsg-3.dsc
bea01bf2332907ac59b925005cf7c139f44aa4ce 33428
luanti_5.10.0+dfsg-3.debian.tar.xz
a7ac3fdf88f640a705e259f85de27dddc5d51fc7 12509
luanti_5.10.0+dfsg-3_amd64.buildinfo
Checksums-Sha256:
fa05f646427e31d822e7698ec448f478b6bc11feca8198802fcec5151a7629f2 2661
luanti_5.10.0+dfsg-3.dsc
99a700b21bced82a7bfb7fb8485672924f3226e5467fd912043b79df712bb2f9 33428
luanti_5.10.0+dfsg-3.debian.tar.xz
d817c05b6dbf963f4853f5846830cc3d739881ac5cff00cfedb98f1ca8bf4816 12509
luanti_5.10.0+dfsg-3_amd64.buildinfo
Files:
a3d6119d14a5d3e33cc7f74f2d03284f 2661 games optional luanti_5.10.0+dfsg-3.dsc
5e55ed77e863b29f705bf00c8232e557 33428 games optional
luanti_5.10.0+dfsg-3.debian.tar.xz
969d5a74846fa4f12c52034c70e321b1 12509 games optional
luanti_5.10.0+dfsg-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE/d0M/zhkJ3YwohhskWT6HRe9XTYFAmfCuD4ACgkQkWT6HRe9
XTav7A/+JtrXu4ogg+G0UUIJ887V1ZOXrf2tNE7Ic4VqMntSAF1wcN3qMXDAl1ku
IFyto22B/Bm5FQIk/7Ygv/72GPL5o5E4GjORTmiKlX7BNXc8Tl0FV6ef0C3Z1Hkp
T2nYvrJGh/hvM3u3hneEMaIr5EnDG9TQ9GphjdvwLlSnNrsKLZAv47GK895QWGe8
TwGnqWBcDrLk7eVgVMqkSYk9fLZn/GHkO0UwHvizRjaYi5d21QwwGeC3UFRqgq+u
OXXPG5c8ePtyU8JkwaSglhjJ8mAA9iTc0b1v2S3pfnjHgIEUYesTgoliBkjgXyQd
B43ZIw3OOu3ZW7mextDT0KsMJHz2yV8sZGpDq6/Bhdof2stZUvEvZpwcNC1GTQE0
h8O7V46pIDJXdp6y7cwUKqL+zz7hUbY6Yk48FHpv3vy/gi5dol+FoAMI/ZnQkTar
5KWIW0WeDKI1owXAhmZMAHsqtj/oWBnHcr7siyKCJoIIbMns32wzheB5eaD4JIf+
mxsJMFAWf8hz+OP3p399fCYGBsCoreW65uhmMTyBD4r4N+zQTmq3SqJh7lffJ9fG
NJXpcBcl9FQWVtQsPlRHq4ZbOW9yaM6ulDdfM10cAa22AOImqlI7+oIa8vwJ8vLV
kSs3YU1coy1QZadCQcYnMp6AKyDwva0HgKRgy26wHsbwvnKv+c4=
=+zH1
-----END PGP SIGNATURE-----
pgp9RYszkXIGD.pgp
Description: PGP signature
--- End Message ---