Conflicting packages...

GyroTech gyrotech at freakinabox.com
Sat Jul 2 21:25:36 UTC 2005


Hello all,
  I've recently been trying my best to get hardware 3D acceleration with 
my ATi mobility card and have somehow really quite screwed up my packages.

  The Ubuntu wiki tells me to install xorg-driver-fglrx but when I get 
this error :-

$ sudo apt-get install xorg-driver-fglrx
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
   xorg-driver-fglrx
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/3185kB of archives.
After unpacking 10.2MB of additional disk space will be used.

Preconfiguring packages ...
(Reading database ... 87598 files and directories currently installed.)
Unpacking xorg-driver-fglrx (from 
.../xorg-driver-fglrx_6.8.0-8.8.25-0ubuntu11_i386.deb) ...
dpkg-divert: `diversion of /usr/X11R6/lib/libGL.so.1.2 to 
/usr/X11R6/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx' clashes 
with `diversion of /usr/X11R6/lib/libGL.so.1.2 to 
/usr/share/fglrx/diversions/libGL.so.1.2 by fglrx-driver'
dpkg: error processing 
/var/cache/apt/archives/xorg-driver-fglrx_6.8.0-8.8.25-0ubuntu11_i386.deb 
(--unpack):
  subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
  /var/cache/apt/archives/xorg-driver-fglrx_6.8.0-8.8.25-0ubuntu11_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

which to me looks like a conflict with the fglrx-driver package, which 
when I try to remove says :

$ sudo apt-get remove fglrx-driver
Reading package lists... Done
Building dependency tree... Done
Note, selecting xorg-driver-fglrx instead of fglrx-driver
Package xorg-driver-fglrx is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

which confused the hell out of me.
So I tried removing it with dpkg :

$ sudo dpkg -r fglrx-driver
dpkg - warning: ignoring request to remove fglrx-driver which isn't 
installed.

So, thinking it wasn't actually installed, I try to force the 
installation of the previously downloaded xorg-driver-fglrx :

$ sudo dpkg -i --force-all 
/var/cache/apt/archives/xorg-driver-fglrx_6.8.0-8.8.25-0ubuntu11_i386.deb
(Reading database ... 87598 files and directories currently installed.)
Unpacking xorg-driver-fglrx (from 
.../xorg-driver-fglrx_6.8.0-8.8.25-0ubuntu11_i386.deb) ...
dpkg-divert: `diversion of /usr/X11R6/lib/libGL.so.1.2 to 
/usr/X11R6/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx' clashes 
with `diversion of /usr/X11R6/lib/libGL.so.1.2 to 
/usr/share/fglrx/diversions/libGL.so.1.2 by fglrx-driver'
dpkg: error processing 
/var/cache/apt/archives/xorg-driver-fglrx_6.8.0-8.8.25-0ubuntu11_i386.deb 
(--install):
  subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
  /var/cache/apt/archives/xorg-driver-fglrx_6.8.0-8.8.25-0ubuntu11_i386.deb


so now I am well and truly stuck.

any help will be well and truly appreciated.

GT





More information about the ubuntu-users mailing list