Ubuntu 20.04 repos have a fairly outdated release of Wireshark, and the other day when trying to open a packet capture I got the below error:
After doing an apt-get update && apt-get upgrade wireshark, the version of Wireshark, and the issue remained.
I have compiled Wireshark from source before, but it’s a real headache, so instead I just added the Wireshark PPA with:
sudo add-apt-repository ppa:wireshark-dev/stable
sudo apt-get update -y
sudo apt-get upgrade wireshark
And presto, latest (stable) build of Wireshark, and error gone when opening PCAPs!