Red Hat Bugzilla – Bug 174692
fonts-xorg-* can't be uninstalled after new xorg-x11 packages installed
Last modified: 2013-01-10 08:56:14 EST
The post-uninstall scripts in the old fonts-xorg-* packages
call /usr/X11R6/bin/mkfontdir, which no longer exists after the new xorg-x11
packages have been installed. This means that the uninstallation fails, i.e.,
there's no way short of running "rpm -e --force fonts-xorg-<whatever>" to get
rid of these packages.
I think the only way to do this upgrade cleanly is to include
a /usr/X11R6/bin/mkfontdir symlinnk in the new xorg-x11 packages, pointing at
the new location of mkfontdir, and then to remove this symlink in a subsequent
upgrade somewhere down the line.
Yeah, I can't think of another foolproof way to handle this other than
a symlink. Kindof an unfortunate situation to say the least. Even if
we do put in a symlink, I'm not totally sure that it will solve the
problem, depending on package installation ordering.
I think we'll end up putting the symlink in anyway however, perhaps for
backward compatibility for a few releases or something.
* Fri Feb 17 2006 Mike A. Harris <email@example.com> 1:1.0.1-2
- Added with_X11R6_compat macro to conditionalize inclusion of mkfontdir and
mkfontscale symlinks in the old X11R6 locations, pointing to the X11R7
binaries. This will provide backward compatibilty for Fedora Core 5, however
3rd party developers and rpm package maintainers should update to using the
new X11R7 locations immediately, as these compatibility links are temporary,
and will be removed from a future OS release.
- Remove system directories from file manifest to appease the banshees.
Fix committed to CVS and built in dist-fc5-HEAD. Currently awaiting
RELENG approval to be moved to dist-fc5.
Approved and in rawhide now.