You are not logged in.

#1 2019-01-24 04:52:26

rossboulet
Member
Registered: 2017-12-13
Posts: 19

[SOLVED] pacman update broke postfix

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 04:08:23)

Offline

#2 2019-01-24 05:31:49

rossboulet
Member
Registered: 2017-12-13
Posts: 19

Re: [SOLVED] pacman update broke postfix

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

#3 2019-01-24 05:42:57

deep42thought
Administrator
From: Jena, Germany
Registered: 2017-06-17
Posts: 365

Re: [SOLVED] pacman update broke postfix

mariadb and libmariadbclient are now in sync again

Offline

#4 2019-01-24 16:09:36

rossboulet
Member
Registered: 2017-12-13
Posts: 19

Re: [SOLVED] pacman update broke postfix

but postfix is still broken if I allow pacman to replace  libmariadbclient with mariadb-libs

Offline

#5 2019-01-24 16:21:20

rossboulet
Member
Registered: 2017-12-13
Posts: 19

Re: [SOLVED] pacman update broke postfix

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

#6 2019-01-24 16:56:57

deep42thought
Administrator
From: Jena, Germany
Registered: 2017-06-17
Posts: 365

Re: [SOLVED] pacman update broke postfix

hmm, upstream does not _have_ libmariadbclient - just replace it by mariadb-libs, I just removed libmariadbclient from the repositories, too.

Offline

#7 2019-01-24 21:15:53

levi
Moderator
From: UK
Registered: 2018-06-16
Posts: 227

Re: [SOLVED] pacman update broke postfix

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.

rossboulet wrote:

If I reinstall libmariadbclient, pacman removes mariadb-libs and mail starts working again.

Offline

#8 2019-01-24 21:24:06

c0rvo
Member
From: North Carolina, US
Registered: 2019-01-24
Posts: 1

Re: [SOLVED] pacman update broke postfix

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

#9 2019-01-24 22:25:49

deep42thought
Administrator
From: Jena, Germany
Registered: 2017-06-17
Posts: 365

Re: [SOLVED] pacman update broke postfix

ah, damn, courier also needed to be moved from testing to extra - what else depends on libmariadbclient which I'm missing here?

Offline

#10 2019-01-24 23:27:09

levi
Moderator
From: UK
Registered: 2018-06-16
Posts: 227

Re: [SOLVED] pacman update broke postfix

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.

Offline

#11 2019-01-25 04:08:00

rossboulet
Member
Registered: 2017-12-13
Posts: 19

Re: [SOLVED] pacman update broke postfix

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

#12 2019-01-25 05:31:27

deep42thought
Administrator
From: Jena, Germany
Registered: 2017-06-17
Posts: 365

Re: [SOLVED] pacman update broke postfix

yeah, my mistake - I meant postfix. courier (actually "courier-mta") is another email server ... I got confused at that late hour.

Offline

Board footer

Powered by FluxBB