Command to check for updates?

Max Brustkern max.brustkern at canonical.com
Tue Jan 17 14:37:09 UTC 2017


Excellent, thanks!

On Sun, Jan 15, 2017 at 11:54 PM, Stuart Bishop <stuart.bishop at canonical.com
> wrote:

>
>
> 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>
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170117/5c9d6e0d/attachment.html>


More information about the Snapcraft mailing list