Your message dated Sat, 17 Feb 2018 21:23:44 +0000 with message-id <[email protected]> and subject line Bug#890224: fixed in udftools 2.0-2 has caused the Debian Bug report #890224, regarding udftools: Cannot be upgraded inside a chroot due to udevadm call in postinst 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.) -- 890224: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890224 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: udftools Version: 2.0-1 Severity: important Dear Maintainer, The new version of udftools introduces the following unguarded call to udevadm in the postinst: if [ "$1" = "configure" ]; then if which udevadm 1>/dev/null 2>&1; then udevadm control --reload if dpkg --compare-versions "$2" le "2.0-1~"; then udevadm trigger --action=add --subsystem-match=block --property-match=ID_CDROM=1 fi fi fi udevadm can exist but be non-functional, such as inside a chroot. Upgrading udftools currently results in the following (with set -x added to provide additional debugging output from the postinst) Setting up udftools (2.0-1) ... + [ configure = configure ] + which udevadm + udevadm control --reload dpkg: error processing package udftools (--configure): installed udftools package post-installation script subprocess returned error exit status 2 Errors were encountered while processing: udftools E: Sub-process /usr/bin/dpkg returned an error code (1) Changing this to have yet another 'if' is enough to solve the problem: if udevadm control --reload; then … fi codesearch also indicates that many other packages just add '|| true' to simply suppress the error https://codesearch.debian.net/search?q=udevadm.control.--reload+path%3Apostinst cheers Stuart
--- End Message ---
--- Begin Message ---Source: udftools Source-Version: 2.0-2 We believe that the bug you reported is fixed in the latest version of udftools, 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. Pali Rohár <[email protected]> (supplier of updated udftools 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: Mon, 12 Feb 2018 18:06:15 +0100 Source: udftools Binary: udftools Architecture: source Version: 2.0-2 Distribution: unstable Urgency: medium Maintainer: Pali Rohár <[email protected]> Changed-By: Pali Rohár <[email protected]> Description: udftools - tools for UDF filesystems and DVD/CD-R(W) drives Closes: 890224 Changes: udftools (2.0-2) unstable; urgency=medium . * Fix installation in chroot (Closes: #890224) Checksums-Sha1: 91719045d3870a5c72b87293388af3a86321f6bb 1726 udftools_2.0-2.dsc e18acf627a3e48854354967457395335fb52e484 8036 udftools_2.0-2.debian.tar.xz Checksums-Sha256: dc76e4ba10266713eedcc679de9171dd7df5f86ea5aaccd5af80592d2cbda34e 1726 udftools_2.0-2.dsc 744f2ea28fdc54d06f688719c0223c756eb45e75e5f1b20cc45dd4b4c83a38fb 8036 udftools_2.0-2.debian.tar.xz Files: bf665fabcf3266dee748c54b0209fc6f 1726 otherosfs optional udftools_2.0-2.dsc 63635c2f3ccdcfe21e7f4237dc3206e5 8036 otherosfs optional udftools_2.0-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAlqIlxQACgkQiNJCh6LY mLFeDg//UM0rCdQxQt7gQ7cHNLaaXGFcEBBRqrfJpQB3naXJ04DhRyQ3PF9qza5m t3MWiuHKY4g1vVD+9Mtbc4rwYUZwaZe9PxC1zn3L+lo4fZaihysthVrzzZobq6QK 8YJiqrPrSyaNk/5tevgsUjznectmZKwKQI1hgVvJvcHGo7lCrFh0NBTDGNsWYhyU E9a9NjHDJo7cOKum82ffMMfK0BadD/QKrFteDMH4p9HOyAz8kbdYyaelgJ7qQ3Yl k1p0OFH0dA75eAbW1E53gWDuPwYplhg8TClozuhSuMWJgbmbTxrVGNRx80b5Y2d5 KantcQ9RfwI/sre2yTLXsutnaZLZRxZysAk7QXpTF+tQn1hltVsXn9mPKKiqqnn2 9uc5gma8SVSikP6twDxCB+pAEsNp1zzbzNtA1VFIoFfWMYP/96SvMlRPK2cG74/z jSDTnX5WXnyB5nJLSBJGCn0BcvZflGSwZnfY0IZTbmX0MXBgEAEgcsxbYVMPPkDK cCeS/35JK1H2dEIb2l8MG9zyAZHkVXxqlOJQfK+pz65vIiu8IWdaClfEqRPIN1YD UB/kWtOf7aJXlT+6bOOP4hXAnAjwtL593AUUA7uaLuvSWCyd3AUn+MimzoOTV8ka lFnxKOgTXUAtRkL+iBZNX/lW0aXJiJgUjwSXKRqyDf/YqzbPE84= =oiHe -----END PGP SIGNATURE-----
--- End Message ---

