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?
#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)
#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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Issues with both Deb and Ubuntu germanshep 0 2,746 08-28-2018, 05:47 PM
Last Post: germanshep
  Help debug my pine64A+ ubuntu/plex hangs XaRz 8 11,169 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 10,568 03-01-2017, 02:46 PM
Last Post: dkryder
Question Need help : Issue in running compiled kernel with tftp+uboot dinesh.bhoyar 2 5,134 01-30-2017, 12:44 AM
Last Post: dinesh.bhoyar
Question Ultrawide Display for Ubuntu Mate DE dudeytsang 1 5,393 01-01-2017, 07:26 AM
Last Post: CaptainZalo
  Pine64+Ubuntu+Tvheadend+DVBT Dongle Shai 3 6,998 10-03-2016, 04:23 AM
Last Post: Shai
  Dmesg output Ubuntu Mate S265 1 3,915 10-02-2016, 07:28 AM
Last Post: MarkHaysHarris777
  Overclocking ubuntu mate Mixermic 2 5,465 10-01-2016, 04:36 AM
Last Post: pfeerick
  How to make multicast working on ubuntu and debian brengthdom 3 7,544 09-18-2016, 02:05 PM
Last Post: brengthdom
  Camera support - Ubuntu Xenial 16.04 LTS @lex 3 5,783 08-07-2016, 03:47 AM
Last Post: romansavrulin

Forum Jump:


Users browsing this thread: 1 Guest(s)