problem removing package

Sergio Belkin sebelk at gmail.com
Tue Jul 29 03:23:15 UTC 2008


Hi,

I tried to remove a package in Ubuntu Hardy Heron with no sucess, look
at as follows:

root at coldplay:/home/sergio/Descarga# apt-get remove -f elvis
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  elvis
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 750kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 186555 files and directories currently installed.)
Removing elvis ...
update-alternatives: unable to make
/usr/share/man/pl.ISO8859-2/man1/editor.1.gz.dpkg-tmp a symlink to
/etc/alternatives/editor.pl.ISO8859-2.1.gz: No such file or directory
dpkg: error processing elvis (--remove):
 subprocess pre-removal script returned error exit status 2
Errors were encountered while processing:
 elvis
E: Sub-process /usr/bin/dpkg returned an error code (1)

root at coldplay:/home/sergio/Descarga# dpkg -r --force-all elvis
(Reading database ... 186555 files and directories currently installed.)
Removing elvis ...
update-alternatives: unable to make
/usr/share/man/pl.ISO8859-2/man1/editor.1.gz.dpkg-tmp a symlink to
/etc/alternatives/editor.pl.ISO8859-2.1.gz: No such file or directory
dpkg: error processing elvis (--remove):
 subprocess pre-removal script returned error exit status 2
Errors were encountered while processing:
 elvis

Same problem with other packages, eg:
root at coldplay:/home/sergio/Descarga# dpkg -r --force-all vim-nox
(Reading database ... 186555 files and directories currently installed.)
Removing vim-nox ...
update-alternatives: unable to make
/usr/share/man/pl.ISO8859-2/man1/editor.1.gz.dpkg-tmp a symlink to
/etc/alternatives/editor.pl.ISO8859-2.1.gz: No such file or directory
dpkg: error processing vim-nox (--remove):
 subprocess pre-removal script returned error exit status 2
Errors were encountered while processing:
 vim-nox

How can I fix it?

Thanks in advance!!

-- 
--
Open Kairos http://www.openkairos.com
Watch More TV http://sebelk.blogspot.com
Sergio Belkin -




More information about the ubuntu-users mailing list