Re: Cannot purge glame
Hi.
On Sat, 17 Oct 2015 18:24:48 -0300
Hudson Flavio Meneses Lacerda <hfmlacerda@yahoo.com.br> wrote:
> Hi.
>
> I am trying to remove a program (that is not compatible with other
> upgrades), but I get the following error message:
>
> sudo aptitude purge glame
> [...]
> Removing glame (2.0.1-5) ...
> install-info: No dir file specified; try --help for more information.
> dpkg: error processing package glame (--purge):
> sub-processo script pre-removal instalado retornou estado de saída de
> erro 1
> Erros foram encontrados durante o processamento de:
> glame
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> [...]
>
<skip>
> Any tip on how to fix that?
Edit /var/lib/dpkg/info/glame.prerm like this:
=== cut ===
#!/bin/sh
set -e
# Automatically added by dh_installinfo
if [ "$1" = remove ] || [ "$1" = upgrade ]; then
install-info --quiet --remove /usr/share/info/glame.info || true
fi
# End automatically added section
# Automatically added by dh_installinfo
if [ "$1" = remove ] || [ "$1" = upgrade ]; then
install-info --quiet --remove /usr/share/info/glame-dev.info || true
fi
# End automatically added section
=== cut ===
Reco
Reply to: