On Monday 11 February 2008, Gerrit Pape wrote:
> On Sat, Feb 09, 2008 at 07:01:48PM -0600, Raphael Geissert wrote:
> > Hello,
> >
> > Looking for a simple ftp server/daemon I installed twoftpd-run but after
> > being disappointed by its configuration system I decided to remove it.
> >
> > At installation time the postinst script already cause some troubles:
> > > ...
> > > Warning: The home dir /var/ftp you specified can't be accessed: No such
> > > file or directory
> > > ...
> >
> > But while removing:
> > > Removing twoftpd-run ...
> > > Stopping service twoftpd... warning: .: unable to open supervise/ok:
> > > file does not exist dpkg: error processing twoftpd-run (--purge):
> > >  subprocess pre-removal script returned error exit status 1
> > > dpkg: twoftpd: dependency problems, but removing anyway as you request:
> > >  twoftpd-run depends on twoftpd.
> > > Removing twoftpd ...
> > > Errors were encountered while processing:
> > >  twoftpd-run
> > > E: Sub-process /usr/bin/dpkg returned an error code (1)
> >
> > I've been able to reproduce this problem when performing a piuparts check
> > on sid. I'm attaching piupart's output.
>
> Hi Raphael, this can happen if the runit package hasn't been installed
> properly, I don't know about your system, but while piuparts check I
> guess adding an entry to /etc/inittab and doing kill -HUP 1 doesn't
> start the corresponding process in the piuparts chroot environment.
>
> On your system, do you use something different than sysvinit?  Do you
> know why the inittab entry added by runit didn't come into effect?
>

I use upstart since a while and haven't had any problem with it, *yet*. 

I was able to finish the removal of the package by running apt-get --purge 
remove twoftpd-run again (since one of the directories it checks for is 
removed on the first removal attempt it can't find it on the second run and 
quit gracefully). 

Other than that, no, I don't have any idea why it didn't come into effect.

> Regards, Gerrit.

Kind regards,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html



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

Reply via email to