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

problem while using splittree.py



Hi guys:
I want to build my own discs set to fit my needs based on FC4, so I
eddit the comp.xml,

prepare some environment and so on. Finally I execute genhdlist ,
pkgorder, buildinstall and

splittree.py, all seems good untill splittree.py is run .

I execute splittree.py as following:

splittree.py --arch=i386 --total-discs=1 --bin-discs=1
--release-string="mylinux" --pkgorderfile=/home/hunter/pkgorder.txt
--distdir=/home/hunter/i386 --srcdir=/home/hunter/i386

I got the following errormessage:
-----------------------------------------------------------------------------------
File "/usr/lib/anaconda-runtime/splittree.py", line 465, in ?
logfile = timber.main()
File "/usr/lib/anaconda-runtime/splittree.py", line 386, in main
self.splitRPMS()
File "/usr/lib/anaconda-runtime/splittree.py", line 259, in splitRPMS
pkg_nvr = nvra("%s/%s/RPMS/%s" %(self.dist_dir, self.product_path,
filename))
File "/usr/lib/anaconda-runtime/splittree.py", line 39, in nvra
h = _ts.hdrFromFdno(fd)
_rpm.error: error reading package header

Can anyone tell me how to fix this error? Thank you very much!

hunter






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