group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #04587
[Bug 1568131] Re: Terse error message when package cannot be found
** Changed in: snapcraft
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 Committed
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