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


Groups > linux.debian.user > #199500

Re: Cannot Install/Uninstall sendmail

From Cindy-Sue Causey <butterflybytes@gmail.com>
Newsgroups linux.debian.user
Subject Re: Cannot Install/Uninstall sendmail
Date 2018-08-28 17:00 +0200
Message-ID <wrNDj-4ha-3@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 8/28/18, Luis Finotti <luis.finotti@gmail.com> wrote:
> On Tue, Aug 28, 2018 at 9:41 AM David Wright <deblis@lionunicorn.co.uk>
> wrote:
>
>> On Tue 28 Aug 2018 at 09:14:36 (-0400), Luis Finotti wrote:
>> > # apt remove sendemail
>>
>> Oops.
>>
>> > Reading package lists... Done
>> > Building dependency tree
>> > Reading state information... Done
>> > Package 'sendemail' is not installed, so not removed
>> > 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
>> > 1 not fully installed or removed.
>> > After this operation, 0 B of additional disk space will be used.
>> > Setting up sendmail-base (8.15.2-11) ...
>>
>> sendmail-base is what you should be trying to remove.
>> And you should be using dpkg directly, not messing around with apt.
>> As you can see, you asked apt to remove something and it tries to
>> configure something instead. If you're going to use sid or a
>> sid lookalike, you're going to have to use the appropriate tools.
>>
>> > dpkg: error processing package sendmail-base (--configure):
>> >  installed sendmail-base package post-installation script subprocess
>> > returned error exit status 255
>> > Errors were encountered while processing:
>> >  sendmail-base
>> > E: Sub-process /usr/bin/dpkg returned an error code (1)
>> > --------------------------------
>> >
>> > Any help would be greatly appreciated!
>>
>> You see—you want to know what dpkg itself is doing.
>>
>
> Here it is:
>
> # 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've had luck on occasion by following where *my* setup tells me to try:

apt --fix-broken install

Generic just like that with no specific packages named.

Just had to run it a couple times recently. Sometimes I've gotten
lucky, and it fixes things just like that just that fast.

Other times it's like the other day. It will instead first attempt to
purge/remove the offending partially installed package. At one point,
I think I just gave up and let apt do what it thought might work.
Successfully remove a package *is* what it did.

This has just been since the one thread we had here about manually
installing via dpkg and then running into repeated missing
dependencies. I just checked ~/.bash_history and saw my topic was...
*cough* flash versus pepperflash. I was attempting deb package
installs with "dpkg -i" while otherwise only favoring the main
repository in /etc/apt/sources.list.

PS I finally gave up when I realized flash may have NEVER had anything
to do with the particular webpage issues I've had all these years. I
hate ol' timer's disease,.. been afflicted since about 1992. lol.

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with duct tape *

Back to linux.debian.user | Previous | Next — Previous 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