Bug#819721: [qgis] Desktop entry for qgis and qbrowser broken

Bas Couwenberg sebastic at xs4all.nl
Mon Apr 4 13:18:20 UTC 2016


On 2016-04-04 15:02, Leonhard Weber wrote:
> Based on your explanation I proceeded to do some more digging...
> 
> You're right, qgis does everything properly:
> 
>>> dpkg -L qgis
> [...]
> diverted by qgis-plugin-grass to: /usr/bin/qgis.bin *<<
> qgis-plugin-grass plugin diverts /usr/bin/qgis leaving the qgis.desktop
> dangling*
> /usr/bin/qbrowser
> diverted by qgis-plugin-grass to: /usr/bin/qbrowser.bin *<<
> qgis-plugin-grass plugin diverts it /usr/bin/qbrowser the
> qbrowser.desktop dangling*
> 
> This left me with an unusable .desktop (in GNOME it does not even 
> appear
> anymore, it seems to check if it points to a valid executable), which
> ended in users calling me up asking "where their qgis went".
> 
> qgis draws qgis-plugin-grass automatically as it is categorized as
> "recomended" dependency. Fortunately no one I know at my workplace uses
> it, so manually removing it solves my specific problem. It does mean
> though, that qgis-plugin-grass currently breaks the qgis package.
> 
> It may be reasonable to conclude that this is just an unintended
> duplicate or at least related to #817176.

It's definitely not a duplicate, #817176 is about upgrade failure 
because the diversions were not removed properly in 2.14. The QGIS 2.8 
backport still uses the diversions, and as long as we can't switch to 
Qt5 we can't resolve the RC bug that is preventing further backport 
updates.

GNOME should work with the diverted binaries too, the shell script 
wrappers installed as /usr/bin/{qgis,qbrowser} are valid executables 
too.

If the shell wrappers are missing, you need to troubleshoot the 
upgrade/installation procedure to see what happened.

Kind Regards,

Bas



More information about the Pkg-grass-devel mailing list