Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #199496

Re: Cannot Install/Uninstall sendmail

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Cannot Install/Uninstall sendmail
Date 2018-08-28 16:30 +0200
Message-ID <wrNah-47Z-7@gated-at.bofh.it> (permalink)
References <wrsIx-r1-11@gated-at.bofh.it> <wrLUS-3ta-11@gated-at.bofh.it> <wrM4x-3wj-1@gated-at.bofh.it> <wrMxA-3FQ-7@gated-at.bofh.it> <wrMxA-3FQ-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue 28 Aug 2018 at 09:48:06 (-0400), Luis Finotti wrote:

> # dpkg -P sendmail-base
> (Reading database ... 1562548 files and directories currently installed.)
> Removing sendmail-base (8.15.2-11) ...
> update-inetd: error: --group is only relevant with --add
> dpkg: error processing package sendmail-base (--purge):
>  installed sendmail-base package pre-removal script subprocess returned
> error exit status 255
> Errors were encountered while processing:
>  sendmail-base
> 
> Any suggestions?

I would take a look at the pre-removal script sendmail-base.prerm to
see what it's trying to do. If there are parts that aren't sensible,
you could comment them out, alter things so that they can work, or
even just make them "succeed" with "|| true" so you get to the end
of the script. (Check sendmail-base.postinst while you're about it.)

The scripts will contain a record of what modifications they intended
to make to your system, so ultimately all you need to do is nullify
those changes, remove the files in sendmail-base.list and convince
dpkg that the package is purged. Manually if necessary.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Cannot Install/Uninstall sendmail Luis Finotti <luis.finotti@gmail.com> - 2018-08-27 18:40 +0200
  Re: Cannot Install/Uninstall sendmail David Wright <deblis@lionunicorn.co.uk> - 2018-08-28 15:10 +0200
    Re: Cannot Install/Uninstall sendmail Luis Finotti <luis.finotti@gmail.com> - 2018-08-28 15:20 +0200
      Re: Cannot Install/Uninstall sendmail David Wright <deblis@lionunicorn.co.uk> - 2018-08-28 15:50 +0200
        Re: Cannot Install/Uninstall sendmail Luis Finotti <luis.finotti@gmail.com> - 2018-08-28 15:50 +0200
          Re: Cannot Install/Uninstall sendmail David Wright <deblis@lionunicorn.co.uk> - 2018-08-28 16:30 +0200
            Re: Cannot Install/Uninstall sendmail Luis Finotti <luis.finotti@gmail.com> - 2018-08-28 16:50 +0200
              Re: Cannot Install/Uninstall sendmail Jonathan Dowland <jmtd@debian.org> - 2018-08-29 13:00 +0200
                Re: Cannot Install/Uninstall sendmail Erik Christiansen <dvalin@internode.on.net> - 2018-08-29 13:50 +0200
          Re: Cannot Install/Uninstall sendmail Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-08-28 17:00 +0200

csiph-web