[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Solved: irda-common: won't install/remove in unstable



on Thu, May 03, 2001 at 01:31:56PM -0700, Karsten M. Self (kmself@ix.netcom.com) 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 <kmself@ix.netcom.com>    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

Attachment: pgpL6KZJwAeKl.pgp
Description: PGP signature


Reply to: