On Wed, Sep 26, 2007 at 03:13:10PM +0100, Dave Holland wrote: > Hi, > > On Tue, Sep 18, 2007 at 09:21:05PM -0700, Tril wrote: > > I was unable to remove biff because postrm returned 1 (because > > /usr/sbin/update-inetd did not exist). I fixed this by adding > > "|| true" at the end of the 4th line. > > I don't quite understand what failed; that line already tests for the > presence of /usr/sbin/update-inetd before trying to invoke it: > > > [ -e /usr/sbin/update-inetd ] && update-inetd --remove "biff" > > Please can you send me a sequence of commands which will reproduce your > problem? I'll amend that line to change "-e" to "-x" to match other > packages' usage.
Okay. apt-get remove update-inetd apt-get remove biff The test command "[" returned 1, causing postinst to return 1. This caused the package removal to fail- the package was still installed, in some state like 'partly installed.' Clearly, the intention is that if update-inetd does not exist, that update-inetd is not run, but that postinst should still return 0 for success. Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]