Raspberry pi 2 ubuntu

  • Hi Leute,

    ich konnte bisher das Image ubuntu erstellen.
    Leider habe ich folgendes Problem.
    Aufruf: sudo snappy versions, kommt Fehlermeldung:
    div. Hinweise und dies
    server certificate verification failed.
    Die Befehlszeilen snappy funktionieren nicht!
    snappy info oder snappy --help funktionieren.

    Raspi ist mit LAN verbunden!

    Hat jemand das Problem gelöst?

    Gruß
    Kurt
    :s

    http://raspberrypi.umv2ng6wafyjulno.myfritz.net/

    Hier das Protokoll: OK

    ubuntu@localhost:~$ snappy info
    release: ubuntu-core/devel
    frameworks: webdm
    apps:

    Hier die Fehler:

    ubuntu@localhost:~$ snappy versions
    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 334, 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')
    ubuntu@localhost:~$

    Hier als root mit Fehler:

    ubuntu@localhost:~$ sudo bash
    root@localhost:~# snappy update
    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 511, in _do_update
    for pkg in ClickDataSource().upgradable_apps]
    File "/usr/lib/python3/dist-packages/snappy/click.py", line 180, in upgradable_apps
    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@localhost:~#


    Gruß
    Kurt
    =(

    :)

    Einmal editiert, zuletzt von kurt_rasp_neu (6. Februar 2015 um 14:15)

  • Richtig. Aktualisiere die Uhrzeit wie hier beschrieben:
    http://www.viclog.com/entry/snappy-raspberry-pi-2-snap-pi


    Updating the date on the device (if necessary)
    One problem I ran into is that none of the RPi's have a hardware clock, so it can not properly set the system date. This means it will be set to zero epoch time when the device is initially booted. If you execute a date command and see a date in the year 1970 like I did below, then you'll need to update the date. I've been told this will be fixed in subsequent Snappy images for the RPi.

    ubuntu@localhost:~$ date
    Thu Jan 1 01:37:41 UTC 1970

    To update the date get the date on your desktop and set the Pi with the same date

    sudo date --set="Sat Feb 14 17:43:26 CST 2015"

    If you do not update the date, the device will be unable to verify the server certificate making it impossible to update the device and get version information.

    ubuntu@localhost:~$ snappy versions
    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 334, 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/s

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!