I'm trying to remove package nvidia-304 from my system (Ubuntu 14.04) but I'm getting this error:Do you want to continue? [Y/n] y(Reading database ... 283298 files and directories currently installed.)Removing nvidia-304 (304.117-0ubuntu1) ...Removing all DKMS ModulesError! There are no instances of module: nvidia-304304.117 located in the DKMS tree.Done.update-alternatives: using /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto modeupdate-alternatives: using /usr/lib/i386-linux-gnu/mesa/ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto modeINFO:Disable nvidia-304DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitudeDEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpadDEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_hereTraceback (most recent call last):  File /usr/bin/quirks-handler, line 65, in <module>    operation_status = main(options)  File /usr/bin/quirks-handler, line 48, in main    quirks = Quirks.quirkapplier.QuirkChecker(options.package_disable, path=quirks_path)  File /usr/lib/python3/dist-packages/Quirks/quirkapplier.py, line 38, in __init__    self._system_info = self.get_system_info()  File /usr/lib/python3/dist-packages/Quirks/quirkapplier.py, line 64, in get_system_info    return quirk_info.get_dmi_info()  File /usr/lib/python3/dist-packages/Quirks/quirkinfo.py, line 46, in get_dmi_info    'class', 'dmi', 'id', item)).read().strip()  File /usr/lib/python3.4/codecs.py, line 313, in decode    (result, consumed) = self._buffer_decode(data, self.errors, final)UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start bytedpkg: error processing package nvidia-304 (--purge): subprocess installed pre-removal script returned error exit status 1Processing triggers for libc-bin (2.19-0ubuntu6.3) ...Errors were encountered while processing: nvidia-304E: Sub-process /usr/bin/dpkg returned an error code (1)I want to remove it becauseit's not usedattempting to install fslint fails due to nvidia-304 package not being fully configuredAll problems only started after upgrading from version 13.10 to 14.04 LTS.How can I fix this issue?
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte error when attempting to remove nvidia-304 package
package management;nvidia;dpkg