Hello, I am running into a problem after calling create_package_descr: Several rpms during auto-installation are not installed and the client cannot reboot. In the logfile /mnt/var/log/YaST2/y2logRPM of the client I see errors: ... devs-2002.9.4-9.i586.rpm failed execution of devs-2002.9.4-9 script failed, exit status 255 ... netcfg-2002.9.4-6.noarch.rpm failed execution of netcfg-2002.9.4-6 script failed, exit status 255 ... After copying the original files {packages,packages.DU,packages.de,packages.en} to suse/setup/descr the auto-installation succeeds. Has anybody a hint? I have diff'ed packages and packages.orig, but besides of the failing "+Aut: ... -Aut:" in the new file packages both files look identically. What I have done in detail on the installation server: 1) copy all data from DVD to a shared directory (/net/lin_suse8.1) # mount -o ro /cdrom && cd /cdrom && df -k . Filesystem 1k-blocks Used Available Use% Mounted on /dev/hdc 4481888 4481888 0 100% /media/cdrom # cp -a . /net/lin_suse8.1 # diff -r --brief . /net/lin_suse8.1 # cd / && umount /cdrom 2) I do not need the src tree # cd /net/lin_suse8.1/suse/src # du -sk . 1808706 . # rm *.src.rpm 3) I backup the descr directory # cd /net/lin_suse8.1/suse/setup/ # mv descr descr.orig # mkdir descr # cd descr.orig # cp -a . ../descr 4) I generate new package files # cd /net/lin_suse8.1/suse # /usr/lib/YaST2/bin/create_package_descr \ -d /net/lin_suse8.1/suse -l english -l german using settings: datadirs: /net/lin_suse8.1/suse languages: english,german output dir: ./setup/descr/ is not a directory: ignoring extra_provides: file /usr/share/autoinstall/EXTRA_PROV not found! .............................[...]... done processed 2844 packages now recoding to UTF-8: packages packages.DU packages.en packages.de Regards CS -- Christian Stoltze Computer Science, University of Constance (Lake Constance/SW-Germany) Email: Christian.Stoltze@uni-konstanz.de Voice: +49 (0)7531 88-4448 Fax: +49 (0)7531 88-3577
Hi, * Christian Stoltze <Christian.Stoltze@uni-konstanz.de> [Oct 30. 2002 16:30]:
Hello,
I am running into a problem after calling create_package_descr: Several rpms during auto-installation are not installed and the client cannot reboot.
In the logfile /mnt/var/log/YaST2/y2logRPM of the client I see errors: ... devs-2002.9.4-9.i586.rpm failed execution of devs-2002.9.4-9 script failed, exit status 255 ... netcfg-2002.9.4-6.noarch.rpm failed execution of netcfg-2002.9.4-6 script failed, exit status 255 ...
After copying the original files {packages,packages.DU,packages.de,packages.en} to suse/setup/descr the auto-installation succeeds.
Has anybody a hint?
I have diff'ed packages and packages.orig, but besides of the failing "+Aut: ... -Aut:" in the new file packages both files look identically.
What I have done in detail on the installation server:
1) copy all data from DVD to a shared directory (/net/lin_suse8.1) # mount -o ro /cdrom && cd /cdrom && df -k . Filesystem 1k-blocks Used Available Use% Mounted on /dev/hdc 4481888 4481888 0 100% /media/cdrom # cp -a . /net/lin_suse8.1 # diff -r --brief . /net/lin_suse8.1 # cd / && umount /cdrom
2) I do not need the src tree # cd /net/lin_suse8.1/suse/src # du -sk . 1808706 . # rm *.src.rpm
3) I backup the descr directory # cd /net/lin_suse8.1/suse/setup/ # mv descr descr.orig # mkdir descr # cd descr.orig # cp -a . ../descr
4) I generate new package files # cd /net/lin_suse8.1/suse # /usr/lib/YaST2/bin/create_package_descr \ -d /net/lin_suse8.1/suse -l english -l german using settings: datadirs: /net/lin_suse8.1/suse languages: english,german output dir: ./setup/descr/ is not a directory: ignoring extra_provides: file /usr/share/autoinstall/EXTRA_PROV not found! ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is the problem! How come you dont have it! avicenna:~ # rpm -ql autoyast2 | grep EXTRA /usr/share/autoinstall/EXTRA_PROV Anas
.............................[...]... done processed 2844 packages now recoding to UTF-8: packages packages.DU packages.en packages.de
Regards CS -- Christian Stoltze Computer Science, University of Constance (Lake Constance/SW-Germany) Email: Christian.Stoltze@uni-konstanz.de Voice: +49 (0)7531 88-4448 Fax: +49 (0)7531 88-3577
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com -- Anas Nashif <nashif@suse.com>, SuSE Linux AG Montreal (Laval), Canada
Anas,
extra_provides: file /usr/share/autoinstall/EXTRA_PROV not found! ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is the problem! How come you dont have it!
avicenna:~ # rpm -ql autoyast2 | grep EXTRA /usr/share/autoinstall/EXTRA_PROV
Oh shit, what a stupid error from me!! Now it works. Explanation: I have setup the installation server on a SuSE 8.0 system and only copied the script create_package_descr (but not EXTRA_PROV). Thanks a lot, Anas. Regards CS -- Christian Stoltze Computer Science, University of Constance (Lake Constance/SW-Germany) Email: Christian.Stoltze@uni-konstanz.de Voice: +49 (0)7531 88-4448 Fax: +49 (0)7531 88-3577
participants (2)
-
Anas Nashif
-
Christian Stoltze