[Fedora-packaging] Error in PREUN scriptlet in rpm package.
Chuck Anderson
cra at WPI.EDU
Sun Jan 22 14:51:29 UTC 2012
On Sun, Jan 22, 2012 at 09:15:49AM +0000, "Jóhann B. Guðmundsson" wrote:
> On 01/21/2012 01:06 PM, "Jóhann B. Guðmundsson" 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.
More information about the packaging
mailing list