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



Le mardi 10 janvier 2006 à 11:23 -0500, Rodney Dawes a écrit :
> 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.

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

> I'm not sure what the best method for dpkg or other systems would be
> though. Hopefully less nasty.

With dpkg, this doesn't exist. The schemas are all unregistered in the
prerm script, which is run before the upgrade.

Regards,
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin mouette ens-lyon org
`. `'                        joss debian org
  `-  Debian GNU/Linux -- The power of freedom

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



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