Your message dated Tue, 16 Jun 2020 06:33:44 +0000
with message-id <[email protected]>
and subject line Bug#962818: fixed in ucf 3.0043
has caused the Debian Bug report #962818,
regarding ucf: dpkg-divert error when upgrading grub with diverted config
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.)
--
962818: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962818
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ucf
Version: 3.0042
Severity: important
Dear Maintainer,
Seeing this when I upgrade or reinstall grub-pc. When that happens:
Setting up grub-pc (2.04-8) ...
grep: ]: No such file or directory
/usr/bin/ucf: 445: [: missing ]
dpkg-divert: error: filename "\/etc\/default\/grub" is not absolute
Use --help for help about diverting files.
dpkg: error processing package grub-pc (--configure):
installed grub-pc package post-installation script subprocess returned
error exit status 2
If I change /usr/bin/ucf like this diff, I still get the grep error but
the rest proceeds as expected:
diff --git a/ucf b/ucf
index fde42ae..49d07c9 100755
--- a/ucf
+++ b/ucf
@@ -448,11 +448,11 @@ if [ -n "$divert_line" ]; then
else
# extract the name of the diverted package.
# The fact that this requires output parsing is bug #485012
- divert_package=$(dpkg-divert --listpackage "$safe_dest_file")
+ divert_package=$(dpkg-divert --listpackage "$dest_file")
fi
if [ "$divert_package" != "$opt_package" ]; then
- safe_dest_file=$(dpkg-divert --truename "safe_dest_file")
+ safe_dest_file=$(dpkg-divert --truename "$dest_file")
fi
fi
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 5.6.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ucf depends on:
ii coreutils 8.30-3
ii debconf 1.5.74
ii sensible-utils 0.0.12+nmu1
ucf recommends no packages.
ucf suggests no packages.
-- debconf information excluded
--- End Message ---
--- Begin Message ---
Source: ucf
Source-Version: 3.0043
Done: Manoj Srivastava <[email protected]>
We believe that the bug you reported is fixed in the latest version of
ucf, 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.
Manoj Srivastava <[email protected]> (supplier of updated ucf 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, 15 Jun 2020 22:37:53 -0700
Source: ucf
Architecture: source
Version: 3.0043
Distribution: unstable
Urgency: high
Maintainer: Manoj Srivastava <[email protected]>
Changed-By: Manoj Srivastava <[email protected]>
Closes: 962818
Changes:
ucf (3.0043) unstable; urgency=high
.
* The argument to dpkg-divert needs to be the actual file name, not the
fully escaped regexp safe one.
* Bug fix: "dpkg-divert error when upgrading grub with diverted config",
thanks to [email protected]</a>; (Closes: #962818).
Checksums-Sha1:
73682e76354f37181070b3c89c0cf8db944646a8 1423 ucf_3.0043.dsc
2e5bf159ee01a064bcd1a3a138b8c262ad4b5a40 70560 ucf_3.0043.tar.xz
Checksums-Sha256:
5954508238ff1b8e2c61e1f533268911ba06709e821c02de014fd15d2ead81fd 1423
ucf_3.0043.dsc
0294cc11a6cf032ea99ca5064f73a4ede5b28bc2d4ad0a12e8493c7520c7a2a4 70560
ucf_3.0043.tar.xz
Files:
90bf2d2e2b7e36f18916d15632edfd09 1423 utils standard ucf_3.0043.dsc
d9a2b244648b538ffc5dd6c08a2d777e 70560 utils standard ucf_3.0043.tar.xz
-----BEGIN PGP SIGNATURE-----
iQGZBAEBCgCDFiEEq6cQJaG1qIpOX2jCNr1yD29XZHIFAl7oY91QFIAAAAAAGwAs
c3JpdmFzdGFAZ29sZGVuLWdyeXBob24uY29tQUJBNzEwMjVBMUI1QTg4QTRFNUY2
OEMyMzZCRDcyMEY2RjU3NjQ3Ml8zMjEUHHNyaXZhc3RhQGRlYmlhbi5vcmcACgkQ
Nr1yD29XZHKfiwgAmCDTVwOGibXOjc2u/+C4IXfeOBiCc7yF2Lmv9cL+aafJ2/h9
pKz0KlQa+jK4JXSvgVhMoZpgE0FDFAV5ilL6/0xEeC3eSc4CVeKtVni1A4F/Hk9r
nI06AG5dv5Hc0LcSrKY8U8e2Yu+T36CA3FMzARqrvNF3nFGXu/xkF9B7xrEUTwnk
Jkfku15S6khgcCobRTQebdeOqujSzZThteMPD7s3rJq/+ulQId8RAobLggBxvpCY
9Ajdb+jsUt7UMB72Bm0niotK168HFilsi+s4361vNDRPTO+LH6+qM514Ir5Ien5r
vV+/m7iDYdv4qmRUZLN8Z7aZmE/JJv/yBLl2jw==
=uDdi
-----END PGP SIGNATURE-----
--- End Message ---