Reading package lists... Building dependency tree... Reading state information... The following packages will be REMOVED: nvidia-glx 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 25.8MB disk space will be freed. (Reading database ... 82711 files and directories currently installed.) Removing nvidia-glx ... rm: cannot remove `/usr/lib/libGL.so': No such file or directory dpkg-divert: mismatch on package when removing `diversion of /usr/lib/libGL.so.1 to /usr/lib/nvidia/libGL.so.1.xlibmesa by nvidia-glx' found `diversion of /usr/lib/libGL.so.1 to /usr/lib/nvidia/libGL.so.1.xlibmesa by nvidia-glx-177' dpkg: error processing nvidia-glx (--remove): subprocess post-removal script returned error exit status 2 Errors were encountered while processing: nvidia-glx