On 5/23/07, Jeff Johnson <[EMAIL PROTECTED]> wrote: > On May 23, 2007, at 9:21 AM, Patryk Zawadzki wrote: > What is in /usr/lib/rpm/?
I don't think that's related. All files are intact and /var/lib/rpm seems fine too. > Check your rpm installation with > rpm -V rpm [EMAIL PROTECTED] ~]$ rpm -V rpm [EMAIL PROTECTED] ~]$ rpm -q rpm rpm-4.4.8-0.4.i686 [EMAIL PROTECTED] ~]$ What I discovered after a little while of digging into python-rpm API (comes from ipython): In [1]: import rpm error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory. In [2]: ts = rpm.TransactionSet() In [3]: db = ts.openDB() error: cannot open Packages database in /var/lib/rpm So it seems that python bindings are not up-to-date (first error is related to a file that is no longer part of rpm) and doing something weird (the second error). Help appreciated. -- Patryk Zawadzki Generated Content _______________________________________________ pld-devel-en mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
