[opensuse-factory] create own yast2/zypper repository
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. -- Michael Hirmke -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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
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
Torsdag den 10. november 2016 17:03:00 skrev Michael Hirmke:
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?
For what it's worth, I create repos using alternative 2 (repomd repos with 'createrepo'). And it's a breeze. But of course it might be desirable to have up-to-date documentation for creating yast2 repos too. Never tried creating one myself. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi Martin,
Torsdag den 10. november 2016 17:03:00 skrev Michael Hirmke:
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?
For what it's worth, I create repos using alternative 2 (repomd repos with 'createrepo'). And it's a breeze.
it is indeed :) I tried it and it worked oob. I'll stay with this alternative.
But of course it might be desirable to have up-to-date documentation for creating yast2 repos too. Never tried creating one myself.
I'd be curious on a solution for this alternative, but at the moment alternative 2 is really sufficient. Thx for your answer. Bye. Michael. -- Michael Hirmke -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Dave Plater
-
Martin Schlander
-
mh@mike.franken.de