← 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

 

Hello Thomi, or anyone else affected,

Accepted snapd into xenial-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/snapd/2.0.5 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Also affects: snapd (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: snapd (Ubuntu Xenial)
       Status: New => Fix Committed

** Tags added: verification-needed

-- 
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:
  In Progress
Status in snapd package in Ubuntu:
  New
Status in snapd source package in Xenial:
  Fix Committed

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