Public bug reported:

gvfs-open --help prints following text and fails

This tool has been deprecated, use 'gio open' instead.
See 'gio help open' for more info.

/usr/bin/gvfs-open: 10: [: --help: unexpected operator
/usr/bin/gvfs-open: 10: [: --help: unexpected operator
gio: Unknown option --help

Usage:
  gio open LOCATION...

Open files with the default application that
is registered to handle files of this type.

Reason:
gvfs-open uses wrong comparison operator.
command '[' compares strings using single '=' character. 
'/usr/bin/[' and bash builtin [ also allow '==', but dash (which currently used 
as /bin/sh) requires '='.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gvfs-bin 1.34.0-0ubuntu1
ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
Uname: Linux 4.13.0-12-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Sep 28 22:42:59 2017
InstallationDate: Installed on 2017-04-10 (171 days ago)
InstallationMedia: Ubuntu-GNOME 17.04 "Zesty Zapus" - Beta amd64 (20170408)
SourcePackage: gvfs
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gvfs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug artful

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/1720199

Title:
  gvfs-open --help returns 1 exit code

Status in gvfs package in Ubuntu:
  New

Bug description:
  gvfs-open --help prints following text and fails

  This tool has been deprecated, use 'gio open' instead.
  See 'gio help open' for more info.

  /usr/bin/gvfs-open: 10: [: --help: unexpected operator
  /usr/bin/gvfs-open: 10: [: --help: unexpected operator
  gio: Unknown option --help

  Usage:
    gio open LOCATION...

  Open files with the default application that
  is registered to handle files of this type.

  Reason:
  gvfs-open uses wrong comparison operator.
  command '[' compares strings using single '=' character. 
  '/usr/bin/[' and bash builtin [ also allow '==', but dash (which currently 
used as /bin/sh) requires '='.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: gvfs-bin 1.34.0-0ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
  Uname: Linux 4.13.0-12-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.7-0ubuntu1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Thu Sep 28 22:42:59 2017
  InstallationDate: Installed on 2017-04-10 (171 days ago)
  InstallationMedia: Ubuntu-GNOME 17.04 "Zesty Zapus" - Beta amd64 (20170408)
  SourcePackage: gvfs
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1720199/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to