Description of problem:
During an installation on a low-memory machine according to "Installation Guide
Appendix B. Installing Without Media" (booting from vmlinuz and initrd.img only,
and then use ftp method to retrieve other files.). An error occurred, saying:
Unable to read group information from repositories. This is a problem with the
generation of your install tree.
It also give an error about lcpci in Ctrl-Alt-F3 window.
This error message is from doRepoSetup() (in /usr/lib/anaconda/yuminstall.py)
for a failure of doGroupSetup() (also in yuminstall.py). This is because
doGroupSetup() calls iutil.isVmware() (in /usr/lib/anaconda/iutil.py), and it
then calls hard-coded /usr/sbin/lspci, which is not included in minstg2.img
(loop-back mounted at /mnt/runtime).
Version-Release number of selected component (if applicable):
anaconda of the version included in released Fedora 9
Steps to Reproduce:
1. Start an installation on a low-memory machine according to "Installation
Guide Appendix B. Installing Without Media" (booting from vmlinuz and initrd.img
only, and then use ftp method to retrieve other files.)
Installation stalls with the message above.
Possible solutions are:
1. add /sbin/lspci to minstg2.img
2. change the implementation of isVmware() to not use lspci.
A brute force ugly workaround is to put some executable file with the name
"lspci". To do it, I had to create a disk image with the content of /usr/sbin,
cp -ir /usr/sbin .
dd if=/dev/zero of=sbin.img bs=512 count=16384
mount -t ext2 -o loop sbin.img /usr/sbin
cp -ir sbin/* /usr/sbin
ln -s /usr/bin/busybox /usr/sbin/lspci
The executable file could be anything, so long as it does not return a string
with the word "vmware".
*** This bug has been marked as a duplicate of 445974 ***