The /usr/local/bin/id program from tzworks on sift-bootstrap will break "update-grub" during kernel package updates. This would of course impact other scripts that expect "id" to be the UNIX utility.
To reproduce, run the sift-bootstrap script on a Ubuntu 12.04 LTS image and perform a kernel package update.
There are many workarounds, perhaps the best of which would be renaming it to something else than "id" (unless other tzworks utilities expect this name).
Note that this only seems to affect sift-bootstrap. I don't see this or other tzworks utilities (e.g., yaru) on the appliance.
e.g.,
apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-3.11.0-20-generic (3.11.0-20.34~precise1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.11.0-20-generic /boot/vmlinuz-3.11.0-20-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.11.0-20-generic /boot/vmlinuz-3.11.0-20-generic
update-initramfs: Generating /boot/initrd.img-3.11.0-20-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.11.0-20-generic /boot/vmlinuz-3.11.0-20-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.11.0-20-generic /boot/vmlinuz-3.11.0-20-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.11.0-20-generic /boot/vmlinuz-3.11.0-20-generic
-------------------------------- User Agreement -----------------------------
Permission to use the Software for Demonstration and Testing purposes is
granted to SIFT kit user (for 1 License) for a non-exclusive,
non-transferable, limited right use, subject to the terms and conditions
outlined in the Demo/Testing Bundle (License# 1cf56b98e15de10) License
Agreement.
BY CONTINUING TO USE THIS SOFTWARE, YOU ACKNOWLEDGE THAT YOU HAVE READ,
UNDERSTOOD AND AGREE TO BE BOUND BY AND COMPLY WITH THE LICENSING
AGREEMENT THAT WAS ISSUED TO YOU. IF YOU DO NOT AGREE TO THE TERMS OF
THE AGREEMENT, YOU HAVE NO RIGHTS TO USE ANY SOFTWARE MADE AVAILABLE
ON ANY TZWORKS WEBSITE NOR DEVELOPED BY TZWORKS.
---------------------------------- DISCLAIMER -------------------------------
The user agrees that the Software is experimental in nature and use of
this Software is at user's sole risk. The Software could include technical
inaccuracies or errors. TZWorks, LLC may make improvements and/or changes
to this Software at any time. TZWorks, LLC makes no representations about
the accuracy or usability of the Software for any purpose. This software
is provided "AS IS" and "WHERE IS" without warranty of any kind including
all implied warranties and conditions of merchantability, fitness for any
particular purpose, title and non-infringement. In no event shall TZWorks,
LLC be liable for any kind of damage resulting from any cause or reason,
arising out of it in connection with the use or performance of this
software.
id - limited ver: 0.64; Copyright (c) TZWorks LLC
Usage:
(note: options with ** are enabled with a commercial license)
id -f
id -partition = ** Partition scan
id -vmdk " | | ..." = ** VMWare disk scan
find -name *.dat -type f | -pipe
Basic options
-pipe = pipe files into app for processing
-locale = use user acct locale info for date formatting
grub-mkconfig: You must run this as root
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.11.0-20-generic.postinst line 1010.
dpkg: error processing linux-image-3.11.0-20-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic-lts-saucy:
linux-image-generic-lts-saucy depends on linux-image-3.11.0-20-generic; however:
Package linux-image-3.11.0-20-generic is not configured yet.
dpkg: error processing linux-image-generic-lts-saucy (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-lts-saucy:
linux-generic-lts-saucy depends on linux-image-generic-lts-saucy; however:
Package linux-image-generic-lts-saucy is not configured yet.
dpkg: error processing linux-generic-lts-saucy (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
linux-image-3.11.0-20-generic
linux-image-generic-lts-saucy
linux-generic-lts-saucy
E: Sub-process /usr/bin/dpkg returned an error code (1)