on Thu, May 03, 2001 at 01:31:56PM -0700, Karsten M. Self ([email protected]) wrote: > I've been getting the following messages trying to install irda-common > on a TuxTops 20U laptop (x86, unstable) for the past month or so: > > Preparing to replace irda-common 0.9.5-2 (using > .../irda-common_0.9.14-3_i386.deb) ... > Stopping IrDA Manager: dpkg: warning - old pre-removal script returned > error exit status 1 > dpkg - trying script from the new package instead ... > Stopping IrDA Manager: dpkg: error processing > /var/cache/apt/archives/irda-common_0.9.14-3_i386.deb (--unpack): > subprocess new pre-removal script returned error exit status 1 > Stopping irmanager... > Stopping IrDA Manager: dpkg: error while cleaning up: > subprocess post-installation script returned error exit status 1 > Errors were encountered while processing: > /var/cache/apt/archives/irda-common_0.9.14-3_i386.deb > E: Sub-process /usr/bin/dpkg returned an error code (1)
I finally resolved this by editing the prerm file:
/var/lib/dpkg/info/irda-common.prerm
Changing the following lines:
<# Automatically added by dh_installinit
</etc/init.d/irmanager stop
<# End automatically added section
----
># Automatically added by dh_installinit
># /etc/init.d/irmanager stop
># End automatically added section
... e.g.: commenting out the /etc/init.d/irmanager command.
That unwedged it.
...now to get the damned IR port to actually work....
--
Karsten M. Self <[email protected]> http://kmself.home.netcom.com/
What part of "Gestalt" don't you understand? There is no K5 cabal
http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org
pgp7zZu7UqGRg.pgp
Description: PGP signature

