Re: yum list available comes up empty

Seth Vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>

On Wed, 14 Oct 2009, Michael Schwager wrote:

> 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
>

is it possible all of the pkgs in your fedora11-stuff pkgs are installed 
locally?

If so then the pkgs are NOT available.

they are installed.

-sv

_______________________________________________
Yum mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.