[Yum] yum list available comes up empty
Michael Schwager
mschwage at gmail.com
Wed Oct 14 15:49:06 UTC 2009
Hi,
I cannot list the packages in my repo. Can anyone help?
I have created my own repo on my machine, named chi67:
# rpm -q yum
yum-3.2.19-18.el5
# createrepo /var/www/html/fedora11-stuff
9/9 -
compat-libstdc++-296-2.96-142.i586.rpm
Saving Primary metadata
Saving file lists metadata
Saving other metadata
...seemed to be successful.
Now, on my other machine- the client- I created
/etc/yum.repos.d/fedora.repo:
[fedora11-stuff]
name=Fedora $releasever Stuff - $basearch
failovermethod=priority
baseurl=http://chi67/fedora11-stuff
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
But now I cannot list the packages that I have in the fedora11-stuff. No
error, but nothing displayed either:
# yum clean all
Cleaning up Everything
# yum repolist
fedora11-stuff
| 951 B 00:00
fedora11-stuff/primary
| 5.8 kB 00:00
fedora11-stuff
9/9
repo id repo
name status
fedora11-stuff Fedora 11 Stuff -
x86_64 enabled: 9
repolist: 9
# yum list available
# echo $?
0
Thanks.
--
-Mike Schwager
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20091014/0d891b86/attachment.htm>
More information about the Yum
mailing list