Bug 989154 - Current wireshark rpm (wireshark-1.10.0-2.fc19.x86_64.rpm) fails to install binary
Summary: Current wireshark rpm (wireshark-1.10.0-2.fc19.x86_64.rpm) fails to install b...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: wireshark
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Peter Hatina
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-28 01:41 UTC by bob mckay
Modified: 2016-06-01 01:31 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-08-15 13:08:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description bob mckay 2013-07-28 01:41:20 UTC
Description of problem: A yum install of wireshark currently installs all support files, but does not install the binary.

Version-Release number of selected component (if applicable):
wireshark-1.10.0-2.fc19.x86_64.rpm  

How reproducible:
Always

Steps to Reproduce:
1. Run "yum install wireshark" on an F19 system without wireshark

Actual results:
Wireshark support files (in /usr/lib64, /usr/share, /usr/man, /usr/doc) are installed, but the binary in /sbin->/usr/sbin is not installed.

Expected results:
The binary is installed.

Additional info:
I have tried this on three different machines, one real and two virtual, one a new install of F19, the other two upgrades from F18, with the same result each time. I'm happy to supply any additional information I can, but I couldn't find anything useful myself (nothing in /var/log/messages or yum.log indicating anything abnormal). I have also tried other installs of new packages, which all worked OK, so it doesn't seem to be a yum configuration problem, but rather specific to wireshark. Puzzlingly, the yum install also passes the verification stage with no errors.

Comment 1 Grzegorz Śmierzchalski 2013-08-12 07:18:40 UTC
Install wireshark-gnome. There is a binary

Comment 2 Peter Hatina 2013-08-15 13:08:52 UTC
Yes, Fedora splits Wireshark project into 2 packages:

Info from yum info wireshark*

* wireshark -- contains command-line utilities, plugins and documentation for wireshark.
* wireshark-gnome -- Gnome desktop integration for wireshark

Closing.

Comment 3 bob mckay 2013-08-16 00:35:47 UTC
You're right, I knew that, that's why it's working on my other machines... Please blame a senior moment (well maybe a senior hour or so 8^). On the other hand, perhaps we have a lot of seniors, newbies etc. using fedora, and maybe even wireshark.

So... please may I change this to an RFE (and a very small one).  

The behaviour of wireshark in this respect is somewhat anomalous. Abstractly, it consists of package xyz not installing the binary xyz, but instead, some other package (xyz-desktop, xyz-gnome or whatever) installing the binary xyz. Most packages don't do this - for most packages, if an xyz binary makes any sense, package xyz installs the binary xyz, and xyz-desktop installs something like xyz-desktop binary. I'm sure I'm not the only one for whom wireshark's unusual packaging has caused confusion.

How about having wireshark install a shell script like this, say in /usr/sbin or somewhere likely to be low priority on the user path:

#!/bin/sh

echo "wireshark binary does not exist"
echo "if you want it, you probably need to install a front-end such as wireshark-gnome"

and then have wireshark-gnome install over it...


Note You need to log in before you can comment on or make changes to this bug.