Command to check for updates?

Max Brustkern max.brustkern at
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Snapcraft mailing list