← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1574829] Re: snappy install requires root or login, but doesn't tell you so

 

** Changed in: snappy
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1574829

Title:
  snappy install requires root or login, but doesn't tell you so

Status in Snappy:
  Fix Released
Status in snapd package in Ubuntu:
  Fix Released
Status in snapd source package in Xenial:
  Fix Released

Bug description:
  A new user will try and run something similar to the following:

  $ snap install foo

  Only to be given this error message:

  "error: access denied"

  This isn't particularly friendly. They might then look at the help
  docs for the install command:

  $ snap install -h
  Usage:
    snap [OPTIONS] install [install-OPTIONS] <snap>

  The install command installs and activates the named snap in the
  system.

  Help Options:
    -h, --help         Show this help message

  [install command options]
            --channel= Install from this channel instead of the device's default
            --devmode  Install the snap with non-enforcing security

  
  ...which never mentions the fact that this command requires root. I think two things should be tweaked here:

  1) The error message when root access is not available should be
  something much nicer, perhaps "Error: 'snap install' requires root
  access. Please re-run with 'sudo snap install <packagename>'."

  2) The help docs for 'snap install' shold mention at the top that this
  command requires root.

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1574829/+subscriptions