Comment 13 for bug 299303

Revision history for this message
crislato (crislato) wrote : Re: [Bug 299303] Re: package ttf-liberation 1.04~beta2-2 failed to install/upgrade: subprocess post-installation script returned error exit status 1

try "sudo apt-get remove --purge ttf-liberation"
or simply "sudo apt-get autoremove"

On Wed, Feb 18, 2009 at 6:23 PM, Pablo Martin Viva <email address hidden> wrote:

> 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:
>
> pablo@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)
> pablo@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 direct subscriber
> of the bug.
>

--
Christian D. Latorre