I’m trying to get an autoyast setup working with SLES 15. I’ve generated an autoinst.xml from a manual install of SLES 15, but I cannot seem to use it to automatically install SLES 15. The automated install begins but during the “Configure software selections” step, I get the error:
These packages cannot be found in the software repositories:
autoyast2: The package is not available
autoyast2-installation: The package is not available
This then prevents the auto-installer from proceeding to stage2 where I need a few additional packages installed (kernel-devel, gcc, make, etc).
I’ve tried this by also enabling my SLES 15 beta registration code in the autoinst.xml file, but with the same results. I’ve included a sanitized autoinst.xml file below - what am I doing wrong here?
I’m trying to get an autoyast setup working with SLES 15. I’ve generated
an autoinst.xml from a manual install of SLES 15, but I cannot seem to
use it to automatically install SLES 15. The automated install begins
but during the “Configure software selections” step, I get the error:
Code:
These packages cannot be found in the software repositories:
autoyast2: The package is not available
autoyast2-installation: The package is not available
This then prevents the auto-installer from proceeding to stage2 where I
need a few additional packages installed (kernel-devel, gcc, make,
etc).
I’ve tried this by also enabling my SLES 15 beta registration code in
the autoinst.xml file, but with the same results. I’ve included a
sanitized autoinst.xml file below - what am I doing wrong here?[/color]
@sgarman, i faced the same issue when i tried SLES 15 installation through Network boot. Just adding the solution here so that it might help others.
Difference between SLES 12 and SLES 15 helped me in sorting out the issue. I had extracted the contents of SLES15 Packages DVD to a location which can be accessed through http and refered them in the autoinst.xml file as “add-on”.
I am getting same errors after adding the add on packages.
I extracted the contents of Module-Basesystem/x86_64 to a location which can be accessed through http and refered them in the autoinst.xml file as “add-on”.
to get an idea of what is happening here, I’d recommend to take a look at the access log of that web server you set up.
If you see the requests from the installing machine, networking should be fine. If you see no requests from the newly installed system, then maybe your networking setup is insufficient (I’m thinking of “using DNS name in the URL, but have no DNS setup available during install” and similar issues).
When you see the requests coming in to the web server, you ought to get an idea of where the installer is looking for files - and if these files are actually served by your web server. If you see 404s for RPMs or crucial meta data files, you could double-check if your setup in the AutoYaST matches the setup of your web server, and adjust accordingly.
Do you see requests for the missing RPMs coming in at the web server? How’s it being responded to and if those responses are 404s, do you actually have the RPM file(s) available at the server, but at a different location?
[I]The packages autoyast2 and autoyast2-installation have to be installed to run the second stage in the installed system correctly. Otherwise an error will be shown before booting into the installed system.
The second stage can be turned off with the second_stage parameter:
[/I]