command -v didn't work correctly, lets go for:
if [ -x /sbin/udevadm ]; then
udevadm trigger --subsystem-match=rfkill
fi
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to rfkill in Ubuntu.
https://bugs.launchpad.net/bugs/1777476
Title:
non-installable in chroots without udev installed due to bad postinst
file
Status in rfkill package in Ubuntu:
Fix Released
Status in rfkill source package in Xenial:
In Progress
Status in rfkill source package in Artful:
Won't Fix
Bug description:
[Impact]
packages using rfkill in build-dependencies are not installable.
[Test Case]
Install rfkill in a chroot without udev installed
Unpacking rfkill (0.5-1ubuntu3) ...
Setting up rfkill (0.5-1ubuntu3) ...
/var/lib/dpkg/info/rfkill.postinst: 5: /var/lib/dpkg/info/rfkill.postinst:
udevadm: not found
dpkg: error processing package rfkill (--configure):
subprocess installed post-installation script returned error exit status 127
[Regression Potential]
* None, udev is already installed in user machines
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rfkill/+bug/1777476/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp