error on postfix rebuild

Started by Namaste, January 06, 2022, 11:45:28 PM

Previous topic - Next topic

Namaste

failed to link /usr/bin/spfquery -> /etc/alternatives/spf: /usr/bin/spfquery exists and it is either not a symlink or --keep-foreign was set and link points outside /etc/alternatives
Listen to everything Pixelpadre says.

djfininho

I have the same problem, I found this when doing rebuild

Running transaction
  Preparing        :                                                        1/1
  Installing       : perl-NetAddr-IP-4.079-7.el8.x86_64                    1/29
  Installing       : perl-Mail-SPF-2.9.0-15.el8.noarch                     2/29
  Running scriptlet: perl-Mail-SPF-2.9.0-15.el8.noarch                     2/29
failed to link /usr/bin/spfquery -> /etc/alternatives/spf: /usr/bin/spfquery exists and it is either not a symlink or --keep-foreign was set and link points outside /etc/alternatives

ljubivoje

Me too, exact the same problem.

overseer

Yes, it's present on CWP CentOS systems:
[overseer@srv]$ ls -al /usr/bin/spfquery
-rwxr-xr-x. 1 root root 4598 Nov 10  2020 /usr/bin/spfquery
[overseer@srv]$ du -sh  /usr/bin/spfquery
8.0K /usr/bin/spfquery

So you would have to manually delete it or move it to the side before running the postfix rebuild routine.