Your message dated Wed, 03 Dec 2014 15:21:56 +0000
with message-id <[email protected]>
and subject line Bug#770056: fixed in geki3 1.0.3-8
has caused the Debian Bug report #770056,
regarding geki3: Uses absolute obsolete path for dpkg-statoverride
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.)


-- 
770056: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770056
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: geki3
Source-Version: 1.0.3-7
Severity: important
Tags: patch

Hi!

This package is using obsolete absolute paths when stating or calling
dpkg-statoverride. This has been a compatibility symlinks for a while
and got removed in dpkg 1.17.0, I'll reintroduce it in dpkg 1.17.22 but
will be removing it again in 1.18.x.

Please stop using absolute paths in maintainer scripts, as they will
suffer this kind of problem. For more info please see:

<https://lintian.debian.org/tags/command-with-path-in-maintainer-script.html>

although that lintian check does not currently trigger for this issue,
but it should.

Attached a patch fixing this, by always assuming that dpkg-statoverride
is present, which has been true for a very long time now.

Thanks,
Guillem
diff --git a/debian/postinst b/debian/postinst
index 0b6c010..96046fe 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -7,15 +7,13 @@ case "$1" in
     # Cancel my old stupid use of dpkg-statoverride
     if [ "$1" = "configure" ] && [ "$2" != "" ] &&
           dpkg --compare-versions "$2" le "1.0.3-4" &&
-          [ -x /usr/sbin/dpkg-statoverride ] &&
           dpkg-statoverride --list "$PROG" >/dev/null
     then
         dpkg-statoverride --remove "$PROG"
     fi
 
     # Properly use statoverride
-    if ! [ -x /usr/sbin/dpkg-statoverride ] || \
-        ! dpkg-statoverride --list "$PROG" >/dev/null ; then
+    if ! dpkg-statoverride --list "$PROG" >/dev/null ; then
       chown root:games "$PROG"
       chmod 2755 "$PROG"
     fi

--- End Message ---
--- Begin Message ---
Source: geki3
Source-Version: 1.0.3-8

We believe that the bug you reported is fixed in the latest version of
geki3, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Pentchev <[email protected]> (supplier of updated geki3 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: SHA256

Format: 1.8
Date: Sat, 29 Nov 2014 02:50:27 +0200
Source: geki3
Binary: geki3
Architecture: source amd64
Version: 1.0.3-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Peter Pentchev <[email protected]>
Description:
 geki3      - R-Type-like horizontal shoot'em-up
Closes: 770056
Changes:
 geki3 (1.0.3-8) unstable; urgency=medium
 .
   * Team upload.
   * Do not use the obsolete and incorrect full path to dpkg-statoverride.
     Closes: #770056
Checksums-Sha1:
 f1865c6aa7f75004d1dd01b781bebba95d02294f 1721 geki3_1.0.3-8.dsc
 a2514af40e2fa392a23e2d4b469ee8d2f9c24ded 106122 geki3_1.0.3-8.diff.gz
 cfcb14f82f263a75c00872569ce1d421df5ad28e 598010 geki3_1.0.3-8_amd64.deb
Checksums-Sha256:
 c2dffda77cf659238b7e320afcea671287cb9707aa511cfa098b9dc9a1020f1d 1721 
geki3_1.0.3-8.dsc
 ca1a6b6c9a25470e200634dc13a4cbe9d0fdf885b134e0baf5cd664492b69bf5 106122 
geki3_1.0.3-8.diff.gz
 a6db3accb4b0af359829cbd52b468d1a43b8dcd61a67c39ac2cdd468af46f69f 598010 
geki3_1.0.3-8_amd64.deb
Files:
 842e077886bfda1347c7ff91a722ec6a 1721 games optional geki3_1.0.3-8.dsc
 bbcee17dcb37dfbdfa41b749b2d6af70 106122 games optional geki3_1.0.3-8.diff.gz
 fe8daaf9ac0791466523da0415425ea9 598010 games optional geki3_1.0.3-8_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUfxv3AAoJEGWYeJBYoj3pyjoP/2wvB5y+vC3bB4c6ZnCJumLj
Wir6uvfDb0O8z55nrquXvDdAzmbzhfLtpPow898tkS2DUBFqSRB2caA2+TTfhMAW
nADXiT2pjh9NLioo8kx2V4znM19LDx0ertlvFZuj33baMFGUV81dVGc9q5t2pXsM
xiDPvOwVm4m4jC7LR4+QtBlRD7nXa32hltng6EisTdt7I6oxpIrK5qGjnhjWqzgh
hkcd4ZELsa0k70M+7MRL5PdOc4nEzAN36bGAlf/9MGS01a5XfHlxHGJKrZ6gtwv8
ql81la5zvii6yTrOktMLI7KWypvAfnL7rRWqWaHxJmnMbHOx6RcwZ8R3uGy4S/Ex
OPOP+Ox/iIP0iuahGyO/tIXEw7qNRkDxZh8+lywh5XOyNSbUlnvMZqPv2pf2myVk
0N0+OPRcHXtpPc53j8HJOjgRohZXMXgBd7Ay5oOq+CnjpfPvHq+c2qT2OASltix1
x55MHxT9POZZaFoJCi9Om3m4ejncKhxKeoQWO8kvH783xqdiMEwsUM2qws6P/u1H
kk9cMKFdDeZ0gX74zXDlR63+nxiCEN7STX8ko1zInqa73kMOEywI06ZX8nM6uEuj
4K3J76STEv0nCRuR20jlep5B9N9UHZb0a7chcdN+Zi7QjV9+bPrNzigyQfbYxB0p
gzIpQl43929dK42LcL28
=ygPK
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to