I thought I have to wait for new selinux-policy to be able to use apt, but no - new version didn't fix it, so here it goes: apt (from Extras) is constantly failing to dist-upgrade, leaving two installed packages of one name in the system (only for packages containing %post scripts). It looks like this: Preparing... ########################################### [100%] 1:gimp ########################################### [100%] error: %post(gimp-2.2.12-1.fc5.i386) scriptlet failed, exit status 255 W: Some errors occurred while running transaction and the relevant selinux-policy part is this: audit(1152697722.877:5): avc: denied { transition } for pid=3682 comm="apt-get" name="bash" dev=hda1 ino=1116367 scontext=user_u:system_r:unconfined_t:s0 tcontext=user_u:system_r:rpm_script_t:s0 tclass=process
If you label apt rpm_exec_t does it work? chcon -t rpm_exec_t /usr/bin/apt
Actually it's /usr/bin/apt-get or /usr/bin/apt-shell. chcon -t rpm_exec_t fixes each of them. Other programs in the apt suite can't install packages, AFAIK.
Looks fixed in selinux-policy-targeted-2.3.3-8.fc5, I'll try to close it as resolved :)