I'm trying to let autoyast do an online update during installation.
First I tried with
true
but that didn't work. Moreover I read here
http://lists.opensuse.org/opensuse-autoinstall/2009-04/msg00028.html
that if you want to add repositories you should do the update at the end
of the installation.
So now I'm trying to do it in a post-install script (see below), but then
I get the following feedback:
+zypper ar -f http://download.opensuse.org/update/11.4 updates
System management is locked by the application with pid 2579 (y2base).
Close this application before trying again.
+zypper ar -f ftp://download.nvidia.com/opensuse/11.4/ nvidia
System management is locked by the application with pid 2579 (y2base).
Close this application before trying again.
+zypper --non-interactive --gpg-auto-import-keys update
--auto-agree-with-licenses --force-resolution
System management is locked by the application with pid 2579 (y2base).
Close this application before trying again.
So what is the best time to do the update?
Thanks a lot in advance for any help,
Winfried
autoinstall.xml snippet:
<scripts>
<post-scripts config:type="list">
<script>
<source>
<![CDATA[
zypper ar -f http://download.opensuse.org/update/11.4 updates
zypper ar -f ftp://download.nvidia.com/opensuse/11.4/ nvidia
zypper --non-interactive --gpg-auto-import-keys update
--auto-agree-with-licenses --force-resolution
]]>
</source>
true
<interpreter>shell</interpreter>
<notification>Please wait while online update is running
...</notification>
<feedback config:type="boolean">true</feedback>
</script>
</post-scripts>
</scripts>
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org