policy-sources upgrade error

Olu Akins b.akins at verizon.net
Mon Apr 26 11:36:00 UTC 2004


Ralph Angenendt wrote:

>Olu Akins wrote:
>  
>
>>I just did an upgrade and this is the error reported
>>
>>  1:policy-sources         ########################################### 
>>[100%]
>>/var/tmp/rpm-tmp.37191: line 4: syntax error near unexpected token `&&'
>>/var/tmp/rpm-tmp.37191: line 4: `   /usr/bin/selinuxenabled &&  && [ -e 
>>/selinux/policyvers ] && \'
>>error: %post(policy-sources-1.11.2-18) scriptlet failed, exit status 2
>>W: Some errors occurred while running transaction
>>    
>>
>
>rpm -q --scripts policy-sources
>
>and then just cut and paste the postinstall script line by line into
>your shell (except the exit 0), obviously omitting the double && && in
>line 4. 
>
>Sorry, no FC2T{2,3} available at the moment, otherwise I'd just paste
>the scriptlet here.
>
>Ralph
>  
>
I tried cd /etc/security/selinux/src/policy
make reload

and I get  an error
cat: /selinux/policyvers: No such file or directory
Can't open '/etc/security/selinux/policy.':  No such file or directory
make: *** [reload] Error 2

Ralph, could you explain "just cut and paste the postinstall script line 
by line into

your shell (except the exit 0)"

Thanks
Olu






More information about the fedora-test-list mailing list