FS#46971 - [postfix] Error on installing trought pacman

Attached to Project: Arch Linux
Opened by Walter Bishopj (WalterBishopj) - Wednesday, 04 November 2015, 20:38 GMT
Last edited by Gaetan Bisson (vesath) - Saturday, 07 November 2015, 04:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: When trying to install postfix on fresh install there is an error while installing postfix with pacman -S postfix.
See error below
--------------------------------------------------------------------------------
sudo pacman -S postfix

resolving dependencies...
looking for conflicting packages...

Packages (3) postgresql-libs-9.4.5-1 tinycdb-0.78-2 postfix-3.0.3-2

Total Installed Size: 9.20 MiB

:: Proceed with installation? [Y/n] y
(3/3) checking keys in keyring [######################] 100%
(3/3) checking package integrity [######################] 100%
(3/3) loading package files [######################] 100%
(3/3) checking for file conflicts [######################] 100%
(3/3) checking available disk space [######################] 100%
(1/3) installing postgresql-libs [######################] 100%
(2/3) installing tinycdb [######################] 100%
(3/3) installing postfix [######################] 100%

/usr/lib/postfix/bin/post-install: Error: no /usr/bin/postconf command found.
Re-run this command as /usr/lib/postfix/bin/post-install command_directory=/some/where.
error: command failed to execute correctly
---------------------------------------------------------------------------------------
This task depends upon

Closed by  Gaetan Bisson (vesath)
Saturday, 07 November 2015, 04:22 GMT
Reason for closing:  Works for me
Additional comments about closing:  AUR issue
Comment by Gaetan Bisson (vesath) - Thursday, 05 November 2015, 16:04 GMT
It works for me. What is special about your system? Do you have NoExtract enabled in /etc/pacman.conf or something?
Comment by Walter Bishopj (WalterBishopj) - Thursday, 05 November 2015, 17:32 GMT
No ran from a fresh archlinux install
Comment by Deon Spengler (deons) - Thursday, 05 November 2015, 18:28 GMT
I was also getting the same error message today, on further investigation I got the following error message "/usr/sbin/postconf: error while loading shared libraries: libicuuc.so.56". I then realized my system was not up to date and after update the icu package and reinstalling postfix everything worked fine.
Comment by Gaetan Bisson (vesath) - Thursday, 05 November 2015, 19:25 GMT
Good then. Always use `pacman -Syu postfix` when installing new packages. Installing newer versions of certain packages but not others is not supported.
Comment by Walter Bishopj (WalterBishopj) - Thursday, 05 November 2015, 23:26 GMT
Still doesn't work. Fresh install fully updated.
Comment by Gaetan Bisson (vesath) - Friday, 06 November 2015, 04:12 GMT
Walter: "doesn't work" doesn't help. If you cannot explain in detail what is wrong so I can reproduce your issue, there is nothing I can do to help you.
Comment by Walter Bishopj (WalterBishopj) - Saturday, 07 November 2015, 03:53 GMT
I appologize the error seems to be coming from postfix and mysql.
I'm using mysql from the aur and not mariadb and seems postfix gives the error

postconf: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory
Comment by Gaetan Bisson (vesath) - Saturday, 07 November 2015, 04:21 GMT
The error is with your AUR package. Most probably it should be updated to provide the newer soname that ld complains is missing.

Loading...