[opensuse-autoinstall] openSUSE11.2-Milestone6 / rules / xsltproc missing!?
Hi all! Today I spent some time testing our 11.1 autoinstallation with pxe boot, autoyast and rules with openSUSE-11.2-Milestone6 (from the DVD, 32 and 64 bit). After some minor problems and changes (mounting of our own scripts doesn't work because of missing portmap and nonworking(?) rpc.statd except I use the mount option "nolock"), the installations stops with the following error message and problem in the step "Processing Profiles and Rules": "sh: /usr/bin/xsltproc: No such file or directory" Clicking "OK" several times the next message says "A profile for this machine counld not be found or retrieved Check that you entered the correct location...". And in the logfile 'y2log" I find the following information
...
2009-09-09 12:43:05 <1> sirius(3901) [YCP] AutoInstallRules.ycp:679 Working on file: classes/netcard/primergy_rx300.xml 2009-09-09 12:43:05 <1> sirius(3901) [YCP] AutoInstallRules.ycp:711 Merge command: /usr/bin/xsltproc --novalid --param replace "'false'" --param with "'/tmp/YaST2-03901-2AVCCM/rules/classes/netcard/primergy_rx300.xml'" --output /tmp/YaST2-03901-2AVCCM/result.xml /usr/share/autoinstall/xslt/merge.xslt /tmp/YaST2-03901-2AVCCM/base_profile.xml 2009-09-09 12:43:05 <3> sirius(3901) [bash] ShellCommand.cc(shellcommand):78 sh: /usr/bin/xsltproc: No such file or directory 2009-09-09 12:43:05 <1> sirius(3901) [YCP] AutoInstallRules.ycp:713 Merge result: $["exit":127, "stderr":"sh: /usr/bin/xsltproc: No such file or directory\n", "stdout":""] 2009-09-09 12:43:05 <3> sirius(3901) [YCP] AutoInstallRules.ycp:716 Merge Failed 2009-09-09 12:43:05 <1> sirius(3901) [ui] YPushButton.cc(setFunctionKey):183 Guessing button role YOKButton for YPushButton "OK" at 0x8c8d6dc from function key F10 2009-09-09 12:43:05 <1> sirius(3901) [ui-shortcuts] YShortcutManager.cc(checkShortcuts):127 No valid shortcut for YLogView "Error" at 0x8af621c
And really, "/usr/bin/xsltproc" is not available at this point of the installation. No package "libxslt-....rpm" is installed (in the initrd?). So the merging of xml files, e.g. described in the following way
...
That requires that yast has started at least once and autoyast has fetched the XML profile. If you don't have problems with the rules scripts, but with the merging, you can merge the XML files like AutoYaST would do it to view the result: /usr/bin/xsltproc --novalid --param replace "'false'" \ --param dontmerge1 "'package'" \ --param with "'a.xml'" --output out.xml \ /usr/share/autoinstall/xslt/merge.xslt base.xml
...
in the article "Why to Confirm? (Part 2)" at http://ugansert.blogspot.com/2009/02/why-to-confirm-part-2.html doesn't work. Has anybody tested something similar and maybe can confirm that observation? Best regards, -- Guenther Haas, Uni Ulm, Institut TAIT, guenther.haas@gmx.de
participants (1)
-
Guenther Haas