I tried a few days ago to find a collection of 32bit libraries for ePSXe, which I need for want of any 64 bit build. Having gotten them together, and performed an rpm --import on the gpg keys from the repository in question, namely mirrors.kernel.org, trying to perform an "sudo rpm -ivh <package>.rpm" gives me this message:
Quote:
error: cannot open Packages index using db3 - Permission denied (13)
error: cannot open Packages database in /var/lib/rpm
warning: gtk+-1.2.10-69.fc12.i686.rpm: Header V3 RSA/SHA1 signature: NOKEY, key ID 57bbccba
error: cannot open Packages database in /var/lib/rpm
|
A check of /var/lib/rpm gives me this:
Quote:
Basenames __db.002 Dirnames Installtid Packages Pubkeys Sha1header
Conflictname __db.003 Filedigests Name Providename Requirename Sigmd5
__db.001 __db.004 Group Obsoletename Provideversion Requireversion Triggername
|
which are all under the SELinux context rpm_var_lib_t. I get this notice in my troubleshooter:
Quote:
node=TechComm type=AVC msg=audit(1254287073.19:16983): avc: denied { read } for pid=2623 comm="rpm" name="Replicant10k" dev=dm-10 ino=12 scontext=staff_u:staff_r:staff_sudo_t:s0-s0:c0.c1023 tcontext=staff_ubject_r:user_home_dir_t:s0 tclass=dir node=TechComm type=SYSCALL msg=audit(1254287073.19:16983): arch=c000003e syscall=2 success=yes exit=0 a0=7f4737258779 a1=90800 a2=0 a3=7f47361f6fcc items=0 ppid=2604 pid=2623 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm="rpm" exe="/bin/rpm" subj=staff_u:staff_r:staff_sudo_t:s0-s0:c0.c1023 key=(null)
|
on top of that.
and trying to install them via yum with .i586 after the package name gives me this:
Quote:
Traceback (most recent call last):
File "/usr/bin/yum", line 28, in <module>
import yummain
ImportError: No module named yummain
|
Running audit2allow hasn't helped, I've gone through two modules now trying to fix this but nothing will install. KPackageKit at least works fine.
How can I set things right? It's really bugging me.
PS Releasing any possible stale locks hasn't helped.