buildinstall difficulties..

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

 



buildinstall is failing on me because it's missing all the /bin and /usr/bin files.

When I look at the installroot under /usr/redhat/i386/RedHat/installroot,
there is a partial filesystem structure there, but it's missing /bin,
/sbin, and when I look into the /usr, there is an /usr/sbin directory, but the /usr/bin isn't a directory, but a file.

So later in buildinstall it spits out hundreds of lines where it can't find any of the files.

I manually edited upd-instroot under /usr/lib/anaconda-runtime and changed the lines where it does "mkdir -p"'s and had that script also create /bin and /usr/bin, which seemed to help fix the problem where /usr/bin was just a file, it created a directory and it had all the files in it, but it didn't work for the /bin directory. It still didn't exist.

One strange thing in the beginning of the buildinstall, is there is an error about a failed read, and cpio complains about a premature end of archive, but I double checked every RPM by "rpm -K --nogpg | grep NOT OK" and they all passed the MD5 check.

I also went through all the rpms listed in /usr/lib/anaconda-runtime/upd-instroot and made sure they existed in the RPM directory.

Here is a partial screen capture of where the very initial error occurs,
I figure the problem is there and so I'll exclude all the "file missing" errors.

[root@jen anaconda-runtime]# export PYTHONPATH=/usr/lib/anaconda
[root@jen anaconda-runtime]# export PATH="$PATH:/usr/lib/anaconda-runtime"
[root@jen anaconda-runtime]# buildinstall --comp dist-7.3 --pkgorder /usr/redhat/pkgorder.txt --version 7.3 /usr/redhat/i386
Building images...
Assembling package list...
Expanding packages...
retrieving timezones
error: read failed: Success (0)
error reading header from package
cpio: premature end of archive
tar: usr/share/zoneinfo/US: Cannot stat: No such file or directory
tar: usr/share/zoneinfo/Europe: Cannot stat: No such file or directory
tar: usr/share/zoneinfo/Japan: Cannot stat: No such file or directory
tar: usr/share/zoneinfo/America: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
tar: usr/share/zoneinfo/US: Cannot stat: No such file or directory
tar: usr/share/zoneinfo/Europe: Cannot stat: No such file or directory
tar: usr/share/zoneinfo/Japan: Cannot stat: No such file or directory
tar: usr/share/zoneinfo/America: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
/usr/redhat/i386/buildinstall.tree.23164/upd-instroot: cd: /usr/redhat/i386/RedHat/instimage/usr/lib/locale: No such file or directory
Running mkfontdir...
/usr/X11R6/bin/mkfontdir: failed to create directory in /usr/redhat/i386/RedHat/instimage/usr/share/fonts/ISO8859-9/* rm: cannot remove `/usr/redhat/i386/RedHat/instimage/usr/X11R6/bin/mkfontdir': No such file or directory Scrubbing trees... /usr/redhat/i386/image-templateln: creating symbolic link `/usr/redhat/i386/image-template/usr/bin/raidstart' to `../lib/anaconda/raidstart-stub': No such file or directory


BTW, I previously tried the buildinstall with the --pkgorder /usr/redhat/pkgorder.txt in the same format as listed in Tony's HOWTO, but the buildinstall usage has it ordered differantly, and since I kept having a problem, I thought I would try it as per it's built in usage displays.

I don't know where it's failing and any help would be very appreciated.

-Jim





[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