Red HatThis forum is for the discussion of Red Hat Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
We have a local repository, and I recently used rpmbuild -bb to build an rpm. I copied it over to the RPMS subdir where all the other rpms are, but it doesn't show up when I do a 'yum update pkgname' on a server. Do I have to somehow tell the repository that I put some new rpms there? Is there a tool to do this, or do I just vi a file and add the rpm names?
We already have a local directory with rpms, and it's already in our yum configuration so that when we do a 'yum update|install $pkgname' it will look in this repository. The issue I'm having is that I copied an rpm into that directory, and yum doesn't seem to know that. When I try 'yum update $pkgname', it says that I already have the latest version(the rpm I build is a newer version).
I could conceivable run rpm -Uvh /path/to/$pkgname, but that kinda get's troublesome with dependencies and all, and we've established that we want to use yum for this.