Overview

Request 831052 accepted

No description set
Loading...

Dominique Leuenberger's avatar

That can hardly solve the issue:

this 'fixed' %postun script will only ever run when THIS package has been installed and is then removed (explicitliy or upgrade)

until then, %postun script of the previously installed man package will run

so essentially, this does not what you expect it to do


Dominique Leuenberger's avatar

The move of it to postun is nevertheless correct of course - just it won't address the issue seen by upgraders during the libexecdir move


Antoine Belvire's avatar

Hi @dimstar, you're correct that the added %postun section itself does not fix the bug. It is for preventing it if/when we change the alternative path again in the future.

To actually fix the bug, the existing %post section suffices now. Indeed update-alternatives --install … cleans non-existing paths. Same reason why forcing re-installation of the package fixes the issue.

(%post didn't suffice on the update that changed the path because %post of new package is executed before old package removal: So old path still existed at that time.)

So to sum up: Any update on this package would fix the bug… Let's just prevent it from happening in the future ;-)


Antoine Belvire's avatar

I still disagree… This specific approach doesn't bring anything but complexity imho, compared with generic approach from guidelines.

Request History
Dr. Werner Fink's avatar

WernerFink created request


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Richard Brown's avatar

RBrownSUSE set openSUSE:Factory:Staging:B as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:B"


Richard Brown's avatar

RBrownSUSE accepted review

Picked "openSUSE:Factory:Staging:B"


Dominique Leuenberger's avatar

dimstar accepted review


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:B got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:B got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:B got accepted.

openSUSE Build Service is sponsored by