[opensuse-autoinstall] autoyast and updates repository
Hello, in opensuse 11.1 we had the update repository in autoyast and after the installation, the existing updates were already applied. In 11.2 we got an error message during the installation and 11.3 seems to be doing the same. Any idea how to set up an update repo in autoyast or is this no longer possible? I don't think it makes any difference but we rsync rsync://rsync.opensuse.org/opensuse-full/opensuse/ so we have a local copy of the files needed for installation and updates and we do the install over NFS. I was just adding something like: <listentry> <media_url><![CDATA[nfs://nfs.example.com/suse/opensuse/update/11.3]]></media_url> <product>local updates</product> <product_dir>/</product_dir> </listentry> I was also wondering if there's a way to configure automatic updates from that repo, maybe once a week. Thanks for your help. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Tuesday 10 August 2010 Pierre Girard wrote:
in opensuse 11.1 we had the update repository in autoyast and after the installation, the existing updates were already applied. In 11.2 we got an error message during the installation and 11.3 seems to be doing the same. Any idea how to set up an update repo in autoyast or is this no longer possible?
hm. this is the second report where someone seems to have problems with the new CDATA for media_url. I'll have to take a closer look at that ASAP. In the meantime, can you try to workaround that with a pre-script? Change the /tmp/profile/autoinst.xml file and store it to /tmp/profile/modified.xml (see pre-script documentation in the autoyast docu too). Another customer used this sed-command with success for that: sed "/media_url/s@<!\[CDATA\[\(.*\)\]\]>@\1@g" /tmp/profile/autoinst.xml > /tmp/profile/modified.xml maybe it works for you too as a workaround.
I was just adding something like: <listentry> <media_url><![CDATA[nfs://nfs.example.com/suse/opensuse/update/11.3]]></med ia_url> <product>local updates</product> <product_dir>/</product_dir> </listentry>
the new CDATA seems to make troube sometimes. I have no explanation for that yet but I'll check it.
I was also wondering if there's a way to configure automatic updates from that repo, maybe once a week.
<online_update_configuration> <auto_agree_with_licenses config:type="boolean">true</auto_agree_with_licenses> <enable_automatic_online_update config:type="boolean">true</enable_automatic_online_update> <skip_interactive_patches config:type="boolean">true</skip_interactive_patches> <update_interval>weekly</update_interval> </online_update_configuration> -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug listening to: "Rache" by Unheilig -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Le 2010-08-10 12:25, Uwe Gansert a écrit :
hm. this is the second report where someone seems to have problems with the new CDATA for media_url. I'll have to take a closer look at that ASAP. In the meantime, can you try to workaround that with a pre-script?
I just did some more testing and i don't think the problem is in the URL in my case. The error message I get is something like: Command terminated with status 5 (translated since install is in french). From the logs there's a timeout trying to install one of the updates, something like fetchmsttfonts.sh. It seems to try check download speed and as far as i can tell, they all end with too slow (aborted) Network connection is working since i can ssh from the terminal (ctrl-alt-f2) to another machine on the network. I was also able to wget gcc at 8MB/s so speed should be fine. Any ideas? Thanks. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Am 10.08.2010 20:19, schrieb Pierre Girard:
Le 2010-08-10 12:25, Uwe Gansert a écrit :
hm. this is the second report where someone seems to have problems with the new CDATA for media_url. I'll have to take a closer look at that ASAP. In the meantime, can you try to workaround that with a pre-script?
I just did some more testing and i don't think the problem is in the URL in my case. The error message I get is something like: Command terminated with status 5 (translated since install is in french).
From the logs there's a timeout trying to install one of the updates, something like fetchmsttfonts.sh. It seems to try check download speed and as far as i can tell, they all end with too slow (aborted)
Hello Pierre, in march there was that "fetchmsttfonts.sh" issue on this list: http://lists.opensuse.org/opensuse-autoinstall/2010-03/msg00032.html I resolved that problem perfectly with option 1 mentioned in the mail from Uwe, but im not shure if it helps you in your case. Regards, Ivan -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Tuesday August 10 2010 20:19:34 Pierre Girard wrote:
From the logs there's a timeout trying to install one of the updates, something like fetchmsttfonts.sh. It seems to try check download speed and as far as i can tell, they all end with too slow (aborted)
I saw the same thing using a normal installation (not autoinstall) from a local network server. When I include the update repository (local too) to install the updated versions immediately, then the installation aborts. I guess something like that happens: the update includes fetchmsttsfonts, which tries to get the fonts via internet from sourceforge. This fails, because there is no internet connectivity. And the installation aborts on the error return of the script. Is there a way to exclude specifically fetchmsttsfonts from the update? This might be a work around. Peter -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Le 2010-08-11 02:33, Peter Pointner a écrit :
I guess something like that happens: the update includes fetchmsttsfonts, which tries to get the fonts via internet from sourceforge. This fails, because there is no internet connectivity. And the installation aborts on the error return of the script.
I thought that was the case but as i mentionned in my message the network is working correctly. When the installation stopped with the error code I went to the ctrl-alt-f2 terminal to check the logs and i used wget to download gcc from the gnu website and it only took a couple seconds.
Is there a way to exclude specifically fetchmsttsfonts from the update? This might be a work around.
Le 2010-08-10 18:37, Ivan De Masi a écrit :
in march there was that "fetchmsttfonts.sh" issue on this list: http://lists.opensuse.org/opensuse-autoinstall/2010-03/msg00032.html
You could put it on the do not install list as mentionned in that URL. This might be what I end up doing. Since I didn't specifically select that package it must be a dependency and I don't know if it would break something or not. If it's possible to do the install without that package, why does it get pulled in? As for the second solution on the site, I don't think it applies since in that case the update script wasn't found in my case it is but just can't download the files for some reason. I found this message that seems interresting but i don't know how I could change the script on the fly. http://www.pubbs.net/200910/opensuse/28584-opensuse-fetchmsttfonts-fix-for-1... Here's part of the log file that shows what's going on. 2010-08-10 15:02:33 <1> test.example.com(3743) [zypp] TargetImpl.cc(RunUpdateScripts):214 Looking for new update scripts in (/mnt)/var/adm/update-scripts 2010-08-10 15:02:33 <1> test.example.com(3743) [zypp] PathInfo.cc(readdir):574 readdir /mnt/var/adm/update-scripts 2010-08-10 15:02:33 <1> test.example.com(3743) [zypp] PathInfo.cc(chmod):1027 chmod /mnt/var/adm/update-scripts/fetchmsttfonts-11.3-1.1.5-fetchmsttfonts.sh.txt 0100755 2010-08-10 15:02:33 <1> test.example.com(3743) [zypp] TargetImpl.cc(RunUpdateScripts):257 Found update script fetchmsttfonts-11.3-1.1.5-fetchmsttfonts.sh.txt 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:138 ScriptStart: patch:fetchmsttfonts-11.3-1.1.5.noarch, script:/mnt/var/adm/update-scripts/fetchmsttfonts-11.3-1.1.5-fetchmsttfonts.sh.txt 2010-08-10 15:02:33 <1> test.example.com(3743) [zypp] TargetImpl.cc(doExecuteScript):130 Execute script /mnt/var/adm/update-scripts/fetchmsttfonts-11.3-1.1.5-fetchmsttfonts.sh.txt{- 0755 0/0 size 4245} 2010-08-10 15:02:33 <1> test.example.com(3743) [zypp++] ExternalProgram.cc(start_program):221 Executing '/bin/sh' '-c' '/var/adm/update-scripts/fetchmsttfonts-11.3-1.1.5-fetchmsttfonts.sh.txt' 2010-08-10 15:02:33 <1> test.example.com(3743) [zypp++] ExternalProgram.cc(start_program):373 pid 529 launched 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: note: No proxy is used. Please set the environment variable "http_proxy" 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: note: to your favorite proxy, if you want to use a proxy for the download. 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: note: 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: note: bash: export http_proxy="http://proxy.example.com:3128/" 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: note: tcsh: setenv http_proxy "http://proxy.example.com:3128/" 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: EULA: 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: Fetching ... done 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:33 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: Trying to find the fastest server: 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: jaist .... too slow (aborted) 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: voxel .... too slow (aborted) 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: heanet .... too slow (aborted) 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: kent ... too slow (aborted) 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: nchc ... too slow (aborted) 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: easynews .... too slow (aborted) 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: waix ... too slow (aborted) 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: internode ... too slow (aborted) 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: internap .... too slow (aborted) 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:155 ScriptProgress: ping:false, output: Connection too slow or no server available. Aborting ... 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:172 input: nil 2010-08-10 15:02:34 <1> test.example.com(3743) [zypp++] ExternalProgram.cc(checkStatus):424 Pid 529 exited with status 5 2010-08-10 15:02:34 <1> test.example.com(3743) [YCP] SlideShowCallbacks.ycp:182 ScriptProblem: La commande s'est terminée avec le status 5. 2010-08-10 15:02:34 <1> test.example.com(3743) [ui] YPushButton.cc(setFunctionKey):204 Guessing button role YOKButton for YPushButton "OK" at 0xa0c5040 from function key F10 -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (4)
-
Ivan De Masi
-
Peter Pointner
-
Pierre Girard
-
Uwe Gansert