Unable to create installation source – Add directories into YaST as an installation source

Posted on in Categories , , last updated December 6, 2006

Q. I have created my own patch files on the drive. How do I add all those directories into Suse Linux YaST as an installation source? I would like to install packages from YaST itself. Whenever I try to add it gives me an error:

unable to create installation source

A. Yet another Setup Tool (YaST), is an operating system setup and configuration tool that is featured in the SUSE Linux Linux distribution. It is also part of the defunct United Linux. AutoYaST allows unattended and automated installation and is based on YaST.

YaST2 is a fairly complete and competent tool for administering a SUSE Linux installation. It allows administrators to install software, configure hardware, setup networks and servers and more.

Make sure you have createrepo installed.

To make your own repositories, type the command:
# createrepo

For example if /opt/packages is your directory, type the command:
# createrepo /opt/packages

You could now add the source into the YaST installation source as a directory.

Now run yast again.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

Leave a Comment