Re: Ill advised blundering = nasty mess
On Wed, 28 Sep 2011 00:24:22 -0500, Harry wrote in message
<[🔎] 87bou51bp5.fsf@newsguy.com>:
> NOTE: Already posted on unbuntu list... but due to it being something
> of an urgent matter... and not seeing responses there... I'm posting
> here too since the tools are all debian tools.
> ----- -------- ----- --=-- ----- -------
> -----
> Due to unbridled personal bungling, I've created a nasty mess while
> installing sendmail.
>
> I inadvertantly deleted /etc/init.d/sendmail. Well I thought I'd just
> reinstall sendmail to re-acquire that file.
>
> So uninstalled sendmail... with aptitude but it uninstalled a few
> other parts of the tools too.
>
> There appear to be several packages involved.
> p sendmail
> i sendmail-base
> C sendmail-bin
> i sendmail-cf
>
> As you see, after several attempts at uninstall/reinstall, I now have
> some installed and some not. The rub comes with sendmail-bin which is
> the package that contains /etc/init.d/sendmail
>
> Any attempt to uninstall it tells me it is not installed, any attempt
> to install it ends with an error that appears to happen due to that
> missing file, or the fact that sendmail-bin cannot be --configured.
>
> I've tried any number of ways to sneak up on it, but aptitude won't
> let me. Or more accurately, I don't know how to use aptitude well
> enough to resolve the problem.
>
> I tried apt-get with the --force-yes flag, in the hopes of forcing the
> install but it didn't work... showed the same dpkg error.
>
..try the nuclear dpkg -P --force-XXX options, list'em with
--force-help, pile'em --force-* up till you get thru the armor,
then reinstall the debris sources and exim or postfix instead
of your troublemaker sendmail.
--
--
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.
Reply to: