Ubuntu Error updating uboot
#1
I booted ubuntu on my Pine 64+ 2GB per this guide. I used the Ubuntu Base Longsleep download.  It booted just fine, but when i try to run the command to update uboot, i get this error.  The pine is connected to the network via cat-6 cable.  I can ping google.com and i can SSH to the pine from my desktop, so I know it's got a good network connection.

Code:
ubuntu@localhost:~$ sudo -i
[sudo] password for ubuntu:
root@localhost:~# /usr/local/sbin/pine64_update_uboot.sh
Checking for update ...
Downloading U-Boot image ...

curl: (56) GnuTLS recv error (-54): Error in the pull function.

root@localhost:~# /usr/local/sbin/pine64_update_kernel.sh
Checking for update ...
Downloading Linux Kernel ...

curl: (56) GnuTLS recv error (-54): Error in the pull function.
root@localhost:~#

Any ideas?
  Reply
#2
(07-14-2016, 10:35 AM)jandvs Wrote: I booted ubuntu on my Pine 64+ 2GB per this guide. I used the Ubuntu Base Longsleep download.  It booted just fine, but when i try to run the command to update uboot, i get this error.  The pine is connected to the network via cat-6 cable.  I can ping google.com and i can SSH to the pine from my desktop, so I know it's got a good network connection.

Code:
ubuntu@localhost:~$ sudo -i
[sudo] password for ubuntu:
root@localhost:~# /usr/local/sbin/pine64_update_uboot.sh
Checking for update ...
Downloading U-Boot image ...

curl: (56) GnuTLS recv error (-54): Error in the pull function.

root@localhost:~# /usr/local/sbin/pine64_update_kernel.sh
Checking for update ...
Downloading Linux Kernel ...

curl: (56) GnuTLS recv error (-54): Error in the pull function.
root@localhost:~#

Any ideas?

curl error 56 means it can't connect
http://curl.haxx.se/libcurl/c/libcurl-errors.html

try doing a curl of google.com and see if that works. ping can potentially work, but when you go to connect to a website, that can fail due to other network reasons (usually firewalls)

curl -v -k --head https://www.google.com/


(if you dont have curl, sudo apt-get install curl)
  Reply
#3
Your TLS connectivity is broken. It can be as simple as wrong system time up to a full man-in-the-middle decrypting proxy. Check your setup.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Issues with both Deb and Ubuntu germanshep 0 992 08-28-2018, 05:47 PM
Last Post: germanshep
  Help debug my pine64A+ ubuntu/plex hangs XaRz 8 3,203 11-02-2017, 06:34 AM
Last Post: XaRz
  Ubuntu 16.04 cannot resolve dns - connection timed out; no servers could be reached marcosti 2 6,835 03-01-2017, 02:46 PM
Last Post: dkryder
Question Need help : Issue in running compiled kernel with tftp+uboot dinesh.bhoyar 2 2,068 01-30-2017, 12:44 AM
Last Post: dinesh.bhoyar
Question Ultrawide Display for Ubuntu Mate DE dudeytsang 1 2,648 01-01-2017, 07:26 AM
Last Post: CaptainZalo
  Pine64+Ubuntu+Tvheadend+DVBT Dongle Shai 3 2,785 10-03-2016, 04:23 AM
Last Post: Shai
  Dmesg output Ubuntu Mate S265 1 1,459 10-02-2016, 07:28 AM
Last Post: MarkHaysHarris777
  Overclocking ubuntu mate Mixermic 2 2,040 10-01-2016, 04:36 AM
Last Post: pfeerick
  How to make multicast working on ubuntu and debian brengthdom 3 3,362 09-18-2016, 02:05 PM
Last Post: brengthdom
  Camera support - Ubuntu Xenial 16.04 LTS @lex 3 2,138 08-07-2016, 03:47 AM
Last Post: romansavrulin

Forum Jump:


Users browsing this thread: 1 Guest(s)