[pkg-cryptsetup-devel] Bug#905188: Bug#905188: cryptsetup-initramfs: fails to install, remove, distupgrade, and install again
Guilhem Moulin
guilhem at debian.org
Wed Aug 1 18:01:08 BST 2018
Control: tag -1 moreinfo
Hi Andreas,
On Wed, 01 Aug 2018 at 13:20:37 +0200, Andreas Beckmann wrote:
> Configuration file '/etc/cryptsetup-initramfs/conf-hook'
> ==> Deleted (by you or by a script) since installation.
> ==> Package distributor has shipped an updated version.
> What would you like to do about it ? Your options are:
> Y or I : install the package maintainer's version
> N or O : keep your currently-installed version
> D : show the differences between the versions
> Z : start a shell to examine the situation
> The default action is to keep your current version.
> *** conf-hook (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package cryptsetup-initramfs (--configure):
> end of file on stdin at conffile prompt
> dpkg: dependency problems prevent configuration of cryptsetup:
> cryptsetup depends on cryptsetup-initramfs (>= 2:2.0.3-1); however:
> Package cryptsetup-initramfs is not configured yet.
I wonder if it's a false positive? Following the same upgrade path in a
stretch chroot:
$ apt install cryptsetup
$ apt remove cryptsetup
$ sed -i s/stretch/buster/g /etc/apt/sources.list.d/debian.sources
$ apt update
$ apt dist-upgrade
$ apt install cryptsetup
The log differs as follows:
Configuration file '/etc/cryptsetup-initramfs/conf-hook'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** conf-hook (Y/I/N/O/D/Z) [default=N] ?
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
update-initramfs: deferring update (trigger activated)
Setting up cryptsetup (2:2.0.3-6) ...
Processing triggers for initramfs-tools (0.132) ...
And the upgrade path is successful. AFICT piuparts's dpkg processes
fail because there is no working standard input. But normal systems
have a working standard input, and the upgrade path is function there.
AFAIK automatic configuration tools install with
DEBIAN_FRONTEND=noninteractive apt-get install -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" -y
which also works.
--
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cryptsetup-devel/attachments/20180802/aaae197b/attachment.sig>
More information about the pkg-cryptsetup-devel
mailing list