I am trying to remove fglrx-driver as part of an upgrade from wheezy to jessie. Running apt-get dist-upgrade failed with the following message:
fglrx-driver ... dpkg: error processing fglrx-driver (--remove): subprocess installed post-removal script returned error exit status 20 Errors were encountered while processing: fglrx-driver E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried running sudo apt-get remove fglrx* but got the same message. How do I get around this? Do I need to somehow "unload" the driver? If so, how?