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 ... -- package fglrx 2:8.723.1-0ubuntu2 failed to install/upgrade: subprocess installed post-removal script returned error exit status 2 https://bugs.launchpad.net/bugs/566437 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs