install_packages seems to be excluding a lot of pakcages

Justin Cattle j at ocado.com
Fri Mar 8 10:02:20 CET 2019


I've also just tried the latest version of install_packages from git,  Same
thing.


Like I said, I'm not a perl guy, but it seems like this is happening:

The hash pname is built from packages listed in
$FAI_ROOT/var/lib/dpkg/available , using the function create_debian_pkg_list

clean_pkg_list parses all the files, using insert_pkg.  If insert_pkg
doesn't find the file in pmap, it will return 0 and package falls
into @unknown.


So, I think this can be summarised as, if the package isn't declared in
$FAI_ROOT/var/lib/dpkg/available, it will be removed from the installation
list.

If that's correct, then I'm slightly confused, because
/var/lib/dpkg/available isn't a full list of packages available for
installation via apt.
Is there something I'm missing in FAI that normally populates that file
with more of the packages from apt sources?


Cheers,
Just


On Fri, 8 Mar 2019 at 08:02, Justin Cattle <j at ocado.com> wrote:

> Apologies, forgot to add that info.
>
> FAI 5.3.6
> nfsroot is debian squeeze, and building ubuntu trusty in this case
>
>
> Cheers,
> Just
>
>
> On Thu, 7 Mar 2019 at 22:37, Thomas Lange <lange at informatik.uni-koeln.de>
> wrote:
>
>> >>>>> On Thu, 7 Mar 2019 21:59:09 +0000, Justin Cattle <j at ocado.com>
>> said:
>>
>>     > 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.
>> Which FAI version are you using?
>>
>> --
>> regards Thomas
>>
>

-- 


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/20190308/916e926c/attachment-0001.html>


More information about the linux-fai mailing list