← 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.1

---------------
snapcraft (2.10.1) xenial; urgency=medium

  * Backwards compatible clean with strip (#556) (LP: #1590256)

 -- Sergio Schvezov <sergiusens@xxxxxxxxx>  Wed, 08 Jun 2016 16:32:27
-0300

** Changed in: snapcraft (Ubuntu Xenial)
       Status: Fix Committed => 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 Released
Status in snapcraft package in Ubuntu:
  Fix Released
Status in snapcraft source package in Xenial:
  Fix Released
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