Bug 1401216

Summary: Wireshark package contains no binary file
Product: [Fedora] Fedora Reporter: Vincent <info>
Component: wiresharkAssignee: Peter Hatina <phatina>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 25CC: huzaifas, jnicol, lemenkov, msehnout, phatina, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-21 14:05:17 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 Vincent 2016-12-03 14:57:04 UTC
Description of problem:
Installing the Wireshark package via DNF yields no binaries, so it's not possibe to execute wireshark 

Version-Release number of selected component (if applicable):
Name        : wireshark
Version     : 2.2.2
Release     : 2.fc25
Architecture: x86_64

How reproducible:
N/A - the binary isn't there

Steps to Reproduce:
1. DNF INSTALL wireshark-2.2.2-2.fc25.x86_64  
2. # wireshark
   -bash: /sbin/wireshark: No such file or directory
3.

Actual results:


Expected results:
A GUI interface. I used it this morning on Fedora 24 with no problems. Now, I removed F24, installed F25, and I can't use F25 any more.

Additional info:

# rpm -ql wireshark
(contains no files)

# find / -iname wireshark 2> /dev/null
/usr/lib64/wireshark
/usr/share/selinux/targeted/default/active/modules/100/wireshark
/usr/share/wireshark

# ll /usr/lib64/wireshark/plugins
docsis.so
gryphon.so  
m2m.so
opcua.so
stats_tree.so
wimaxasncp.so
wimax.so
ethercat.so
irda.so
mate.so
profinet.so
unistim.so
wimaxmacphy.so

# ll /usr/share/wireshark
androiddump.html  
colorfilters
dtds
ipmap.html
radius
services
tshark.html
AUTHORS-SHORT
COPYING
dumpcap.html
manuf
randpktdump.html
smi_modules
wimaxasncp
capinfos.html
dfilters
editcap.html
mergecap.html
randpkt.html 
sshdump.html
wireshark-filter.html
cfilters 
dftest.html 
extcap.html 
pdml2html.xsl
rawshark.html 
text2pcap.html 
wireshark.html
ciscodump.html 
diameter  
help  
profiles 
reordercap.html
tpncp 
ws.css

Comment 1 Vincent 2016-12-03 15:01:51 UTC
********* CORRECTION *******
Expected results:
A GUI interface. I used Wireshark on my Fedora 24 without problems this morning. Now, I removed F24, installed F25, and I can't use Wireshark any more.

Comment 2 Martin Sehnoutka 2016-12-06 10:04:57 UTC
Wireshark package is divided into wireshark-gtk and wireshark-qt. You need to install one of these packages in order to have executable wireshark.

Comment 3 Vincent 2016-12-07 06:05:09 UTC
Thank you for the information; isn't better to remove the "wireshark" package and offer only the gtk and qt packages?

After installing either of those packages (gtk/qt), wireshark gives the following error: "Unable to init server: Could not connect: Connection refused (wireshark-gtk:2184): Gtk-WARNING **: cannot open display: :0"

Fedora 25 resorted to Wayland as the display server protocol and this could  be related to the error. Is this a bug or by design (and the user has to configure his system differently)?

Comment 4 Martin Sehnoutka 2016-12-07 15:37:05 UTC
That is not possible, they both are part of "wireshark" package and cannot be separated.

There should be no problem with connecting to display server. If this problem remains, please try to sum up steps to reproduce and fill in bug against appropriate component (e.g. Gtk or Wayland)

Comment 5 Jonathan Nicol 2017-11-07 18:13:17 UTC
dnf install wireshark

rpm -ql wireshark 
(contains no files)

This is stupid. I have to look up in a bugtracker how to properly install a program?