Re: How to pretend an update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Renaming (and Obsolete'ing the old) is not an upgtade case because the packageis being renamed.
 
This explains a lot!
 
>    What are you trying to do?
 
Im trying an update installation even when the packagenames changed.
 
But I think this could do it:
Maybe if I install a help-package without files with the new name and a versionnumber 0
Then I install the new packe with the same name, a newer version and obsolete the old packages.
 
But it would be easyer if I could force rpm to think it is an update even if it is no update.


Von: rpm-list-bounces@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx] Im Auftrag von Jeff Johnson
Gesendet: Freitag, 22. September 2006 13:57
An: RPM Package Manager
Betreff: Re: How to pretend an update


On Sep 22, 2006, at 7:36 AM, Gordian, Martin wrote:

Soory, I should have sayed that I'm using -Uhv but rpm does not give this information into the %pre %post scripts ($1).
 
So -Uhv does not work it out.
 


The 1st argument to the script is used to detect whether installing or upgrading.
E.g. in %pst $1 >1 if upgrading, $1 == 1 if installing.

Renaming (and Obsolete'ing the old) is not an upgtade case because the package
is being renamed.

What are you trying to do?

73 de Jeff

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux