Re: aptitude fails to remove a package, error while replacing tetex with texlive
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Søren Christensen wrote:
> Hi
>
> I wanted to replace my tetex-installation with texlive. But something
> went wrong. Now the dvipdfmx is installed, but I need to get rid of it
> before I can install anything else, but aptitude complains, that
> mktexlsr is not installed, and therefore exits the uninstall of
> dvipdfmx.
>
> I've tried several times, and now the process even kills aptitude.
>
> Perhaps there is some lock-file preventing a smooth process.
>
> Is there a way to force a package-removal? (I have tried to purge the
> package)?
>
> Thanks for any advices.
>
> /severino
>
>
>
dpkg -P --force-all dvipdfmx
if not work, then
mv /var/lib/dpkg/info/dvipdfmx* /tmp
aptitude purge dvipdfmx
or apt-get remove --purge dvipdfmx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFE8zRUexs2apGZoVgRAsNlAKC+PiV8B0J4LgqMxjopbaFPl/2TIgCZAa/3
+TkWaVzpmUVBQwjSY1wM7Gc=
=q7j8
-----END PGP SIGNATURE-----
Reply to: