Re: [Mageia-dev] how to upgrade a package with %_preun_service ?

2012-08-27 Thread EatDirt

On 26/08/12 22:53, Thierry Vignaud wrote:


look for %triggerpostun or %posttrans



Fantastic! You saved me!!

Cheers.



Re: [Mageia-dev] how to upgrade a package with %_preun_service ?

2012-08-26 Thread Thierry Vignaud
On 26 August 2012 19:07, eatdirt  wrote:
> Hi there,
> package A is on mga2 and run at uninstall
> %_preun_service myserv
>
> package B (different name) obsoletes package A and at install run
> %_post_service myserv
>
> same name for "myserv".
>
> When I run this, the old package %preun section remove the new service
> installed by package B. Any idea how to fix this?

look for %triggerpostun or %posttrans


[Mageia-dev] how to upgrade a package with %_preun_service ?

2012-08-26 Thread eatdirt

Hi there,
package A is on mga2 and run at uninstall
%_preun_service myserv

package B (different name) obsoletes package A and at install run
%_post_service myserv

same name for "myserv".

When I run this, the old package %preun section remove the new service 
installed by package B. Any idea how to fix this?


Thanks,
Chris.