Description of problem: Incorrect install link assumption Version-Release number of selected component (if applicable): wireshark-qt-1:2.6.2-1.fc28.x86_64 How reproducible: N/A, Incorrect Installation issue Steps to Reproduce: 1. normal dnf update Actual results: Upgrading : wireshark-qt-1:2.6.2-1.fc28.x86_64 6/20 Running scriptlet: wireshark-qt-1:2.6.2-1.fc28.x86_64 6/20 the primary link for wireshark must be /usr/sbin/wireshark warning: %post(wireshark-qt-1:2.6.2-1.fc28.x86_64) scriptlet failed, exit status 2 Non-fatal POSTIN scriptlet failure in rpm package wireshark-qt Non-fatal POSTIN scriptlet failure in rpm package wireshark-qt Expected results: normal update Additional info: system is an upgrade from F27 originally
This is a known issue coming from f26. See this comment for the workaround: https://bugzilla.redhat.com/show_bug.cgi?id=1400654#c2 *** This bug has been marked as a duplicate of bug 1400654 ***
Suggested workaround taken from the similar F26 bug does not work. Please re-open issue and fix the wireshark packaging. Workaround log: $ sudo update-alternatives --remove wireshark /usr/sbin/wireshark-gtk [sudo] password for john: /usr/sbin/wireshark-gtk has not been configured as an alternative for wireshark $ update-alternatives --install /usr/bin/wireshark wireshark /usr/bin/wireshark-gtk 10 the primary link for wireshark must be /usr/sbin/wireshark
No, this issues won't be fixed. It is a mystery to me how this bug can be triggered 2 releases after the move from /sbin to /bin. Anyway, it is not important anymore, because Wireshark GTK GUI has been deprecated by upstream and it won't be available in Fedora 29. Try this workaround, which is taken from RPM scriptlet: update-alternatives --remove-all wireshark update-alternatives --install /usr/bin/wireshark wireshark /usr/bin/wireshark-qt
This issue is gone in f29 and newer. It was caused by package gui split between GTK and QT. Wireshark in f29 is Qt only so this issue is no longer relevant.