Hide Forgot
Description of problem: While updating the selinux packages the following error is thrown: Updating : selinux-policy-3.10.0-69.fc16.noarch 3/12 /usr/share/selinux/devel/include/system/libraries.if: Syntax error on line 55875 ~ [type=TILDE] /usr/share/selinux/devel/include/system/libraries.if: Syntax error on line 55877 ~ [type=TILDE] Version-Release number of selected component (if applicable): selinux-policy-3.10.0-69.fc16.noarch How reproducible: presumably always when updating to version 3.10.0-69 (or when updating from version 0:3.10.0-55.fc16) Steps to Reproduce: [m8ram@latitude ~]$ sudo yum update selinux\* Loaded plugins: langpacks, presto, refresh-packagekit Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package selinux-policy.noarch 0:3.10.0-55.fc16 will be updated ---> Package selinux-policy.noarch 0:3.10.0-69.fc16 will be an update --> Processing Dependency: policycoreutils >= 2.1.4-10 for package: selinux-policy-3.10.0-69.fc16.noarch --> Processing Dependency: checkpolicy >= 2.1.6-2 for package: selinux-policy-3.10.0-69.fc16.noarch ---> Package selinux-policy-targeted.noarch 0:3.10.0-55.fc16 will be updated ---> Package selinux-policy-targeted.noarch 0:3.10.0-69.fc16 will be an update --> Running transaction check ---> Package checkpolicy.x86_64 0:2.1.3-1.2.fc16 will be updated ---> Package checkpolicy.x86_64 0:2.1.6-2.fc16 will be an update ---> Package policycoreutils.x86_64 0:2.1.4-6.fc16 will be updated --> Processing Dependency: policycoreutils = 2.1.4-6.fc16 for package: policycoreutils-python-2.1.4-6.fc16.x86_64 ---> Package policycoreutils.x86_64 0:2.1.4-12.fc16 will be an update --> Running transaction check ---> Package policycoreutils-python.x86_64 0:2.1.4-6.fc16 will be updated --> Processing Dependency: policycoreutils-python = 2.1.4-6.fc16 for package: policycoreutils-sandbox-2.1.4-6.fc16.x86_64 ---> Package policycoreutils-python.x86_64 0:2.1.4-12.fc16 will be an update --> Running transaction check ---> Package policycoreutils-sandbox.x86_64 0:2.1.4-6.fc16 will be updated ---> Package policycoreutils-sandbox.x86_64 0:2.1.4-12.fc16 will be an update --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================= Updating: selinux-policy noarch 3.10.0-69.fc16 updates 803 k selinux-policy-targeted noarch 3.10.0-69.fc16 updates 3.5 M Updating for dependencies: checkpolicy x86_64 2.1.6-2.fc16 updates 206 k policycoreutils x86_64 2.1.4-12.fc16 updates 636 k policycoreutils-python x86_64 2.1.4-12.fc16 updates 344 k policycoreutils-sandbox x86_64 2.1.4-12.fc16 updates 117 k Transaction Summary ============================================================================================================================================================= Upgrade 6 Packages Total download size: 5.5 M Is this ok [y/N]: y Downloading Packages: Setting up and reading Presto delta metadata Processing delta metadata Package(s) data still to download: 5.5 M (1/6): checkpolicy-2.1.6-2.fc16.x86_64.rpm | 206 kB 00:00 (2/6): policycoreutils-2.1.4-12.fc16.x86_64.rpm | 636 kB 00:00 (3/6): policycoreutils-python-2.1.4-12.fc16.x86_64.rpm | 344 kB 00:00 (4/6): policycoreutils-sandbox-2.1.4-12.fc16.x86_64.rpm | 117 kB 00:00 (5/6): selinux-policy-3.10.0-69.fc16.noarch.rpm | 803 kB 00:00 (6/6): selinux-policy-targeted-3.10.0-69.fc16.noarch.rpm | 3.5 MB 00:02 ------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 1.3 MB/s | 5.5 MB 00:04 Running Transaction Check Running Transaction Test Transaction Test Succeeded Running Transaction Updating : checkpolicy-2.1.6-2.fc16.x86_64 1/12 Updating : policycoreutils-2.1.4-12.fc16.x86_64 2/12 Updating : selinux-policy-3.10.0-69.fc16.noarch 3/12 /usr/share/selinux/devel/include/system/libraries.if: Syntax error on line 55875 ~ [type=TILDE] /usr/share/selinux/devel/include/system/libraries.if: Syntax error on line 55877 ~ [type=TILDE] Updating : policycoreutils-python-2.1.4-12.fc16.x86_64 4/12 Updating : policycoreutils-sandbox-2.1.4-12.fc16.x86_64 5/12 Updating : selinux-policy-targeted-3.10.0-69.fc16.noarch 6/12 Cleanup : selinux-policy-targeted-3.10.0-55.fc16.noarch 7/12 Cleanup : selinux-policy-3.10.0-55.fc16.noarch 8/12 Cleanup : policycoreutils-sandbox-2.1.4-6.fc16.x86_64 9/12 Cleanup : policycoreutils-python-2.1.4-6.fc16.x86_64 10/12 Cleanup : policycoreutils-2.1.4-6.fc16.x86_64 11/12 Cleanup : checkpolicy-2.1.3-1.2.fc16.x86_64 12/12 Updated: selinux-policy.noarch 0:3.10.0-69.fc16 selinux-policy-targeted.noarch 0:3.10.0-69.fc16 Dependency Updated: checkpolicy.x86_64 0:2.1.6-2.fc16 policycoreutils.x86_64 0:2.1.4-12.fc16 policycoreutils-python.x86_64 0:2.1.4-12.fc16 policycoreutils-sandbox.x86_64 0:2.1.4-12.fc16 Complete! Actual results: see output above Expected results: no errors during upgrades
Please fully update your system including latest libsepol, policycoreutils and I think this problem will go away.