Public bug reported:

When adding smartcard support to unlocking a LUKS encrypted volume in
initrd the update of initrd fails because the hook '/usr/share
/initramfs-tools/hooks/cryptopensc' uses the command dpkg-architecture
to determine the architecture of the libraries to copy into initrd.  The
package does not have a dependency(dpkg-dev) to install the package that
contains dpkg-architecture.

I would also say that there really should not be a dependency on dpkg-
dev for opensc either since it pulls in lots of development software
that is not needed for most systems.


# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-4.15.0-76-generic
/usr/share/initramfs-tools/hooks/cryptopensc: 54: 
/usr/share/initramfs-tools/hooks/cryptopensc: dpkg-architecture: not found
E: /usr/share/initramfs-tools/hooks/cryptopensc failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.15.0-76-generic with 1.


Versions:
Ubuntu 18.04
opensc 0.17.0-3 amd64

** Affects: opensc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1908827

Title:
  opensc initrd hook requires dpkg-architecture

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opensc/+bug/1908827/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to