Command to check for updates?

Max Brustkern max.brustkern at canonical.com
Fri Jan 13 20:33:47 UTC 2017


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.

Thanks,
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170113/0cb3b73e/attachment.html>


More information about the Snapcraft mailing list