snappy versions print error

Alexander Sack asac at
Fri Jan 30 12:27:10 UTC 2015


On Fri, Jan 30, 2015 at 12:38 PM, Pillar Zuo <zuobaozhu at> wrote:
> Hi
>     I have ported snappy to pcDuino V3,but when do "snappy versions"
> print
> root at localhost:~# snappy versions
> WARNING: failed to connect to dbus: org.freedesktop.DBus.Error.FileNotFound:
> Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or
> directory
> Traceback (most recent call last):
> File "/usr/bin/snappy", line 25, in <module>
> status = Main().__main__()
> File "/usr/lib/python3/dist-packages/snappy/", line 195, in __main__
> return callback(args)
> File "/usr/lib/python3/dist-packages/snappy/", line 335, in
> _do_versions
> click_versions = ClickDataSource().versions(all)
> File "/usr/lib/python3/dist-packages/snappy/", line 189, in versions
> all_updates_list = repo.get_upgradable()
> File "/usr/lib/python3/dist-packages/click/", line 183, in
> get_upgradable
> headers={"content-type": "application/json"})
> File "/usr/lib/python3/dist-packages/click/", line 70, in
> http_request
> curl.perform()
> pycurl.error: (60, 'server certificate verification failed. CAfile:
> /etc/ssl/certs/ca-certificates.crt CRLfile: none')
> root at localhost:~#
> and I cannt do "snappy update" "snappy install xxxxx",
> is enyone who knows what happened?

This usually happens if the time/date is bogus on your host; maybe
check, set it to be something close to present and retry.

Since dev boards often don't come with a clock battery we use the
fixrtc hint on kernel cmdline to mitigate that fact; this feature we
ship in our initramfs will set the date on boot to the last mount time
if thats ahead of what the system clock is set to.

 - Alexander

More information about the snappy-devel mailing list