Lucas Nussbaum <[EMAIL PROTECTED]> wrote:

> > > dpkg --purge xtide-data
> > > 
> > > Causes the last command to fail:
> > > (Reading database ... 7223 files and directories currently installed.)
> > > Removing xtide-data ...
> > > Purging configuration files for xtide-data ...
> > > invoke-rc.d: unknown initscript, /etc/init.d/xttpd not found.
> > > dpkg: error processing xtide-data (--purge):
> > >  subprocess post-removal script returned error exit status 100
> > 
> > xtide-data doesn't strictly depend on xtide, but the init.d script
> > "appears" to assume that it is installed since it fails to find xtide's
> > /usr/sbin/xttpd file.  This is strange because /etc/init.d/xttpd
> > contains:
>  
> During the "postrm purge" call dependancies for xtide are not installed
> anymore. Your postrm script doesn't make any difference between "remove"
> and "purge", which is obviously wrong.

Thanks.  I was looking at the wrong place.  The bug was introduced by me
with the last upload addressing bug #367769.  The xtide-data.postrm
script needs to be wrapped with

if test -f /etc/init.d/xttpd; then
   [new but broken script here]
fi

I'll upload this evening from an unstable box.

-- 
Peter


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to