Article 4TGSC Centos 7.7.1908 kickstart: error during package installation when installing packages other than just base and core

Centos 7.7.1908 kickstart: error during package installation when installing packages other than just base and core

by
Shaggy1
from LinuxQuestions.org on (#4TGSC)
Hi

I've been attempting to install centos 7.7.1908 using pxeboot and a kickstart file, but am having problems installing packages.

The installation goes through fine when my packages list looks like:
%packages
@base
@core
%end

However when I add the development package:
%packages
@base
@core
@development --optional
%end

It runs through until 'Starting package installation process', then comes up with an error dialog:

The following software marked for installation has errors.
This is likely caused by an error with your installation source.
mock-1.4.20-1e7.noarch requires /usr/bin/python3.6
Python36-chardet-3.0.4-1.el7.noarch requires /usr/bin/python3.6
.....
<more packages listed>

Does anyone know what this message means ?
Is it saying it did not find the required packages in Packages directory ?

Do I need to somehow add something to the initrd image ?

Does anyone know where it initially gets the information to generate /usr/bin from ? Where should it be getting python3.6 from during the installation ?

Can someone clarify what the directory structure for the install should be ?

I currently have:
isofiles
images
efiboot.img pxeboot TRANS.TBL
isolinux
boot.cat boot.msg grub.conf initrd.img isolinux.bin isolinux.cfg ks memtest splash.png TRANS.TBL vesamenu.c32 vmlinuz
LiveOS
squashfs.img TRANS.TBL
Packages
<required packages>
repodata
03dde1157310b4a6d8e9128de19651c147a71150d406f3efaaf12f7eb83a1f35-primary.xml.gz
177815eb15f48fcab91407f00675f26cbc13f07601c7d971b6255957faa2d1e0-other.sqlite.bz2
17f82b7ec55c8c3c30bd0093d3241f1824aa4dafde0081f9a31829dbb7e3738e-filelists.sqlite.bz2
4af1fba0c1d6175b7e3c862b4bddfef93fffb84c37f7d5f18cfbff08abc47f8a-c7-x86_64-comps.xml.gz
521f322f05f9802f2438d8bb7d97558c64ff3ff74c03322d77787ade9152d8bb-c7-x86_64-comps.xml
7a2197223a2689b44594b09351dead84fe2d8cd0459be3f885bb985bb28af7ca-primary.sqlite.bz2
84ff0ada5bdbf970afd2791ab1850d0596e41b5442e1ec3f7073974b222b7be9-filelists.xml.gz
a7120e4fc4c651382e22fb4c126798235095a1ce58c2c0783cc6d31c2672f544-other.xml.gz
repomd.xml
repomd.xml.asc
TRANS.TBL
TRANS.TBL
I have attached the kickstart file I am using.
Attached Files
txt.giftest_centos7_ksfile.txt (6.0 KB)
latest?d=yIl2AUoC8zA latest?i=nPFV4MOWbho:EsHzIm9035U:F7zBnMy latest?i=nPFV4MOWbho:EsHzIm9035U:V_sGLiP latest?d=qj6IDK7rITs latest?i=nPFV4MOWbho:EsHzIm9035U:gIN9vFwnPFV4MOWbho
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments