Hi all, I have installed a software using "yum install ...", but the version of rpm in centos is too old. I have made a new rpm from source, and now I'd like to use this to replace the old version rpm in centos cd. So, When I install centos for my computer, I can choose to install it automaticly. In my guess, I have to replace the rpm at first. After that, I need to edit something such as dependencies. Who can tell me how? Thanks a lot.
Best Wishes! Qiang Ma
On Wed, Jul 7, 2010 at 10:13 AM, ma qiang maqiang1984@gmail.com wrote:
Hi all, I have installed a software using "yum install ...", but the version of rpm in centos is too old. I have made a new rpm from source, and now I'd like to use this to replace the old version rpm in centos cd. So, When I install centos for my computer, I can choose to install it automaticly. In my guess, I have to replace the rpm at first. After that, I need to edit something such as dependencies. Who can tell me how? Thanks a lot.
Best Wishes! Qiang Ma _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
changing the rpm package won't be so easy. i would suggest that you first try to use the rpm from rpmforge. maybe this version is new enough for you. if not try finding some other repo.
If you still need a newer package, try first to install your version on a fresh install on centos and solve the dependencies. Make notes on what you changed and then replace all the rpms you changed on the install cd. or you can make your own yum repo and install the packages from the repo after the install using yum update.
Thanks a lot for your reply. But I have a problem. I have update source and rebuild a rpm. I have many computers in my school need to install this rpm. So I want to replace the new rpm in centos, and build a new centos. and then I can install the rpm using kickstart automaticly. :) .
On Wed, Jul 7, 2010 at 4:28 PM, Janez Kosmrlj postnalista@googlemail.com wrote:
On Wed, Jul 7, 2010 at 10:13 AM, ma qiang maqiang1984@gmail.com wrote:
Hi all, I have installed a software using "yum install ...", but the version of rpm in centos is too old. I have made a new rpm from source, and now I'd like to use this to replace the old version rpm in centos cd. So, When I install centos for my computer, I can choose to install it automaticly. In my guess, I have to replace the rpm at first. After that, I need to edit something such as dependencies. Who can tell me how? Thanks a lot.
Best Wishes! Qiang Ma _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
changing the rpm package won't be so easy. i would suggest that you first try to use the rpm from rpmforge. maybe this version is new enough for you. if not try finding some other repo.
If you still need a newer package, try first to install your version on a fresh install on centos and solve the dependencies. Make notes on what you changed and then replace all the rpms you changed on the install cd. or you can make your own yum repo and install the packages from the repo after the install using yum update.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Put it in an "local" repo and install it with yum in the %post section of the kickstart. This will be exactly the same as installing with yum after an install, so you can test it outside of kickstart.
On Wed, 7 Jul 2010, ma qiang wrote:
Thanks a lot for your reply. But I have a problem. I have update source and rebuild a rpm. I have many computers in my school need to install this rpm. So I want to replace the new rpm in centos, and build a new centos. and then I can install the rpm using kickstart automaticly. :) .
---------------------------------------------------------------------- Jim Wildman, CISSP, RHCE jim@rossberry.com http://www.rossberry.com "Society in every state is a blessing, but Government, even in its best state, is a necessary evil; in its worst state, an intolerable one." Thomas Paine