I get the following error, I had the package installed as a dependency for other package, then I tried to autoremove it and purge it with apt but I get this error:
pa...@pablo-laptop:~$ sudo apt-get autoremove --purge Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: ttf-liberation The following packages will be REMOVED: ttf-liberation* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 1733kB disk space will be freed. Do you want to continue [Y/n]? Y (Reading database ... 177807 files and directories currently installed.) Removing ttf-liberation ... W: /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Bold.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Regular.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-BoldItalic.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Italic.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Bold.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationSans-BoldItalic.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Italic.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Italic.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationMono-BoldItalic.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Bold.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Regular.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Regular.ttf: not registered. dpkg: error processing ttf-liberation (--purge): subprocess pre-removal script returned error exit status 1 Errors were encountered while processing: ttf-liberation E: Sub-process /usr/bin/dpkg returned an error code (1) pa...@pablo-laptop:~$ sudo apt-get purge ttf-liberation Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: ttf-liberation* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 1733kB disk space will be freed. Do you want to continue [Y/n]? Y (Reading database ... 177807 files and directories currently installed.) Removing ttf-liberation ... W: /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Bold.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Regular.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-BoldItalic.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Italic.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Bold.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationSans-BoldItalic.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Italic.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Italic.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationMono-BoldItalic.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Bold.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Regular.ttf: not registered. W: /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Regular.ttf: not registered. dpkg: error processing ttf-liberation (--purge): subprocess pre-removal script returned error exit status 1 Errors were encountered while processing: ttf-liberation E: Sub-process /usr/bin/dpkg returned an error code (1) My Environment is: Distribution: Ubuntu Linux 8.10 32 Bits Kernel:2.6.27-11-generic Thanks Pablo -- package ttf-liberation 1.04~beta2-2 failed to install/upgrade: subprocess post-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/299303 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
