← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1568131] Re: Terse error message when package cannot be found

 

This bug was fixed in the package snapcraft - 2.10+16.10

---------------
snapcraft (2.10+16.10) yakkety; urgency=medium

  [ Martin Wimpress ]
  * Correct autotools tests to use configflags (#521)

  [ Leo Arias ]
  * Run the integration tests against a local fake server when the user
    password is not in the environment. (#511) (LP: #1585023)
  * Move the login and logout methods to a client. (#518) (LP: #1586504)
  * Improve the config handling. (#519) (LP: #1586511)
  * Fix the one-time password login. (#529) (LP: #1586832)
  * Moved the download to the store client. (#530) (LP: #1586836)
  * Moved the upload to the store client. (#531) (LP: #1586836)
  * Updated the documentation about the icon. (#542) (LP: #1578231)
  * Improve the error message when a part binary is not found. (#541)
    (LP: #1582367)
  * Reenable the ROS demo for autopackage testing. (#520) (LP: #1588098)
  * Add macaroon support to login, upload and download. (#532) (LP: #1586910)
  * Set the no_proxy environment variable to access the local fake servers.
    (#546) (LP: #1588631)

  [ Stephen Stewart ]
  * nodejs plugin: Support configurable node version (#509) (LP: #1586104)

  [ Kyle Fazzari ]
  * Use correct cross-build packages for ppc64le. (#539) (LP: #1570944)

  [ Sergio Schvezov ]
  * Support zip files as source (#523) (LP: #1577062)
  * A nicer error message for incorrect stage-packages (#524) (LP: #1568131)
  * Support the assumes keyword (#525) (LP: #1586429)
  * Improve the template for snapcraft init (#528) (LP: #1575581)
  * Filter out *.snap from sourcedir (#535) (LP: #1575628)
  * Support setting a gopath for a go project from vcs (#538) (LP: #1583426)
  * Add a ticker for snapping (#540) (LP: #1582955)
  * Rename strip to prime (#543) (LP: #1582515)

  [ Didier Roche ]
  * Wrap plugin list output content (#534) (LP: #1587057)
  * Add snapcraft examples to scaffold getting started tour (#513)
    (LP: #1586137)

  [ Joe Talbott ]
  * Add support for parsing the parts wiki (#545) (LP: #1587583)

 -- Sergio Schvezov <sergio.schvezov@xxxxxxxxxx>  Fri, 03 Jun 2016
13:37:58 -0300

** Changed in: snapcraft (Ubuntu Yakkety)
       Status: New => 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/1568131

Title:
  Terse error message when package cannot be found

Status in Snapcraft:
  Fix Committed
Status in snapcraft package in Ubuntu:
  Fix Released
Status in snapcraft source package in Xenial:
  New
Status in snapcraft source package in Yakkety:
  Fix Released

Bug description:
  I typo'ed the nonexistent libcap instead of libcap2 in stage-packages.
  The resulting error message (snapcraft 2.7) wasn't helpful:

  ev@elsa:~/branches/whoopsie/snappy$ snapcraft
  Preparing to pull whoopsie
  Hit http://security.ubuntu.com/ubuntu xenial-security InRelease
  Hit http://us.archive.ubuntu.com/ubuntu xenial InRelease
  Hit http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
  Fetched 0 B in 0s (0 B/s)
  libcap

  [Impact]

   * There is no error when the package doesn't exist.

   * What snapcraft does is confusing and leads to wasted time trying to
  understand what was wrong.

  [Test Case]

   * Create an snapcraft.yaml with an unexisting stage-package.
   * Run snapcraft.
   * Verify that the error is clear.

  [Regression Potential]

   * Existing stage packages could be affected. Run snapcraft with an
  existing package to confirm it still works.

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