Red Hat Bugzilla – Bug 455021
tor-lsb installation fails on x86_64
Last modified: 2008-07-20 07:55:05 EDT
Description of problem:
When installing the below version using apt-get the installation fails with the
/var/tmp/rpm-tmp.20506: line 1: /usr/lib/lsb/install_initd: No such file or
error: %post(tor-lsb-0.1.2.19-1.fc9.x86_64) scriptlet failed, exit status 127
Also this happens when removing it too.
Version-Release number of selected component (if applicable):
Just install the tor package and the error above will appear or you can remove
it too and will happen.
Steps to Reproduce:
I guessed it should be a problem with the spec file in the post and preun
sections which does not account for x86_64 platforms where the lsb scripts are
under /usr/lib64 not /usr/lib of i38t6 platforms. So I did download the SRPM and
modified the spec file and attached a patch that fixes this problem.
Created attachment 311586 [details]
libdir fix for x86_64 platforms
*** This bug has been marked as a duplicate of 375361 ***