Red Hat Bugzilla – Bug 486396
Kickstart install cannot determine local yum repository
Last modified: 2009-06-08 14:12:36 EDT
Description of problem: Installing from hard disk with a kickstart file and no internet connection, anaconda complains of missing repodata. It makes no such complaint when done interactively (i.e., no kickstart file). However, when the boot line specifies a repo (as the same place as the image files) it works OK. This is not necessary when done interactively
Version-Release number of selected component (if applicable): 10.5-0-12
Steps to Reproduce:
1.Put Fedora images on hard disk. Mine looks like this:
linbox# ls /mystuff/distros/fedora/11
anaconda-ks.cfg GETIT.sh* ks-linbox-f11.cfg Umount-iso.sh*
Everything/ images/ ks-linbox-f11.cfg.rev0
Fedora-11-Alpha-i386-DVD.iso isolinux/ Mount-iso.sh*
2.Boot using kickstart file. I use this:
title Install Fedora 11 Alpha
kernel /distros/fedora/11/isolinux/vmlinuz ks=hd:sdb1:distros/fedora/11/ks-linbox-f11.cfg
3.Observe message "Unable to read package metadata" (Screen image attached).
4. Append the following to the "kernel" line, and it works OK:
Need "repo" line.
Should not need "repo" line.
Additional info: I had the same problem in Fedora 10.
Created attachment 332578 [details]
Screen shot of error message
Please attach your kickstart file to this bug report. You can leave out any sensitive information. The most important part is the method line.
Created attachment 332584 [details]
Hm yes, this definitely seems like it should be working. Can you also attach /tmp/anaconda.log to this bug report? Thanks.
Created attachment 333191 [details]
This bug has been triaged
Oh, I think what's wrong here is the i386 -> i586 change, which resulted in all the media installs no longer working since the arch in the .discinfo file no longer matched the architecture of the machine. Can you please try again with the beta and let me know? I've fixed that particular problem so if I'm right, it'll fix your bug up too.