File conflict error message during rpm install
This information applies to the ATI Proprietary Linux Driver.
The following error message may appear while trying to install the RPM package:
file /usr/X11R6/lib/libGL.so.1.2 from install of fglrx-4.x.x-x.x.x conflicts with file from package XFree86-Mesa-libGL-4.x.x-x
This error (or similar) occurs when a third party OpenGL solution is already installed in the system. XFree86-Mesa-libGL is a common example.
The ATI Proprietary Linux Driver is meant to replace other "software only" OpenGL solutions in order to provide hardware 3D acceleration. The ATI libGL is backward compatible to the default XFree86-Mesa.
This issue can be resolved in either of two ways:
- Force the ATI driver install to overwrite existing files
- Remove the other OpenGL software BEFORE installing ATI drivers
Force the ATI driver install to overwrite existing files
We recommend using the --force rpm option to install the ATI Proprietary Linux driver as follows:
rpm -Uh --force <ati_package_name>.rpm
This will force the installer to overwrite any existing files including the conflicting libGL, which should allow the ATI driver to install properly.
If for some reason you do not wish to use the --force rpm option, then you may still work around this error message by removing the other (non-ATI) OpenGL software first, as explained below.
Remove existing OpenGL software BEFORE installing ATI drivers
Ensure that no 3D OpenGL programs are running
Remove the existing libGL installation using the following command:
rpm -e --nodeps XFree86-Mesa-libGL
(You need the --nodeps option because some screen savers, qt-3, and some parts of XFree86 might depend on libGL. Installing the ATI package afterwards will restore these dependencies.)
Reinstall the ATI Proprietary Linux driver
rpm -Uh <ati_package_name>.rpm
(you may ignore the --force option in this case, since the conflicting libGL has been removed already)
INFO-BASE#4479
|