Possible bug in LAST/50-misc

CSCI Technician tech at csci.viu.ca
Wed Oct 30 17:47:29 CET 2019


Hi,

Thanks to a bunch of missing dependencies and packages I tripped over 
the following issue when attempting to deploy buster to a target machine:

 From fai.log on the target:
=====   shell: LAST/50-misc   =====
ERROR: Found lvm devices, but the lvm2 package was not installed
Running "apt-get -f install" for the last time.
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
   binutils-m68hc1x libncurses5 libtinfo5
The following NEW packages will be installed:
   binutils-m68hc1x libncurses5 libtinfo5
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 1555 kB of archives.
After this operation, 10.4 MB of additional disk space will be used.
Do you want to continue? [Y/n]

And the process is stuck waiting for input.

Looking at LAST/50-misc, line 47-50:

# Make sure everything is configured properly
if ifclass DEBIAN ; then
         echo "Running \"apt-get -f install\" for the last time."
         $ROOTCMD apt-get -f install
fi

Would it not be appropriate to add the 'y' option to the apt-get command?

Cheers,
Merlin.


-- 
Merlin Hansen
Department of Computing Science
Vancouver Island University
900 Fifth Street
Nanaimo BC  V9R 5S5
250-753-3245 x 2321
tech at csci.viu.ca



More information about the linux-fai mailing list