Running scriptlet: perl-Mail-SPF-3.20240617-1.fc40.noarch failed to link /usr/bin/spfquery -> /etc/alternatives/spf: /usr/bin/spfquery exists and it is not a symlink Reproducible: Always
What was the version you were upgrading from? We implemented spfquery as alternatives in bug 1399246, back in 2017, so if anything I would have expected that issue back in Fedora 26, not now. And what does rpm -qf /usr/bin/spfquery say? Is it possible you have some other package installed which doesn't ship it as alternatives? Or even some script not managed by rpm?
I keep an updated F40 system. This one has been upgraded over several releases as well 38 -> 39 ->40... The previous version appears to be 3.20240206-1.fc40. ~]# rpm -qf /usr/bin/spfquery python3-pyspf-2.0.14-18.fc40.noarch perl-Mail-SPF-3.20240617-1.fc40.noarch
So [root@d8203ece046f /]# rpm -qf /usr/bin/spfquery python3-pyspf-2.0.14-18.fc40.noarch [root@d8203ece046f /]# ls -la /usr/bin/spfquery -rwxr-xr-x. 1 root root 4602 Jan 26 00:00 /usr/bin/spfquery [root@d8203ece046f /]# rpm -Vf /usr/bin/spfquery [root@d8203ece046f /]# shows that file comes from the python3-pyspf package. I think the best course of action would be to move this bugzilla to python3-pyspf and ask if it could use alternatives for /usr/bin/spfquery as well.
Hello python3-pyspf maintainer(s), would it be possible for python3-pyspf to use alternatives for /usr/bin/spfquery?
This message is a reminder that Fedora Linux 40 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 40 on 2025-05-13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '40'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 40 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
This continues to be an issue in Fedora 42: ~]# rpm -q --file /usr/bin/spfquery perl-Mail-SPF-3.20240923-2.fc42.noarch python3-pyspf-2.0.14-22.fc42.noarch