Hide Forgot
Upgrading : wireshark-gtk-2.2.2-3.fc26.x86_64 34/75 the primary link for wireshark must be /usr/sbin/wireshark warning: %post(wireshark-gtk-2.2.2-3.fc26.x86_64) scriptlet failed, exit status 2 Non-fatal POSTIN scriptlet failure in rpm package wireshark-gtk Non-fatal POSTIN scriptlet failure in rpm package wireshark-gtk
.(In reply to Kevin Fenzi from comment #0) > the primary link for wireshark must be /usr/sbin/wireshark I've moved wireshark into /usb/bin directory yesterday (bug #1393855) Could you provide me with more detailed description? e.g. complete output of `dnf update -v`.
Detailed description: update-alternatives fails in %post scriptlet because the wireshark was moved from /usr/sbin to /usr/bin Steps to reproduce: 1. Install the old version: # rpm -q wireshark-gtk wireshark-gtk-2.2.2-2.fc26.x86_64 # update-alternatives --list | grep wireshark wireshark auto /usr/sbin/wireshark-gtk 2. Install the new version and watch it fail: # dnf install ... Upgrading: wireshark-2.2.2-3.fc26.x86_64 2/6 Upgrading: wireshark-gtk-2.2.2-3.fc26.x86_64 3/6 the primary link for wireshark must be /usr/sbin/wireshark warning: %post(wireshark-gtk-2.2.2-3.fc26.x86_64) scriptlet failed, exit status 2 Non-fatal POSTIN scriptlet failure in rpm package wireshark-gtk Non-fatal POSTIN scriptlet failure in rpm package wireshark-gtk Cleanup: wireshark-gtk-2.2.2-2.fc26.x86_64 4/6 Cleanup: wireshark-2.2.2-2.fc26.x86_64 5/6 ... # rpm -q wireshark-gtk wireshark-gtk-2.2.2-3.fc26.x86_64 # update-alternatives --list | grep wireshark wireshark auto /usr/sbin/wireshark-gtk Possible work around: # update-alternatives --remove wireshark /usr/sbin/wireshark-gtk # update-alternatives --install /usr/bin/wireshark wireshark /usr/bin/wireshark-gtk 10
The same in wireshark-qt Upgrading : wireshark-qt-2.2.2-3.fc26.i686 the primary link for wireshark must be /usr/sbin/wireshark warning: %post(wireshark-qt-2.2.2-3.fc26.i686) 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 Also wireshark.desktop from wireshark-qt can't run wireshark-qt. There is TryExec=/usr/sbin/wireshark in wireshark.desktop but both /usr/sbin/wireshark and /usr/bin/wireshark are missing.
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'.
This bug has been fixed before f26 GA.
Not fixed again: Running scriptlet: wireshark-gtk-2.2.8-1.fc26.x86_64 20/54 Upgrading : wireshark-gtk-2.2.8-1.fc26.x86_64 20/54 Running scriptlet: wireshark-gtk-2.2.8-1.fc26.x86_64 20/54 the primary link for wireshark must be /usr/sbin/wireshark warning: %post(wireshark-gtk-2.2.8-1.fc26.x86_64) scriptlet failed, exit status 2 Non-fatal POSTIN scriptlet failure in rpm package wireshark-gtk Non-fatal POSTIN scriptlet failure in rpm package wireshark-gtk $ uname -r 4.11.11-300.fc26.x86_64 $
Yes, I know. There was no fix in this update.
*** Bug 1610050 has been marked as a duplicate of this bug. ***