install_packages seems to be excluding a lot of pakcages

Justin Cattle j at ocado.com
Thu Mar 7 22:59:09 CET 2019


Hi,


I'm debugging an odd issue.

This is a FAI system that I haven't used for a while, and I'm not 100% how
the config has changed if at all.

When it get to task instsoft, it fails to include most of the packages from
the package_config files.  It includes just a few.

All the packages are available to install from the configured sources [
which are local mirrors, but it makes no difference ].
If I chroot into the /target, and install them with apt-get,it works fine.

Here is an excerpt from the log.

Calling task_instsoft
Installing software may take a while
Maximum number of packages installed at a time set to 800
install_packages: reading config files from directory
/var/lib/fai/config/package_config
install_packages: read config file OCADO_NUC
install_packages: read config file FAIBASE
install_packages: read config file UBUNTU
install_packages: read config file TRUSTY
install_packages: executing chroot /target apt-get clean
WARNING: These unknown packages are removed from the installation list:
xdotool cryptsetup plymouth-label plymouth-theme-ubuntu-logo acpid
augeas-tools bc debconf-utils grub2 hdparm ifenslave iptraf
linux-image-generic lshw lsof lvm2 man-db mdadm nfs-common nload nmap nscd
openssh-client openssh-server parted pciutils python-minimal python-yaml
rdate rsync ruby-dnsruby ruby-net-ssh screen strace sysstat tcpdump tcsh
time tmux unzip usbutils wget xfsprogs grub-pc grub-legacy- lilo-
puppet-common=3.8.5-1puppetlabs1 puppet=3.8.5-1puppetlabs1 libnet-ssh2-ruby
ruby-hiera-eyaml
install_packages: executing chroot /target aptitude -R -y -o
Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew install
plymouth cron file initramfs-tools less locales lsb-release resolvconf


..and here is the contents of the included classes from the pcakge_config


#
# stuff that get installed on all the versions
#
PACKAGES aptitude
augeas-tools
bc
cron
debconf-utils
file
grub2
hdparm
ifenslave
initramfs-tools
iptraf
less
linux-image-generic
locales
lsb-release
lshw
lsof
lvm2
man-db
mdadm
nfs-common
nload
nmap
nscd
openssh-client
openssh-server
parted
pciutils
python-minimal
python-yaml
rdate
resolvconf
rsync
ruby-dnsruby
ruby-net-ssh
screen
strace
sysstat
tcpdump
tcsh
time
tmux
unzip
usbutils
wget
xfsprogs

PACKAGES aptitude GRUB_PC
grub-pc grub-legacy- lilo-


#
# stuff that get installed on all the versions
#
PACKAGES aptitude
puppet-common=3.8.5-1puppetlabs1
puppet=3.8.5-1puppetlabs1
libnet-ssh2-ruby
ruby-hiera-eyaml

#
# stuff that get installed on all the versions
#
PACKAGES aptitude
xdotool
cryptsetup
plymouth
plymouth-label
plymouth-theme-ubuntu-logo
acpid



I have tried debuging the install_packages script. but perl isn't my forte
by a long shot! :)

Can you think of any reason most, but not all pakcages would be excluded?



Cheers,
Just

-- 


Notice:  This email is confidential and may contain copyright material of 
members of the Ocado Group. Opinions and views expressed in this message 
may not necessarily reflect the opinions and views of the members of the 
Ocado Group. 

 

If you are not the intended recipient, please notify us 
immediately and delete all copies of this message. Please note that it is 
your responsibility to scan this message for viruses. 

 

Fetch and Sizzle 
are trading names of Speciality Stores Limited and Fabled is a trading name 
of Marie Claire Beauty Limited, both members of the Ocado Group.

 


References to the “Ocado Group” are to Ocado Group plc (registered in 
England and Wales with number 7098618) and its subsidiary undertakings (as 
that expression is defined in the Companies Act 2006) from time to time.  
The registered office of Ocado Group plc is Buildings One & Two, Trident 
Place, Mosquito Way, Hatfield, Hertfordshire, AL10 9UL.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20190307/a9b138dd/attachment.html>


More information about the linux-fai mailing list