Re: GConf --makefile-uninstall-rule is incompatible with packaging systems



On Tue, 2006-01-10 at 20:59 +0100, Josselin Mouette wrote:
> Le mardi 10 janvier 2006 �1:23 -0500, Rodney Dawes a �it :
> > According to the RPM documentation, the way to handle this currently,
> > is unfortunately, to do the --makefile-uninstall-rule in the %pre of
> > the new package, if it's an upgrade, or in the %preun of the package,
> > in the event of straight package removal.
> 
> This looks fragile, as you have to keep track of all previous versions
> of the packages to handle upgrades.

I'm not sure this is true, but I am not totally certain it isn't. I
would hope that there is some way to check if an upgrade or simple
removal is happening.

> For the record, what is the reason why rpm doesn't run the pre-removal
> script before upgrading ?

I don't know. I didn't write it. Although, if you find the answer, it
would be great to know why it is so nasty.

-- dobey





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