On Thu, Oct 04, 2001 at 04:23:40PM +0200, Jose Manuel Perez wrote: > I've installed a package in my Potato but it crashed during > installation and I'd like to uninstall it. I've tried > dpkg --purge <package>, with and without --force-??? option, but > I've not found the way to remove it. Allways I've got: > > siul04:~# dpkg --purge lgtoclnt > (Leyendo la base de datos ... [reading database ...] > 44862 ficheros y directorios instalados actualmente.) [4862 files and > directories installed] > Desinstalando lgtoclnt ... [Deinstalling lgtoclnt ...] > rmdir: número de argumentos insuficiente [rmdir: insuficient number of > arguments ] > Pruebe `rmdir --help' para más información. [Try ?? for more information]
The package is broken. > I have to say that this package was originally a rpm, and > I've converted it to deb. Ah, that would explain it then ... Edit /var/lib/dpkg/info/lgtoclnt.prerm and/or /var/lib/dpkg/info/lgtoclnt.postrm, look for the rmdir call that's failing, fix it, then try 'dpkg --purge lgtoclnt' again. -- Colin Watson [EMAIL PROTECTED]