[Rpm-maint] question

Michael Schroeder mls at suse.de
Wed Aug 28 08:25:06 UTC 2013

On Wed, Aug 28, 2013 at 09:17:37AM +0300, Panu Matilainen wrote:
> Ultimately the scriptlets are just bits on the disk... but in case of rpm, 
> they're buried inside checksummed and usually also digitally signed data 
> blobs within a Berkeley DB database, intentionally making it very hard to 
> do such hacks.
> So the practical answer is no, its not possible.

That reminds me of my old "updatescripts" idea, i.e. a new scriptlet
type "preupdate/postupdate" that gets called if there's an old version
of the package installed. In that case, the preun/postun scriptlets
of the old package would not be executed.

Is there still interest in that feature?


Michael Schroeder                                   mls at suse.de
SUSE LINUX Products GmbH,  GF Jeff Hawn, HRB 16746 AG Nuernberg

More information about the Rpm-maint mailing list