You are not logged in.
I ran the following today:
pacman -Sy
pacman -Suw
pacman -Su
Now several mail related commands and the postfix daemon are broken.
journalctl for postfix shows the following line:
Jan 23 11:11:25 cartman postfix[17865]: /usr/bin/postfix: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory
and
$ mailq
mailq: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory
some suspicious items from the pacman.log:
[2019-01-23 11:03] [ALPM] removed libmariadbclient (10.1.37-1.0)
[2019-01-23 11:04] [ALPM] installed js60 (60.4.0-2.0)
[2019-01-23 11:05] [ALPM] installed mariadb-libs (10.3.12-2.0)
Last edited by rossboulet (2019-01-25 05:08:23)
Offline
update: this seems to be what killed it...
# pacman -Suw
:: Starting full system upgrade...
:: Replace libmariadbclient with extra/mariadb-libs? [Y/n]
If I reinstall libmariadbclient, pacman removes mariadb-libs and mail starts working again.
Offline
mariadb and libmariadbclient are now in sync again
Offline
but postfix is still broken if I allow pacman to replace libmariadbclient with mariadb-libs
Offline
The package page for mariadb-libs says it is required by libmariadbclient, but pacman says they are in conflict.
# pacman -S libmariadbclient
resolving dependencies...
looking for conflicting packages...
:: libmariadbclient and mariadb-libs are in conflict. Remove mariadb-libs? [y/N] y
Offline
hmm, upstream does not _have_ libmariadbclient - just replace it by mariadb-libs, I just removed libmariadbclient from the repositories, too.
Offline
Seems to me like the OP is saying that removing libmariadbclient and installing mariadb-libs breaks postfix. Doing the opposite works, but if you've just removed libmariadbclient that breaks that way of fixing it.
If I reinstall libmariadbclient, pacman removes mariadb-libs and mail starts working again.
Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.
Offline
Having the same issue... libmariadbclient (I have a cached version) and mariadb-libs cannot coexist right now, and since mariadb-libs is a dependency for a bunch of other mariadb related packages I can't remove/ovewrite it...
Any idea is appreciated...
Offline
ah, damn, courier also needed to be moved from testing to extra - what else depends on libmariadbclient which I'm missing here?
Offline
What is courier? It's not a package or within a package name according to pacman, and as itself I only recognise it as a (microsoft?) typeface personally.
I'll just note the OP had an error complaining about libmysqlclient.so.18 - perhaps this is part of courier, I have no way of knowing.
Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.
Offline
I don't know about courier, but a new version of postfix (3.3.2-3.0) is now available which is no longer looking for libmysqlclient.so.18. With the updated postfix, the removal of libmariadbclient and installation of mariadb-libs seems to work now. Marking this as solved.
Offline
yeah, my mistake - I meant postfix. courier (actually "courier-mta") is another email server ... I got confused at that late hour.
Offline