Bug 108643 - pkgorder script crashes when run because it tries to find a file in an absolute path instead of a relative path
Summary: pkgorder script crashes when run because it tries to find a file in an absolu...
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda   
(Show other bugs)
Version: rawhide
Hardware: i386 Linux
Target Milestone: ---
Assignee: Michael Fulbright
QA Contact: Mike McLean
Depends On:
TreeView+ depends on / blocked
Reported: 2003-10-30 21:15 UTC by Razvan Corneliu C.R. VILT
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-11-03 01:17:45 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Razvan Corneliu C.R. VILT 2003-10-30 21:15:36 UTC
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
/$PATH_TO_DISTRIB_TREE/RedHat/base/comps.xml instead.

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:
file =

Version-Release number of selected component (if applicable):

How reproducible:

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.

Comment 1 Brent Fox 2003-10-30 21:44:13 UTC
Looks like the "RedHat" should be replaced with "Fedora"

Comment 2 Razvan Corneliu C.R. VILT 2003-10-31 02:53:22 UTC
I already created a sym-link from RedHat to Fedora because anaconda wanted
RedHat and not fedora. Weird.

Comment 3 Jeremy Katz 2003-11-03 01:17:45 UTC
You need to add another argument to your pkgorder invocation, eg
 pkgorder ./i386/ i386 Fedora

Note You need to log in before you can comment on or make changes to this bug.