Gentoo Advisory: Upgrade to expat2 breaks system

drasnordrasnor Starship OperatorHawthorne, CA Icrontian
edited August 2007 in Nerdery
Gentoo users running GNOME will probably encounter trouble when upgrading to the latest version due to a major revision change in expat (from 1.95.8 to 2.0.1).

The procedure for upgrading that works for me is as follows:
1. emerge -uav world and note any blocked packages.
2. unmerge the blocked packages (don't worry, the updated versions will be installed later since they're GNOME core dependencies.)
3. emerge -uav world, check your USE flags and verify that the new versions of the blockers you just unmerged are in the list.
4. When you encounter a build error (for me a config error regarding XML_Parser) run revdep-rebuild. Revdep-rebuild will churn through a couple of packages and then fail. Run rm /root/.revdep-rebuild*.?_*
Repeat 3 & 4 until system update finishes and revdep-rebuild reports no broken packages.

-drasnor :fold:
Sign In or Register to comment.