sendmail install causes infinite loop
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
sendmail install causes infinite loop
i am using my machine here to create php code..
i have all the apps functioning as preferred - except that now when i install sendmail, the process never completes and is caught in an infinite loop of database configuration.
i read the comments of others who experienced the same after the upgrade to pack 7 - yet have not seen any solution yet..
does anyone have any tips?
thanks
i have all the apps functioning as preferred - except that now when i install sendmail, the process never completes and is caught in an infinite loop of database configuration.
i read the comments of others who experienced the same after the upgrade to pack 7 - yet have not seen any solution yet..
does anyone have any tips?
thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: sendmail install causes infinite loop
Tip #1: prefer posting exact error messages instead of strange descriptions like "infinite loop of database configuration" - so we could at least google them or look them up at Debian bug tracker.tunist wrote:does anyone have any tips?
Re: sendmail install causes infinite loop
good point.. i must have been tired or distracted when i wrote that!
is producing:
and from there the creating/reading/validating sequence repeats infinitely.
Code: Select all
sudo apt-get install sendmail sendmail-bin
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
sendmail-bin is already the newest version.
The following packages were automatically installed and are no longer required:
libgsasl7 libmailutils4 libmemcached10 lsb-security mailutils-common
Use 'apt-get autoremove' to remove them.
Suggested packages:
sendmail-doc rmail
The following NEW packages will be installed:
sendmail
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/215 kB of archives.
After this operation, 217 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
sendmail
Install these packages without verification [y/N]? y
Selecting previously unselected package sendmail.
(Reading database ... 300610 files and directories currently installed.)
Unpacking sendmail (from .../sendmail_8.14.4-4_all.deb) ...
Setting up sendmail-bin (8.14.4-4) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/sm.bin/sendmail because link group sendmail-msp is broken
update-alternatives: warning: not replacing /usr/share/man/man8/sendmail.8.gz with a link
[ ok ] Stopping Mail Transport Agent (MTA): sendmail.
Updating sendmail environment ...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Writing configuration to /etc/mail/sendmail.conf.
Writing /etc/cron.d/sendmail.
Disabling HOST statistics file(/var/lib/sendmail/host_status).
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Writing configuration to /etc/mail/sendmail.conf.
Writing /etc/cron.d/sendmail.
Could not open /etc/mail/databases(No such file or directory), creating it.
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...
Checking filesystem, this may take some time - it will not hang!
... Done.
Checking for installed MDAs...
sasl2-bin not installed, not configuring sendmail support.
To enable sendmail SASL2 support at a later date, invoke "/usr/share/sendmail/update_auth"
Creating/Updating SSL(for TLS) information
Creating /etc/mail/tls/starttls.m4...
You already have sendmail certificates
*** *** *** WARNING *** WARNING *** WARNING *** WARNING *** *** ***
Everything you need to support STARTTLS (encrypted mail transmission
and user authentication via certificates) is installed and configured
but is *NOT* being used.
To enable sendmail to use STARTTLS, you need to:
1) Add this line to /etc/mail/sendmail.mc and optionally
to /etc/mail/submit.mc:
include(`/etc/mail/tls/starttls.m4')dnl
2) Run sendmailconfig
3) Restart sendmail
Checking {sendmail,submit}.mc and related databases...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...
Re: sendmail install causes infinite loop
It looks like [url=http://bugs.debian.org/717951]this bug[/url]. The comments say it's been fixed in version 8.14.4-4.1, you can get it from Testing.
Re: sendmail install causes infinite loop
ah ok, thanks for the tip.
currently i am unable to even load the package manager since when i do i am informed that i need to run:
when i run that code i begin the process which creates the infinite looping again.
i have already run apt-get purge and clean with no success..
are you saying that if i launch an install process from the testing repo that this situation will resolve completely?
i ran and do not see the code for installing from a specific repo..
i remember seeing something like '--install-with testing' or similar in one flavour of gnu/linux; so far i am unclear on the correct syntax for use with lmde..
any tips welcomed.. thanks again
currently i am unable to even load the package manager since when i do i am informed that i need to run:
Code: Select all
dpkg --configure -a
i have already run apt-get purge and clean with no success..
are you saying that if i launch an install process from the testing repo that this situation will resolve completely?
i ran
Code: Select all
sudo apt-get --help
i remember seeing something like '--install-with testing' or similar in one flavour of gnu/linux; so far i am unclear on the correct syntax for use with lmde..
any tips welcomed.. thanks again
Last edited by tunist on Sun Dec 15, 2013 2:23 pm, edited 1 time in total.
Re: sendmail install causes infinite loop
Uninstall sendmail and sendmail-bin to get rid of the error, then add Testing repo to your sources list and install sendmail again.
Re: sendmail install causes infinite loop
so far i am unable to uninstall these packages using synaptic, software manager or apt-get in the terminal..
either nothing occurs or the same infinite loop is triggered..
i am out of ideas..
either nothing occurs or the same infinite loop is triggered..
i am out of ideas..
Re: sendmail install causes infinite loop
Looks like you'll have to use the low-level tool, dpkg.
Then add Testing to your sources list and run
to fix the broken dependency. This command should automatically retrieve the newer version of sendmail-bin (8.14.4-4.1) and install it.
Code: Select all
sudo dpkg -r sendmail-bin
Code: Select all
sudo apt-get install -f
Re: sendmail install causes infinite loop
using those commands has cleared something somewhere... as i can now load package manager..
however, the sendmail-bin file remains 'marked for installation' and i am unable to cancel it.
the version number to be installed is 8.14.4-4, so is not the 'testing' one that was quoted in the thread above..
i already have these repos activated in the sources.list:
http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
http://www.mirrorservice.org/sites/debi ... ian/latest testing main contrib non-free
http://www.mirrorservice.org/sites/debi ... t/security testing/updates main contrib non-free
i don't really know which repo does what.. perhaps i need to set priorities to access the correct version of sendmail?
(at this point i am happy to just remove sendmail completely and look to use postfix instead - though i am unclear on how to fully cancel the sendmail install).
however, the sendmail-bin file remains 'marked for installation' and i am unable to cancel it.
the version number to be installed is 8.14.4-4, so is not the 'testing' one that was quoted in the thread above..
i already have these repos activated in the sources.list:
http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
http://www.mirrorservice.org/sites/debi ... ian/latest testing main contrib non-free
http://www.mirrorservice.org/sites/debi ... t/security testing/updates main contrib non-free
i don't really know which repo does what.. perhaps i need to set priorities to access the correct version of sendmail?
(at this point i am happy to just remove sendmail completely and look to use postfix instead - though i am unclear on how to fully cancel the sendmail install).
Re: sendmail install causes infinite loop
First, your sources list contains errors. Security mirror is listed twice, multimedia is not listed at all, and packages.linuxmint.com is absent too. That's not good. The correct list should look like this.
Second, to get access to Debian Testing repo, addto the sources list, then run
Second, to get access to Debian Testing repo, add
Code: Select all
deb http://http.debian.net/debian testing main contrib non-free
Code: Select all
sudo apt-get update
Re: sendmail install causes infinite loop
aha! well, that upped the version of sendmail to 8.14.4-4.1.
however, the infinite loop occurred anyway on installation...
however, the infinite loop occurred anyway on installation...
Re: sendmail install causes infinite loop
Oh. Let's try removing all sendmail-related packages first (completely, including configuration files):
(If it doesn't get out of the loop, use the dpkg trick again.)
Code: Select all
sudo apt-get remove --purge sendmail sendmail-base sendmail-bin sendmail-cf sensible-mda
Re: sendmail install causes infinite loop
ah, i discovered why i was having issues with the locks - i was pressing ctrl-z to end the loop instead of ctrl-c:
now i just need to uncover why i am unable to send mails with sendmail.
i have now removed and correctly installed sendmail - thanks a lot for your assistance here.control+z doesn't cancel the command, it pauses it. You need the process to close in order to start a new install. Bring it back to the foreground using the fg command, then stop it using control+c.
now i just need to uncover why i am unable to send mails with sendmail.
Re: sendmail install causes infinite loop
Don't forget to remove Debian Testing repo from your sources list, or you may end up upgrading LMDE to Testing
Re: sendmail install causes infinite loop
yes, i just discovered that!
thankfully an error arose partway through the upgrade that let me cancel it!
i installed lmde testing accidentally when i first installed lmde and it trashed the system!
thankfully an error arose partway through the upgrade that let me cancel it!
i installed lmde testing accidentally when i first installed lmde and it trashed the system!