Re: fetchmail upgrade problem

2001-08-20 Thread Aigars Mahinovs
Hello Hall,

Saturday, August 18, 2001, 10:40:02 PM, you wrote:
[snip]
> /var/lib/dpkg/info/fetchmail.prerm: /etc/init.d/fetchmail: No such file
[snip]
> Any help ?? Thanks in advance.

# dpkg --purge fetchmail
# apt-get install fetchmail

This will (line 1) say dpkg that there was no such file.
This way it will be properly installed in second step.

-- 
Best regards,
 Aigarsmailto:[EMAIL PROTECTED]



Re: fetchmail upgrade problem

2001-08-18 Thread Colin Watson
On Sat, Aug 18, 2001 at 06:10:46PM -0500, Hall Stevenson wrote:
> * Colin Watson ([EMAIL PROTECTED]) [010818 16:54]:
> > On Sat, Aug 18, 2001 at 02:40:02PM -0500, Hall Stevenson wrote:
> > > When trying to upgrade fetchmail, it complains that
> > > /etc/init.d/fetchmail 'does not exist'. Why should it ?? I don't want
> > > fetchmail started at bootup...
> > 
> > While this is indeed a packaging bug, if you don't want something
> > started at bootup it's usually better to remove the link from /etc/rc2.d
> > instead (or whatever your default runlevel is - probably using
> > update-rc.d to manage the links).
> 
> Fair enough... I just ran 'update-rc.d fetchmail remove' and it removed
> the scripts for fetchmail from all the various rcX.d directories.
> Running 'apt-get install fetchmail' says this:
> 
> Setting up fetchmail (5.8.17-1) ...
> update-rc.d: /etc/init.d/fetchmail: file does not exist

I didn't say it would solve your problem without reinstating
/etc/init.d/fetchmail :)

'dpkg -i --force-confmiss
/var/cache/apt/archives/fetchmail_5.8.17-1_i386.deb' should do it, I
think.

-- 
Colin Watson  [EMAIL PROTECTED]



Re: fetchmail upgrade problem

2001-08-18 Thread Hall Stevenson
* Colin Watson ([EMAIL PROTECTED]) [010818 16:54]:
> On Sat, Aug 18, 2001 at 02:40:02PM -0500, Hall Stevenson wrote:
> > When trying to upgrade fetchmail, it complains that
> > /etc/init.d/fetchmail 'does not exist'. Why should it ?? I don't want
> > fetchmail started at bootup...
> 
> While this is indeed a packaging bug, if you don't want something
> started at bootup it's usually better to remove the link from /etc/rc2.d
> instead (or whatever your default runlevel is - probably using
> update-rc.d to manage the links).

Fair enough... I just ran 'update-rc.d fetchmail remove' and it removed
the scripts for fetchmail from all the various rcX.d directories.
Running 'apt-get install fetchmail' says this:

Setting up fetchmail (5.8.17-1) ...
update-rc.d: /etc/init.d/fetchmail: file does not exist
dpkg: error processing fetchmail (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 fetchmail
E: Sub-process /usr/bin/dpkg returned an error code (1)


Regards
Hall



Re: fetchmail upgrade problem

2001-08-18 Thread Colin Watson
On Sat, Aug 18, 2001 at 02:40:02PM -0500, Hall Stevenson wrote:
> When trying to upgrade fetchmail, it complains that
> /etc/init.d/fetchmail 'does not exist'. Why should it ?? I don't want
> fetchmail started at bootup...

While this is indeed a packaging bug, if you don't want something
started at bootup it's usually better to remove the link from /etc/rc2.d
instead (or whatever your default runlevel is - probably using
update-rc.d to manage the links).

-- 
Colin Watson  [EMAIL PROTECTED]



Re: fetchmail upgrade problem

2001-08-18 Thread Henrique de Moraes Holschuh
On Sat, 18 Aug 2001, Karsten M. Self wrote:
> on Sat, Aug 18, 2001 at 02:40:02PM -0500, Hall Stevenson ([EMAIL PROTECTED]) 
> wrote:
> > When trying to upgrade fetchmail, it complains that
> > /etc/init.d/fetchmail 'does not exist'. Why should it ?? I don't want
> > fetchmail started at bootup...
> > 
> > Here's the main part of the error message:
> > 
> > Preparing to replace fetchmail 5.8.16-1 (using
> > .../fetchmail_5.8.17-1_i386.deb) ...
> > /var/lib/dpkg/info/fetchmail.prerm: /etc/init.d/fetchmail: No such file
> > or directory
> > Unpacking replacement fetchmail ...
> > Setting up fetchmail (5.8.17-1) ...
> > update-rc.d: /etc/init.d/fetchmail: file does not exist
> > dpkg: error processing fetchmail (--configure):
> >  subprocess post-installation script returned error exit status 1
> > Errors were encountered while processing:
> >  fetchmail
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Check the fetchmail preinst and postinst install scripts under
> /var/lib/dpkg/info.  See if you can isolate the lines checking for these
> files.  This may be a packaging bug.

Probably; the file SHOULD be there, but the scripts are not supposed to fail
just because it is not. If it is indeed a bug, I'll fix it ASAP.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


pgp4YFHSSlHJC.pgp
Description: PGP signature


Re: fetchmail upgrade problem

2001-08-18 Thread Karsten M. Self
on Sat, Aug 18, 2001 at 02:40:02PM -0500, Hall Stevenson ([EMAIL PROTECTED]) 
wrote:
> When trying to upgrade fetchmail, it complains that
> /etc/init.d/fetchmail 'does not exist'. Why should it ?? I don't want
> fetchmail started at bootup...
> 
> Here's the main part of the error message:
> 
> Preparing to replace fetchmail 5.8.16-1 (using
> .../fetchmail_5.8.17-1_i386.deb) ...
> /var/lib/dpkg/info/fetchmail.prerm: /etc/init.d/fetchmail: No such file
> or directory
> Unpacking replacement fetchmail ...
> Setting up fetchmail (5.8.17-1) ...
> update-rc.d: /etc/init.d/fetchmail: file does not exist
> dpkg: error processing fetchmail (--configure):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  fetchmail
> E: Sub-process /usr/bin/dpkg returned an error code (1)

Check the fetchmail preinst and postinst install scripts under
/var/lib/dpkg/info.  See if you can isolate the lines checking for these
files.  This may be a packaging bug.

-- 
Karsten M. Self   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
   Free Dmitry! Boycott Adobe! Repeal the DMCA!http://www.freesklyarov.org
Geek for Hirehttp://kmself.home.netcom.com/resume.html


pgpRVHqUB6Xgu.pgp
Description: PGP signature