Command to check for updates?

Stuart Bishop stuart.bishop at canonical.com
Mon Jan 16 04:54:15 UTC 2017


On 14 January 2017 at 03:33, Max Brustkern <max.brustkern at canonical.com>
wrote:

> I'm attempting to run automated upgrade tests from the stable release to
> candidate versions. If I run
> snap refresh x
> and there is no new version of x, the snap command exits with status 1. Is
> there a command I can use to check if an update is available and only
> install in that case? Right now I don't know how to distinguish an update
> failure from a case where the system is already up to date.
>

According to https://bugs.launchpad.net/layer-snap/+bug/1588322 , this was
supposed to have been fixed with 2.18.


-- 
Stuart Bishop <stuart.bishop at canonical.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170116/101ec0be/attachment.html>


More information about the Snapcraft mailing list