Re: [Nautilus-list] Red Hat Update Agent



Okay, so here's the deal, because it has come up a lot on the Red Carpet
mailing list too:

RPM 4.0.2 introduced an incompatible change to the way the headers are
ordered in the RPM database. I would consider this a bug in 4.0.2, as
breaking db compatibility in a micro-version release is wrong, but we've
tried to convince the RPM maintainers to no success.

Anyway, applications linked against the stock RPM 4.0 library, cannot
handle this change and crash. This includes Red Carpet (for RPM 4
systems) versions 0.9 and 0.9.1 as well as the command-line rpm tool that
comes with Red Hat 7. Red Carpet 0.9.2 isn't affected because we have
patched our version of rpmlib to work on both 4.0 and 4.0.2 systems.

Anyway, so Nautilus links against 4.0.2, which does this on-disk
change. Fortunately, their installer installs 4.0.2 for you. So the key
thing to remember here is do not Do Not DO NOT revert 4.0.2 to 4.0 or
you'll have to get something that works with 4.0.2 (the rpm binary off a
4.0.2 system, or RC 0.9.2 if it's installed, or rpm2cpio the rpm 4.0.2
package and unarchive the binary).

As for the rpm-python stuff, I would highly doubt that rpm-4.0.2 and
python-rpm-4.0 would work; it seems that the symbol problems you are
getting are a result of API changes between 4.0 and 4.0.2 (but I am not
sure). The actual, official release of 4.0.2 was yesterday, so I would
suggest picking up the rpm-4.0.2 and rpm-python-4.0.2 packages from
rpm.org. That'll probably fix the problem.

Joe






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]