[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#811036: wireshark-qt: aborts immediately



Bálint Réczey writes:

> Hi Olaf,
>
> 2016-01-15 5:51 GMT+01:00 Olaf Meeuwissen <olaf.meeuwissen@avasys.jp>:
>> Package: wireshark-qt
>> Version: 2.0.0+g9a73b82-1
>> Severity: grave
>>
>> Dear Maintainer,
>>
>> I tried starting wireshark from the comman-line and it immediately
>> aborted.  Like so:
>>
>>   $ wireshark
>>   This application failed to start because it could not find or load the Qt platform plugin "xcb".
>>
>>   Available platform plugins are: linuxfb, minimal, minimalegl, offscreen.
>>
>>   Reinstalling the application may fix this problem.
>>   Aborted
>>
>> I had expected it to start like it used to do.  I don't recall when I
>> last used it.  I keep my system up-to-date with unattended-upgrades and
>> my logs indicate wireshark-qt was installed on 2015-12-01 with the
>> upgrade of wireshark from 1.12.8+g5b6e543-2 to 2.0.0+g9a73b82-1.  I do
>> remember being surprised at the changed look-and-feel of wireshark, so I
>> am pretty sure that I have run wireshark-qt successfully in the past.

> Please install libqt5xcbqpa5 to let it run again.
>
> I suspect you installed wireshark/libqt5gui5 with --no-install-recommends,
> since libqt5gui5 recommends libqt5xcbqpa5:

Almost, I ran unattended-upgrade and my apt.conf has

  APT::Install-Recommends              "false";
  Apt::AutoRemove::RecommendsImportant "false";
  Unattended-Upgrade::Remove-Unused-Dependencies "true";

> Package: libqt5gui5
> Source: qtbase-opensource-src
> Version: 5.5.1+dfsg-12
> Installed-Size: 7096
> Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
> Architecture: amd64
> ...
> Recommends: libqt5svg5, libqt5xcbqpa5
>
> --no-install-recommends may cause parts of functionality not available
> in packages.

Well, in this case *all* of the functionality was not available.  The
wireshark executable is the only thing in /usr/bin/ of wireshark-qt.

> It that was the case, please close the bug since the default behavior
> of installing all
> needed packages for proper operation was overridden.

I think we have different opinions on what is "needed" for proper
operation.  From Debian Policy, section 7.2 under `Depends`:

  The `Depends` field should be used if the depended-on package is
  required for the depending package to provide a significant amount
  of functionality.

I would argue that showing the GUI is a prerequisite for any of the
functionality.  The GUI isn't shown, hence, zero functionality.

I don't know how wireshark-qt obtained the dependency but it needs that
xcb plugin very badly to provide any functionality.  Can't you add the
libqt5xcbqpa5 dependency to wireshark-qt (even if only temporarily)?

BTW, now that I found out that there is a wireshark-gtk package as well
I will replace wireshark-qt with that.  It'll fit in better on my Xfce4
desktop.

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2       FLOSS Engineer -- EPSON AVASYS CORPORATION
       Free Software Foundation Associate Member since 2004-01-27
    Support Free Software                  https://my.fsf.org/donate
    Support the Free Software Foundation     https://my.fsf.org/join


Reply to: