On 10/11/2016 18:03, Michael Hirmke wrote:
Hi,
I tried to create my own repository for zypper and/or Yast2 following the description on https://en.opensuse.org/SDB:Creating_YaST_installation_sources (third alternative). I can add the newly created repo using "zypper ar" or "Yast2 repositories", but when trying to install software via zypper from it, no package is found. Yast2 gives an error when leaving the repository module, that it can't update metadata somewhere. I guess, the above mentioned description is a bit outdated and misses some steps. Is there a newer description somewhere or can anyone tell me, what I have to do besides the steps from the description?
TIA.
Bye. Michael. You need to install createrepo if you haven't already and the run "createrepo pathtorepository". Don't forget zypper ref repsitory_name as well. An example I have a repository called rpms which points to my RPM directory which rpmbuild places built rpms into. After building a new package I run "createrepo RPM && zypper ref rpms" Regards Dave P -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org