It's 2021, and this issue still exists. In my case with qdbus command, installing and re-installing qt5-default does not help. The solution of @yatsek worked:
qdbus: could not find a Qt installation of '' $ sudo apt-get install apt-file $ sudo apt-file update $ apt-file search /usr/lib/qt5/bin/qdbus qdbus-qt5: /usr/lib/qt5/bin/qdbus qtbase5-dev-tools: /usr/lib/qt5/bin/qdbuscpp2xml qtbase5-dev-tools: /usr/lib/qt5/bin/qdbusxml2cpp qttools5-dev-tools: /usr/lib/qt5/bin/qdbusviewer $ sudo apt-get install qdbus-qt5 Voila! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qt4-x11 in Ubuntu. https://bugs.launchpad.net/bugs/1251178 Title: qdbus and qdbusviewer crash with "No such file or directory" Status in qt4-x11 package in Ubuntu: Confirmed Status in qtchooser package in Ubuntu: Confirmed Bug description: Release: Ubuntu 13.10 (32-bit) Package versions: qtdbus 4:4.8.4+dfsg-0ubuntu18 qtchooser 26-3ubuntu2 Expected behavior: The `qdbus` program runs, as does the related program `qdbusviewer`. Actual behavior: If I run the `qdbus` program, it always crashes: user@host:~$ qdbus --help qdbus: could not exec '/usr/lib/i386-linux-gnu/qt5/bin/qdbus': No such file or directory The `qdbus` executable is actually: user@host:~$ ls --full-time $(which qdbus) lrwxrwxrwx 1 root root 9 2013-08-07 14:48:40.000000000 +0000 /usr/bin/qdbus -> qtchooser Note that `/usr/lib/i386-linux-gnu/qt4/bin/qdbus` exists and seems to work if I invoke it directly. There's a `qdbus-qt5` package in the universe repository. It was not pulled in as a dependency, but manually installing it fixes the issue. Therefore it's either a packaging error or a bug in qtchooser. A similar thing happens if I run `qdbusviewer`: user@host:~$ qdbusviewer qdbusviewer: could not exec '/usr/lib/i386-linux-gnu/qt5/bin/qdbusviewer': No such file or directory except that installing `qdbus-qt5` doesn't fix the issue. ProblemType: Bug DistroRelease: Ubuntu 13.10 Package: qdbus 4:4.8.4+dfsg-0ubuntu18 ProcVersionSignature: Ubuntu 3.11.0-13.20-generic 3.11.6 Uname: Linux 3.11.0-13-generic i686 ApportVersion: 2.12.5-0ubuntu2.1 Architecture: i386 Date: Thu Nov 14 09:34:24 2013 MarkForUpload: True SourcePackage: qt4-x11 UpgradeStatus: Upgraded to saucy on 2013-10-23 (22 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1251178/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp