This is a static, read-only archive of Wireshark Q&A. Older questions and answers from October 2017 and earlier can be found at osqa-ask.wireshark.org.
0

empty capture filter is invalid capture filter

asked Jun 10 '26

updated Jun 10 '26

Upgraded wireshark today now I can't use the empty filter. Can't use ether either as is said in man page. This is very frustrating.

      ~ pacman -S wireshark               
error: you cannot perform this operation unless you are root.
➜  ~ pacman -Ss wireshark
extra/termshark 2.4.0-2
    Terminal UI for tshark, inspired by Wireshark
extra/wireshark-cli 4.7.0-1 [installed]
    Network traffic and protocol analyzer/sniffer - CLI tools and data files
extra/wireshark-qt 4.7.0-1 [installed]
    Network traffic and protocol analyzer/sniffer - Qt GUI
➜  ~ sudo downgrade wireshark-qt
loading packages...
warning: downgrading package wireshark-qt (4.7.0-1 => 4.6.6-1)
resolving dependencies...
warning: cannot resolve "libwireshark.so=19-64", a dependency of "wireshark-qt"
warning: cannot resolve "libwiretap.so=16-64", a dependency of "wireshark-qt"
warning: cannot resolve "libwsutil.so=17-64", a dependency of "wireshark-qt"
:: The following package cannot be upgraded due to unresolvable dependencies:
      wireshark-qt

:: Do you want to skip the above package for this upgrade? [y/N]  
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'libwireshark.so=19-64' required by wireshark-qt
:: unable to satisfy dependency 'libwiretap.so=16-64' required by wireshark-qt
:: unable to satisfy dependency 'libwsutil.so=17-64' required by wireshark-qt
➜  ~ sudo downgrade wireshark-cli 
loading packages...
warning: downgrading package wireshark-cli (4.7.0-1 => 4.6.6-1)
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing wireshark-cli (4.6.6-1) breaks dependency 'libwireshark.so=0-64' required by wireshark-qt
:: installing wireshark-cli (4.6.6-1) breaks dependency 'libwiretap.so=0-64' required by wireshark-qt
:: installing wireshark-cli (4.6.6-1) breaks dependency 'libwsutil.so=0-64' required by wireshark-qt
➜  ~ sudo downgrade wireshark-qt 
loading packages...
warning: downgrading package wireshark-qt (4.7.0-1 => 4.6.0-1)
resolving dependencies...
warning: cannot resolve "libwireshark.so=19-64", a dependency of "wireshark-qt"
warning: cannot resolve "libwiretap.so=16-64", a dependency of "wireshark-qt"
warning: cannot resolve "libwsutil.so=17-64", a dependency of "wireshark-qt"
:: The following package cannot be upgraded due to unresolvable dependencies:
      wireshark-qt

:: Do you want to skip the above package for this upgrade? [y/N] 
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'libwireshark.so=19-64' required by wireshark-qt
:: unable to satisfy dependency 'libwiretap.so=16-64' required by wireshark-qt
:: unable to satisfy dependency 'libwsutil.so=17-64' required by wireshark-qt
➜  ~ wireshark                   
 ** (wireshark:17929) 16:19:17.487834 [Epan WARNING] /usr/src/debug/wireshark/wireshark/ui/ui_prefs.c:202 -- ui_prefs_read_pref(): Preference "language" has been converted to "ui_language.language"
Save your preferences to make this change permanent.
 ** (wireshark:17929) 16:19:17.705899 [GUI WARNING] -- Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
 ** (wireshark:17929) 16:21:34.299450 [GUI WARNING] -- This plugin supports grabbing the mouse only for popup windows
 ** (wireshark:17929) 16:21:34.981442 [GUI WARNING] -- This plugin supports grabbing the mouse only for popup windows
 ** (wireshark:17929) 16:21:35.728402 [GUI WARNING] -- This plugin supports grabbing the mouse only for popup windows
 ** (wireshark:17929) 16:21:39.665636 [GUI WARNING] -- This plugin supports grabbing the mouse only for popup windows
 ** (wireshark:17929) 16:21:47.967046 [GUI WARNING] -- This plugin supports grabbing the mouse only for popup windows
 ** (wireshark:17929) 16:21:49.046075 [GUI WARNING] -- This plugin supports grabbing the mouse only for popup windows
 ** (wireshark:17929) 16:24:10.268197 [Capture MESSAGE] -- Capture Start ...
 ** (wireshark:17929) 16:24:10.287054 [Capture MESSAGE] -- Capture started
 ** (wireshark:17929) 16:24:10.287080 [Capture MESSAGE] -- File: "/tmp/wireshark_tap02XUVQ3.pcapng"
 ** (wireshark:17929) 16:24:11.713168 [Capture MESSAGE] -- Capture Stop ...
 ** (wireshark:17929) 16:24:11.727179 [Capture MESSAGE] -- Capture stopped.

Comments

Can you add the output of wireshark -v. It's difficult to tell which version you ended up with in the install log.

User 2763 ( Jun 10 '26 )

Can't use ether either as is said in man page.

If a man page claims that ether, by itself, is a valid capture filter, that man page has an error:

$ tcpdump -i en0 ether
tcpdump: link layer applied in wrong context

"ether" isn't, by itself, a valid capture filter. Do you mean something such as ether proto \ip or ether proto 0x0800 can't be used? (Yes, the backslash in ether proto \ip is necessary; ether proto ip is invalid, because ip is s special keyword in capture filters.)

User 87485 ( Jun 15 '26 )

2 Answers

0

answered Jun 15 '26

updated Jun 16 '26

As Gerald noted, no OS packaging system should be packaging 4.7.x as the current release, as it's an alpha release. I don't know to what extent that's Arch Linux's fault; I don't know by what mechanism they get indications of what the current release of Wireshark is, but whatever it is, it needs to be fixed.

I suggest you report that to the Arch Linux maintainers as a bug in their package system; it should be providing 4.6.6, NOT 4.7.0 or any other 4.7.x release.

Upgraded wireshark today now I can't use the empty filter.

That was bug #21303 "If you double-click an interface in the welcome screen interface list, and have typed nothing in the capture filter box, the system reports an invalid capture filter", which has been fixed - so that bug will not be in the official 5.0 release.

0

answered Jun 10 '26

Arch probably shouldn't be shipping 4.7.0, since as the release notes say "This is an experimental release intended to test new features for Wireshark 5.0." The latest stable release is 4.6.6.

cc-by-sa Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.