Sridhar
Sridhar

Reputation: 813

how to generate metadata for RPM repository in Artifactory

We generate RPMs in the process of our daily development and we these RPMs will be deployed into production environment.

All these RPMs will be stored in a local yum repository and we just use "yum install package" to install any RPMs.

We want to use either Artifactory or Nexus (only OSS versions) to manage our packages as both can be used as YUM repositories and we are trying to evaluate both of them first.

I have installed Artifactory OSS version first to evaluate.

But, when I try to install that RPM using yum install I am getting below error

http://artifactory-server:8080/artifactory/testrepo/repodata/primary.xml.gz: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: failure: repodata/primary.xml.gz from artifactory: [Errno 256] No more mirrors to try.

I did understand the error, it was looking for metadata in that repository and its not present.

I did see an option of creating meta data automatically but, that seems to be only for PRO version.

That means can't we use Artifactory OSS as a yum repository? I think there should be a way to use it as YUM repo at least with basic features. I think I am missing something here.

My questions:

  1. Can't we generate metadata automatically with Artifactory OSS version? Can any one please let me know how to use Artifactory OSS version as a YUM repo ?
  2. Which one is better for my requirement Artifactory/Nexus (open source versions)

Upvotes: 0

Views: 3818

Answers (3)

Joseph Stephens
Joseph Stephens

Reputation: 81

For anyone else who find this post - YUM is now supported natively in Nexus Repository Manager 3 OSS for free.

Upvotes: 4

Larry Cai
Larry Cai

Reputation: 59953

For opensource version, you have to use nexus oss, which YUM plugin is provided.

So far, YUM repository is supported in Artifactory Pro verion only.

Upvotes: 1

E.T
E.T

Reputation: 61

YUM repositories support exist only in Artifactory Pro.

Upvotes: 1

Related Questions