| Summary: | wireshark-gtk-2.2.2-3.fc26 scriptlet failures on upgrade | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Kevin Fenzi <kevin> |
| Component: | wireshark | Assignee: | Peter Hatina <phatina> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 26 | CC: | alekcejk, goeran, huzaifas, john.mellor, lemenkov, msehnout, phatina, rvokal, thib |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-07-21 08:54:38 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Kevin Fenzi
2016-12-01 17:41:08 UTC
.(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. *** |