[lug] How to change rpm package names
Michael Hirsch
mdhirsch at gmail.com
Fri Aug 8 08:53:28 MDT 2008
On Fri, Aug 8, 2008 at 8:47 AM, Michael Hirsch <mdhirsch at gmail.com> wrote:
> On Tue, Aug 5, 2008 at 7:43 AM, Tom Tromey <tromey at redhat.com> wrote:
>>>>>>> "Michael" == Michael Hirsch <mdhirsch at gmail.com> writes:
>>
>> Michael> I thought I'd done this before, but I've lost the trick. I thought I
>> Michael> recalled an "obsolete" declaration in the spec file, but I can't find
>> Michael> anything about that anymore.
>>
>> Yeah, you can write "Obsoletes: package"
>
> Thanks Tom. I tried that. RPM built and knows that it obsoletes the
> package, but "yum update" (on CentOS 5) just complains of conflicts.
> Somehow I need to figure out how to tell yum to remove the obsolete
> package.
Sorry to reply to my own post, but it looks like I was missing
something in yum. "yum upgrade" looks like the right command.
According to the man page that is the same as "yum update --obsoletes"
which will replace obsolete package. Guess I didn't RTFM well enough.
Michael
More information about the LUG
mailing list