- 论坛徽章:
- 0
|
按照基本的步骤,编辑comps.xml, 产生hdlist文件,最后在buildinstall的时候出现了错误。没有产生新的img文件并且原来image目录下的文件被删除。出错的信息如下:
Running buildinstall...
/centos/buildinstall.tree.6137 /usr/lib/anaconda-runtime
rpm2cpio: /centos/CentOS/RPMS/anaconda-runtime-[0-9]*: No such file or directory
cpio: premature end of archive
/usr/lib/anaconda-runtime
Going to run buildinstall again
Building images...
/centos/buildinstall.tree.6137/upd-instroot: line 37: [: too many arguments
/centos/buildinstall.tree.6137/upd-instroot: line 124: [: too many arguments
/centos/buildinstall.tree.6137/upd-instroot: line 128: [: =: unary operator expected
/centos/buildinstall.tree.6137/upd-instroot: line 132: [: too many arguments
/centos/buildinstall.tree.6137/upd-instroot: line 140: [: too many arguments
/centos/buildinstall.tree.6137/upd-instroot: line 192: [: =: unary operator expected
/centos/buildinstall.tree.6137/upd-instroot: line 205: [: =: unary operator expected
/centos/buildinstall.tree.6137/upd-instroot: line 209: [: too many arguments
/centos/buildinstall.tree.6137/upd-instroot: line 213: [: =: unary operator expected
/centos/buildinstall.tree.6137/upd-instroot: line 217: [: =: unary operator expected
/centos/buildinstall.tree.6137/upd-instroot: line 221: [: =: unary operator expected
/centos/buildinstall.tree.6137/upd-instroot: line 399: [: too many arguments
/centos/buildinstall.tree.6137/upd-instroot: line 700: [: =: unary operator expected
Assembling package list...
Expanding text packages...
Expanding graphical packages...
retrieving timezones
/centos/buildinstall.tree.6137/upd-instroot: line 838: [: too many arguments
/centos/buildinstall.tree.6137/upd-instroot: line 850:
/tmp/treedir.6150/image-template/usr/lib/anaconda-runtime/fixmtime.py: No such file or directory
/centos/buildinstall.tree.6137/upd-instroot: line 850: /tmp/treedir.6150/instimage/usr/lib/anaconda-runtime/fixmtime.py: No
such file or directory
cat: /tmp/treedir.6150/instimage/usr/lib/anaconda/lang-table*: No such file or directory
ln: creating symbolic link `/tmp/treedir.6150/instimage/etc/joe/picorc' to `jpicorc': No such file or directory
ln: creating symbolic link `/tmp/treedir.6150/instimage/etc/joe/emacsrc' to `jmacsrc': No such file or directory
Creating nsswitch.conf
Fixing up /etc/man.config to point into /mnt/sysimage
Running mkfontdir...
/centos/buildinstall.tree.6137/upd-instroot: line 930: /usr/X11R6/bin/mkfontdir: No such file or directory
Getting pango modules
mv: cannot stat `/tmp/treedir.6150/instimage/usr/bin/pango-querymodules*': No such file or directory
/centos/buildinstall.tree.6137/upd-instroot: line 941: /tmp/treedir.6150/instimage/etc/pango/pango.modules: No such file or
directory
/centos/buildinstall.tree.6137/upd-instroot: line 945: /tmp/treedir.6150/instimage/etc/pango/pangorc: No such file or
directory
Getting gtk2 input method modules
mv: cannot stat `/tmp/treedir.6150/instimage/usr/bin/gtk-query-immodules-2.0*': No such file or directory
/usr/sbin/chroot: cannot run command `/usr/bin/gtk-query-immodules-2.0': No such file or directory
Getting gtk2 gdk-pixbuf loaders
mv: cannot stat `/tmp/treedir.6150/instimage/usr/bin/gdk-pixbuf-query-loaders*': No such file or directory
/usr/sbin/chroot: cannot run command `/usr/bin/gdk-pixbuf-query-loaders': No such file or directory
Scrubbing trees... /tmp/treedir.6150/image-template
cp: cannot stat `/tmp/treedir.6150/image-template/usr/lib/anaconda/raidstart-stub': No such file or directory
cp: cannot stat `/tmp/treedir.6150/image-template/usr/lib/anaconda/raidstop-stub': No such file or directory
cp: cannot stat `/tmp/treedir.6150/image-template/usr/lib/anaconda/losetup-stub': No such file or directory
cp: cannot stat `/tmp/treedir.6150/image-template/usr/lib/anaconda/pump-stub': No such file or directory
cp: cannot stat `/tmp/treedir.6150/image-template/usr/lib/anaconda/list-harddrives-stub': No such file or directory
cp: cannot stat `/tmp/treedir.6150/image-template/usr/lib/anaconda/kudzu-probe-stub': No such file or directory
cp: cannot stat `/tmp/treedir.6150/image-template/usr/lib/anaconda/loadkeys-stub': No such file or directory
cp: cannot stat `/tmp/treedir.6150/image-template/usr/lib/anaconda/mknod-stub': No such file or directory
cp: cannot stat `/tmp/treedir.6150/image-template/usr/lib/anaconda/rescue-startx-stub': No such file or directory
mv: cannot stat `/tmp/treedir.6150/image-template/usr/sbin/anaconda': No such file or directory
mv: cannot stat `/tmp/treedir.6150/image-template/usr/lib/anaconda-runtime/lib*': No such file or directory
/centos/buildinstall.tree.6137/upd-instroot: line 1026: [: too many arguments
/centos/buildinstall.tree.6137/upd-instroot: line 1033: [: too many arguments
/centos/buildinstall.tree.6137/upd-instroot: line 1039: [: too many arguments
/centos/buildinstall.tree.6137/upd-instroot: line 1045: [: too many arguments
/centos/buildinstall.tree.6137/upd-instroot: line 1075:
/tmp/treedir.6150/image-template/usr/lib/anaconda-runtime/scrubtree: No such file or directory
Scrubbing trees... /tmp/treedir.6150/instimage
cp: cannot stat `/tmp/treedir.6150/instimage/usr/lib/anaconda/raidstart-stub': No such file or directory
cp: cannot stat `/tmp/treedir.6150/instimage/usr/lib/anaconda/raidstop-stub': No such file or directory
cp: cannot stat `/tmp/treedir.6150/instimage/usr/lib/anaconda/losetup-stub': No such file or directory
cp: cannot stat `/tmp/treedir.6150/instimage/usr/lib/anaconda/pump-stub': No such file or directory
cp: cannot stat `/tmp/treedir.6150/instimage/usr/lib/anaconda/list-harddrives-stub': No such file or directory
cp: cannot stat `/tmp/treedir.6150/instimage/usr/lib/anaconda/kudzu-probe-stub': No such file or directory
cp: cannot stat `/tmp/treedir.6150/instimage/usr/lib/anaconda/loadkeys-stub': No such file or directory
cp: cannot stat `/tmp/treedir.6150/instimage/usr/lib/anaconda/mknod-stub': No such file or directory
cp: cannot stat `/tmp/treedir.6150/instimage/usr/lib/anaconda/rescue-startx-stub': No such file or directory
mv: cannot stat `/tmp/treedir.6150/instimage/usr/sbin/anaconda': No such file or directory
mv: cannot stat `/tmp/treedir.6150/instimage/usr/lib/anaconda-runtime/lib*': No such file or directory
/centos/buildinstall.tree.6137/upd-instroot: line 1026: [: too many arguments
/centos/buildinstall.tree.6137/upd-instroot: line 1033: [: too many arguments
/centos/buildinstall.tree.6137/upd-instroot: line 1039: [: too many arguments
/centos/buildinstall.tree.6137/upd-instroot: line 1045: [: too many arguments
/centos/buildinstall.tree.6137/upd-instroot: line 1075: /tmp/treedir.6150/instimage/usr/lib/anaconda-runtime/scrubtree: No
such file or directory
Compressing .mo files in stage2 images...
Creating fontconfig cache
Creating debug dir
/centos/buildinstall.tree.6137/upd-instroot: line 1102: [: =: unary operator expected
Patching python library...
/usr/lib/anaconda-runtime
Removing unused python files in hdimage... /centos/buildinstall.tree.6137/upd-instroot: line 1137:
/tmp/treedir.6150/image-template/usr/lib/anaconda-runtime/pythondeps: No such file or directory
done.
Cleaning ramdisk install images...
ln: creating symbolic link `/tmp/treedir.6150/instimage/usr/X11R6/lib/X11/xkb/compiled' to `/tmp': No such file or
directory
/centos/buildinstall.tree.6137/upd-instroot: line 1185: /tmp/treedir.6150/instimage/usr/lib/anaconda-runtime/checkcards.py:
No such file or directory
Getting package order...
/centos/buildinstall.tree.6137/buildinstall: line 153: /tmp/treedir.6150/instimage/usr/lib/anaconda-runtime/pkgorder: No
such file or directory
Making images...
/tmp/treedir.6150/instimage/usr/lib/anaconda-runtime/trimpcitable doesn't exist
/tmp/treedir.6150/instimage/usr/lib/anaconda-runtime/trimmodmap doesn't exist
/tmp/treedir.6150/instimage/usr/lib/anaconda-runtime/trimpciids doesn't exist
/tmp/treedir.6150/instimage/usr/lib/anaconda-runtime/moddeps doesn't exist
/tmp/treedir.6150/instimage/usr/lib/anaconda-runtime/loader/module-info doesn't exist
/tmp/treedir.6150/instimage/usr/lib/anaconda-runtime/filtermoddeps doesn't exist
/tmp/treedir.6150/instimage/usr/lib/anaconda/lang-table doesn't exist
/tmp/treedir.6150/instimage/usr/lib/anaconda-runtime/getkeymaps doesn't exist
/tmp/treedir.6150/instimage/usr/lib/anaconda-runtime/trimusbmap doesn't exist
Writing .discinfo file
timestamp not specified; using the current time
我在google上找了很久,发现很多此类问题的描述,但没有找到正确的解决方法。CentOS的版本是4.2
请大家帮帮我啊..... |
|