Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do I confirm my yum repository was created?

583181Feb 26 2009 — edited Mar 5 2009
I am trying to determine if yum can see the repository I have created. I have done the following:

copied all rpm files from Oracle Enterprise Linux ISO images I downloaded to a directory I named RPMS

[root@localhost repo]# ls
disc1 disc2 disc3 disc4 disc5 RPMS

I have 2307 rpm files now in this dir:

[root@localhost repo]# cd RPMS
[root@localhost RPMS]# ls -l |grep rpm |wc -l
2307

I then copied the xml files from the ISO images to the RPMS directory:

[root@localhost RPMS]# ls -l |grep xml |wc -l
36

I then cd to the RPMS directory and issue the following command:

[root@localhost RPMS]# createrepo -g comps-rhel5-server-core.xml .
2307/2307 - aspell-pl-0.51-5.2.2.i386.rpm m
Saving Primary metadata
Saving file lists metadata
Saving other metadata

But then when I try to list out the repository, it's not there:

[root@localhost RPMS]# yum repolist
Loading "security" plugin

Shouldn't I see the RPMS repository listed?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2009
Added on Feb 26 2009
6 comments
1,321 views