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