[CentOS] how to use my rpm to replace default old version rpm in centos?

Wed Jul 7 08:37:05 UTC 2010
ma qiang <maqiang1984 at gmail.com>

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 at googlemail.com> wrote:
>
> On Wed, Jul 7, 2010 at 10:13 AM, ma qiang <maqiang1984 at 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 at 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 at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>