In reply to your first post; I have no experience trying to install drivers from the ATI website, I won't be much help there. I have a XFX Radeon HD 4650 graphics card and have been able to get everything I need out of it using drivers from the Ubuntu repo's.
Originally Posted by Cyclops_
I just had this exact problem while attempting to uninstall the fglrx package. Here's what I was trying to do, and what happened:
SIDENOTE: I'm not positive what caused this problem, but I have a guess. In my case, my system crashed mid-upgrade to Maverick 10.10. I've had to do some hacking around to get everything up and running since then. I suspect that fglrx is a little out of whack due to the upgrade problems.
$ sudo apt-get remove -y --purge fglrx-modaliases fglrx xorg-driver-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 (--purge):
subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
It seems that the uninstall process is attempting to remove a package diversion, but isn't finding the diversion it's expecting to remove. To fix it, I changed the diversion to what it was "expecting" to remove. I'm sure there's a way to do this using dpkg-divert, but I decided to manually tweak the diversion myself. In order to do this you need to edit the file "/var/lib/dpkg/diversions". Back up the file, and then open it in a text editor.
Somewhere in the file you should find three consecutive lines that look like this:
# first, make a backup
sudo cp /var/lib/dpkg/diversions /var/lib/dpkg/diversions.bak
# open and edit
sudo gedit /var/lib/dpkg/diversions
Change the last line from "xorg-driver-fglrx" to "fglrx". The three lines should now look like this:
Save the file, now apt-get should be able to remove fglrx. It worked for me.