Bug 174692 - fonts-xorg-* can't be uninstalled after new xorg-x11 packages installed
Summary: fonts-xorg-* can't be uninstalled after new xorg-x11 packages installed
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-font-utils
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact:
Depends On:
Blocks: FC5Blocker
TreeView+ depends on / blocked
Reported: 2005-12-01 14:57 UTC by Jonathan Kamens
Modified: 2013-01-10 13:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-02-21 21:26:38 UTC
Type: ---

Attachments (Terms of Use)

Description Jonathan Kamens 2005-12-01 14:57:17 UTC
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.

Comment 1 Mike A. Harris 2006-02-01 01:37:07 UTC
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.

Comment 2 Mike A. Harris 2006-02-21 11:01:06 UTC
* Fri Feb 17 2006 Mike A. Harris <mharris@redhat.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.

Comment 3 Mike A. Harris 2006-02-21 21:26:38 UTC
Approved and in rawhide now.

Note You need to log in before you can comment on or make changes to this bug.