snappy versions print error

Pillar Zuo zuobaozhu at gmail.com
Sun Feb 1 06:51:32 UTC 2015


Hi,
    After I set date."datae -s 20150201".but It was still print error.
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 
Part Tag Installed Available Fingerprint Active 
webdm edge 0.1 - ff82f70a04b014 * 
Traceback (most recent call last): 
File "/usr/bin/snappy", line 25, in <module> 
status = Main().__main__() 
File "/usr/lib/python3/dist-packages/snappy/main.py", line 195, in __main__ 
return callback(args) 
File "/usr/lib/python3/dist-packages/snappy/main.py", line 383, in _do_versions 
SystemImageDataSource().next_boot_is_other(): 
File "/usr/lib/python3/dist-packages/snappy/systemimage.py", line 73, in __init__ 
self.bus = dbus.SystemBus() 
File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 194, in __new__ 
private=private) 
File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 100, in __new__ 
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop) 
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 122, in __new__ 
bus = cls._new_for_bus(address_or_type, mainloop=mainloop) 
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

and we didnt have hardware rtc module.



zuobaozhu at gmail
 
From: Alexander Sack
Date: 2015-01-30 20:27
To: Pillar Zuo
CC: snappy-devel
Subject: Re: snappy versions print error
Hi,
 
On Fri, Jan 30, 2015 at 12:38 PM, Pillar Zuo <zuobaozhu at gmail.com> wrote:
> Hi
>     I have ported snappy to pcDuino V3,but when do "snappy versions"
> order.it 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/main.py", line 195, in __main__
> return callback(args)
> File "/usr/lib/python3/dist-packages/snappy/main.py", line 335, in
> _do_versions
> click_versions = ClickDataSource().versions(all)
> File "/usr/lib/python3/dist-packages/snappy/click.py", line 189, in versions
> all_updates_list = repo.get_upgradable()
> File "/usr/lib/python3/dist-packages/click/repository.py", line 183, in
> get_upgradable
> headers={"content-type": "application/json"})
> File "/usr/lib/python3/dist-packages/click/network.py", 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20150201/d3dcad06/attachment.html>


More information about the snappy-devel mailing list