Mailinglist Archive: opensuse-autoinstall (46 mails)

< Previous Next >
[opensuse-autoinstall] Error: Failed to add add-on product
  • From: "Razi Khaja" <razi.khaja@xxxxxxxxx>
  • Date: Mon, 19 Nov 2007 14:06:02 -0500
  • Message-id: <62e9dabc0711191106q64b943c0t2fc4397ccca91b6b@xxxxxxxxxxxxxx>
Im tring to create a virtual machine using Xen in openSUSE 10.3 using
the Xen Virtual Machine Manager in Yast. In creating the virtual
machine, I specify the location of the 10.3 (32 bit) iso and the
location of the autoyast profile in the appropriate text boxes.

In my autoyast profile, I specify the add-on repositories I would like
to add. Below are portions of the autoyast xml profile.
After the autoyast installer runs, and the virtual machine boots, I
look in Yast2->Software->Software Repositories to find that the add-on
repositories have not been added.

Without the <signature-handling> stanza inside of <add_on_products>,
no error dialog is produced during, but after installation finishes,
the repositories are not available.
With the <signature-handling> stanza inside of <add_on_products> an
error dialog appears saying "Error: Failed to add add-on product".

I have read section "4.5.4. Installing additional and customized
Packages" in the autoyast documentation at:
http://forgeftp.novell.com/yast/doc/SL10.3/autoinstall/CreateProfile.Software.html#id345730
and believe that I am following the instructions correctly.

Is there something clearly wrong with my profile? How can I fix it so
that my add-on repositories are available once the installation is
complete?

<?xml version="1.0"?>
<!DOCTYPE profile>
<profile xmlns="http://www.suse.com/1.0/yast2ns";
xmlns:config="http://www.suse.com/1.0/configns";>
<add-on>
<add_on_products config:type="list">
<listentry>

<media_url>http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_10.3/</media_url>
<product>Build Service Repository</product>
<product_dir>/</product_dir>
</listentry>
<listentry>

<media_url>http://download.opensuse.org/repositories/ruby/openSUSE_10.3/</media_url>
<product>Ruby Repository</product>
<product_dir>/</product_dir>
</listentry>
<signature-handling>
<accept_file_without_checksum
config:type="boolean">true</accept_file_without_checksum>
<accept_non_trusted_gpg_key
config:type="boolean">true</accept_non_trusted_gpg_key>
<accept_unknown_gpg_key
config:type="boolean">true</accept_unknown_gpg_key>
<accept_unsigned_file config:type="boolean">true</accept_unsigned_file>
<accept_verification_failed
config:type="boolean">true</accept_verification_failed>
<import_gpg_key config:type="boolean">true</import_gpg_key>
</signature-handling>
</add_on_products>
</add-on>
..... some xml ...
<general>
..... some xml ...
<signature-handling>
<accept_file_without_checksum
config:type="boolean">true</accept_file_without_checksum>
<accept_non_trusted_gpg_key
config:type="boolean">true</accept_non_trusted_gpg_key>
<accept_unknown_gpg_key
config:type="boolean">true</accept_unknown_gpg_key>
<accept_unsigned_file config:type="boolean">true</accept_unsigned_file>
<accept_verification_failed
config:type="boolean">true</accept_verification_failed>
<import_gpg_key config:type="boolean">true</import_gpg_key>
</signature-handling>
</general>
..... more xml ...
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages