<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>is anyone who can help me?</div><div><br>在 2015年2月1日,下午2:51,Pillar Zuo <<a href="mailto:zuobaozhu@gmail.com">zuobaozhu@gmail.com</a>> 写道:<br><br></div><blockquote type="cite"><div><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 11pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style>
<div><span></span>Hi,</div><div><span style="background-color: rgba(0, 0, 0, 0);">    After I set date."datae -s 20150201".but It was still print error.</span></div><div><span style="background-color: rgba(0, 0, 0, 0);">root@localhost:~# snappy versions
<br>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
<br>Part   Tag   Installed  Available  Fingerprint     Active  
<br>webdm  edge  0.1        -          ff82f70a04b014  *       
<br>Traceback (most recent call last):
<br>  File "/usr/bin/snappy", line 25, in <module>
<br>    status = Main().__main__()
<br>  File "/usr/lib/python3/dist-packages/snappy/main.py", line 195, in __main__
<br>    return callback(args)
<br>  File "/usr/lib/python3/dist-packages/snappy/main.py", line 383, in _do_versions
<br>    SystemImageDataSource().next_boot_is_other():
<br>  File "/usr/lib/python3/dist-packages/snappy/systemimage.py", line 73, in __init__
<br>    self.bus = dbus.SystemBus()
<br>  File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 194, in __new__
<br>    private=private)
<br>  File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 100, in __new__
<br>    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
<br>  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 122, in __new__
<br>    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
<br>dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory</span></div><div><span style="background-color: rgba(0, 0, 0, 0);"><br></span></div><div><span style="background-color: rgba(0, 0, 0, 0);">and we didnt have hardware rtc module.</span></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>zuobaozhu@gmail</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:asac@canonical.com">Alexander Sack</a></div><div><b>Date:</b> 2015-01-30 20:27</div><div><b>To:</b> <a href="mailto:zuobaozhu@gmail.com">Pillar Zuo</a></div><div><b>CC:</b> <a href="mailto:snappy-devel@lists.ubuntu.com">snappy-devel</a></div><div><b>Subject:</b> Re: snappy versions print error</div></div></div><div><div>Hi,</div>
<div> </div>
<div>On Fri, Jan 30, 2015 at 12:38 PM, Pillar Zuo <<a href="mailto:zuobaozhu@gmail.com">zuobaozhu@gmail.com</a>> wrote:</div>
<div>> Hi</div>
<div>>     I have ported snappy to pcDuino V3,but when do "snappy versions"</div>
<div>> <a href="http://order.it">order.it</a> print</div>
<div>> root@localhost:~# snappy versions</div>
<div>> WARNING: failed to connect to dbus: org.freedesktop.DBus.Error.FileNotFound:</div>
<div>> Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or</div>
<div>> directory</div>
<div>> Traceback (most recent call last):</div>
<div>> File "/usr/bin/snappy", line 25, in <module></div>
<div>> status = Main().__main__()</div>
<div>> File "/usr/lib/python3/dist-packages/snappy/main.py", line 195, in __main__</div>
<div>> return callback(args)</div>
<div>> File "/usr/lib/python3/dist-packages/snappy/main.py", line 335, in</div>
<div>> _do_versions</div>
<div>> click_versions = ClickDataSource().versions(all)</div>
<div>> File "/usr/lib/python3/dist-packages/snappy/click.py", line 189, in versions</div>
<div>> all_updates_list = repo.get_upgradable()</div>
<div>> File "/usr/lib/python3/dist-packages/click/repository.py", line 183, in</div>
<div>> get_upgradable</div>
<div>> headers={"content-type": "application/json"})</div>
<div>> File "/usr/lib/python3/dist-packages/click/network.py", line 70, in</div>
<div>> http_request</div>
<div>> curl.perform()</div>
<div>> pycurl.error: (60, 'server certificate verification failed. CAfile:</div>
<div>> /etc/ssl/certs/ca-certificates.crt CRLfile: none')</div>
<div>> root@localhost:~#</div>
<div>></div>
<div>> and I cannt do "snappy update" "snappy install xxxxx",</div>
<div>> is enyone who knows what happened?</div>
<div> </div>
<div>This usually happens if the time/date is bogus on your host; maybe</div>
<div>check, set it to be something close to present and retry.</div>
<div> </div>
<div>Since dev boards often don't come with a clock battery we use the</div>
<div>fixrtc hint on kernel cmdline to mitigate that fact; this feature we</div>
<div>ship in our initramfs will set the date on boot to the last mount time</div>
<div>if thats ahead of what the system clock is set to.</div>
<div> </div>
<div> - Alexander</div>
</div></blockquote>
</div></blockquote></body></html>