Comment 2 for bug 566437

Revision history for this message
Luca Ferretti (elle.uca) wrote : Re: package fglrx 2:8.723.1-0ubuntu2 failed to install/upgrade: subprocess installed post-removal script returned error exit status 2

I had the similar issue trying to remove the fglrx driver after the upgrate from 9.10 to 10.04 RC.

fglrx was installed in 9.10 (from ubuntu repo, of course), I've performed the upgrade, then I've tried to remove fglrx using jockey utility.

Trying to remove the package from command line, I've

Removing fglrx ...
dpkg-divert: mismatch on package
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by fglrx'
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx'
dpkg: error processing fglrx (--remove):
 subprocess installed post-removal script returned error exit status 2
Processing triggers for ureadahead ...