help with check-repository.py

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I am trying to build a custom 7.3 CD with a limited amount of RPMs (my final goal is to create a single CD kickstart install for a striped down 7.3 o/s). I am using the RH 7 Customized Installer mini-HOWTO as a guide. I am having some difficulty trying to get check-repository.py to run. I reviewed the mailing list archives and I could not find anything that pointed me to a solution.
The error that I am getting is:

# /usr/lib/anaconda-runtime/check-repository.py /redhat/i386
Traceback (innermost last):
  File "/usr/lib/anaconda-runtime/check-repository.py", line 97, in ?
    CheckRepository(sys.argv[1])
File "/usr/lib/anaconda-runtime/check-repository.py", line 93, in __init__
    self.getCompsList ()
File "/usr/lib/anaconda-runtime/check-repository.py", line 56, in getCompsList
    self.comps = self.readComps(self.hdList)
File "/usr/lib/anaconda-runtime/check-repository.py", line 64, in readComps
    '/RedHat/base/comps', hdlist)
  File "/usr/lib/anaconda/comps.py", line 796, in __init__
    self.readCompsFile(file, self.packages)
  File "/usr/lib/anaconda/comps.py", line 582, in readCompsFile
    comp.setDefaultSelection()
  File "/usr/lib/anaconda/comps.py", line 323, in setDefaultSelection
    self.select()
  File "/usr/lib/anaconda/comps.py", line 262, in select
    self.set.updateSelections()
  File "/usr/lib/anaconda/comps.py", line 587, in updateSelections
    pkg.updateSelectionCache()
  File "/usr/lib/anaconda/comps.py", line 96, in updateSelectionCache
    if not comp.isSelected(justManual = 0):
  File "/usr/lib/anaconda/comps.py", line 268, in isSelected
    self.conditionalKey, self.name)
  File "/usr/lib/anaconda/log.py", line 38, in __call__
    raise RuntimeError, "log file not open yet"
RuntimeError: log file not open yet

Under the buildroot/RedHat/base there is a custom comps file:
... 3488 Mar 13 15:39 /redhat/i386/RedHat/base/comps

The depchecktree.py script mentioned in the doc runs fine:
# depchecktree.py /redhat/i386/|grep -v add
All dependencies resolved in /redhat/i386/

As does the comps-check.pl script.

I can generate the hdfiles:
# genhdlist /redhat/i386
# date
Wed Mar 19 13:16:21 PST 2003
# ls -l /redhat/i386/RedHat/base/hd*
... 615992 Mar 19 13:16 /redhat/i386/RedHat/base/hdlist
... 5746808 Mar 19 13:16 /redhat/i386/RedHat/base/hdlist2

dumphdrlist.py can also read the generated files.

I'm not sure if this is something to do with the custom comp
file or the way the tree is structured. Any help would be
appreciated.

Thanks in advance.
-John

--
-----------
John Rasey
IS Contributor
TiVo
subsonic@xxxxxxxx

From the fortune file:
If you have never been hated by your child, you have never been a parent.
		-- Bette Davis





[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux