Hi Dave, thx for your answer.
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
this is for the second alternative on https://en.opensuse.org/SDB:Creating_YaST_installation_sources, isn't it? But I tried to accomplish alternative 3.
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"
I tried this alternative, too - and it worked as a charme :) Thx a lot!
Regards Dave P
Bye. Michael. -- Michael Hirmke -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org