Bug#685267: xdg-utils: Fails on GNOME 3 since neither gnome-open or gvfs-open are guaranteed to be present

Per Olofsson pelle at dsv.su.se
Sun Aug 19 12:30:06 UTC 2012


clone 685267 -1
severity -1 important
severity 685267 normal
reassign 685267 gnome-session-common
retitle 685267 Please depend on or recommend gvfs-bin
thanks

Hi Simon,

2012-08-19 02:33, Simrun Basuita skrev:
> Package: xdg-utils
> Version: 1.1.0~rc1+git20111210-6
> Severity: grave
> Justification: renders package unusable

Do you really think that this bug "makes the package in question
unusable by most or all users"?

It only affects GNOME, and you do get gvfs-open if you install Gnome
using the gnome package or the task-gnome-desktop package.

> Running xdg-open against any file fails with the error:
> /usr/bin/xdg-open: 491: /usr/bin/xdg-open: gnome-open: not found
> 
> This is because neither gvfs-open or gnome-open are on my system. There must
> be an issue with dependencies such that gvfs-bin is never installed. I
> installed GNOME 3 via the gnome-core package.
> 
> The problem is indeed fixed by installing the package gvfs-bin.
> 
> I am note sure where the most appropriate place would be to add the necessary
> Depends/Recommends on gvfs-bin.

I think the correct place is probably gnome-session-common, since
gvfs-open should be used if you are running a GNOME session. Reassigning.

In the mean time, there is a generic mechanism in xdg-open which should
be used when gvfs-open is unavailable. It seems that the fallback for
gnome was lost in some version. I will put it back.

Thank you for reporting!

-- 
Pelle



More information about the pkg-gnome-maintainers mailing list