POSTRANS scriptlet in dnf upgrade resulted in: ln: failed to create symbolic link '/usr/share/calibre/mathjax3': File exists warning: %posttrans(calibre-6.28.1-2.fc39.x86_64) scriptlet failed, exit status 1 Error in POSTTRANS scriptlet in rpm package calibre Reproducible: Didn't try Steps to Reproduce: 1. Run sudo dnf upgrade on F39 workstation 2. Updated calibre to calibre-6.28.1-2.fc39.x86_64 3. Observe error message Actual Results: ln: failed to create symbolic link '/usr/share/calibre/mathjax3': File exists warning: %posttrans(calibre-6.28.1-2.fc39.x86_64) scriptlet failed, exit status 1 Expected Results: No warning or error message
Can you provide the output of 'rpm -q mathjax3' and 'rpm -V mathjax3' ? also: 'ls -l /usr/share/calibre/mathjax3'
I just hit this today (fc39, calibre-7.3.0-1) Running scriptlet: calibre-7.3.0-1.fc39.x86_64 1042/1042 ln: failed to create symbolic link '/usr/share/calibre/mathjax3': File exists warning: %posttrans(calibre-7.3.0-1.fc39.x86_64) scriptlet failed, exit status 1 Error in POSTTRANS scriptlet in rpm package calibre rpm -q mathjax3 outputs: ``` mathjax3-3.2.2-3.fc39.noarch ``` rpm -V mathjax3 outputs nothing: ``` ``` ls -l /usr/share/calibre/mathjax3 outputs: ``` lrwxrwxrwx. 1 root root 14 Nov 22 18:08 /usr/share/calibre/mathjax3 -> mathjax-fedora ``` I'm also able to reproduce this by doing a `dnf reinstall calibre`
Hello Same problem for me with Fedora 40 update: https://bodhi.fedoraproject.org/updates/FEDORA-2024-c9a2438d21 installed Ok then a sudo dnf install calibre --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-c9a2438d21 functionnal OK goal Scriptlet execution: calibre-7.9.0-5.fc40.x86_64 34/34 ln: cannot create symbolic link '/usr/share/calibre/mathjax3': File exists attention: %posttrans(calibre-7.9.0-5.fc40.x86_64) scriptlet failed, output state 1 Error in POSTTRANS scriptlet in rpm package calibre
So, this was fixed in 7.10.0 (which f40 should have a newer one now). I'll look at pushing a update for f39.
FEDORA-2024-4b7bf4dc82 (calibre-7.3.0-3.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-4b7bf4dc82
FEDORA-2024-4b7bf4dc82 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-4b7bf4dc82` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-4b7bf4dc82 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-4b7bf4dc82 (calibre-7.3.0-3.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.