Error in PREUN scriptlet in rpm package.
On Sun, Jan 22, 2012 at 09:15:49AM +0000, "Jˇhann B. Gumundsson" wrote:
> On 01/21/2012 01:06 PM, "Jˇhann B. Gumundsson" wrote:
>> When updating a package I came across this "Error in PREUN scriptlet
>> in rpm package".
>> Now further inspection revealed that there was a misplaced semicolon
>> in %preun section of the relevant spec file.
>> Easily fixable but what is the proper procedure to fix this via update
>> without having the user having to go to a terminal and run rpm -e
>> --noscripts $oldpackage to remove the old package?
> Given the lack of response I assume that there is no proper way to
> handle this other than forcing users of the particular component to
> manually remove the relevant package after that update has been pushed.
You might be able to use a trigger or posttrans to fix it.
packaging mailing list