Red Hat Bugzilla – Bug 108643
pkgorder script crashes when run because it tries to find a file in an absolute path instead of a relative path
Last modified: 2007-11-30 17:10:32 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016
Description of problem:
running pkgorder ./i386/ i386 > ./pkgorder.txt
gives the a file not found error for:
That is an absolute path. It should be
The exec problem is in the /usr/lib/anaconda/hdrlist.py at line 882, where, due
to my lack of python knowledge and time, to make the script work I had to write
the path like below:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Get a distribution tree!
2. start building it.
3. At pkgorder the crash occurs.
Actual Results: The script crashes.
Expected Results: The script should have opened the "RedHat/base/comps.xml"
file instead of the /RedHat/base/comps.xml.
Looks like the "RedHat" should be replaced with "Fedora"
I already created a sym-link from RedHat to Fedora because anaconda wanted
RedHat and not fedora. Weird.
You need to add another argument to your pkgorder invocation, eg
pkgorder ./i386/ i386 Fedora