Re: Cannot Install/Uninstall sendmail
Thanks for the reply again.
On Tue 28 Aug 2018 at 09:14:36 (-0400), Luis Finotti wrote:
> # apt remove sendemail
> 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:
> 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: