Can't upgrade Kiwis at North Magnetic Pole [fixed, Internet access problems during update]
We are eager to update the SW running on the two Kiwis at VY0ERC which are located on Canada's Ellsmere Island near the North Magnetic Pole, but neither automatic nor manual operations are successful.
While the satellite Internet connection at Vy0ERC permits the Kiwis to access to most public Internet sites, the connection blocks some transfers which seem essential to the Kiwi upgrade process, so the Kiwis are stuck at V1.461
"cdp;up" produces:
=======================================
root@kiwisdr:~/Beagle_SDR_GPS# cdp;up
systemctl --full --lines=100 stop kiwid.service || true
fatal: unable to access 'https://github.com/jks-prv/Beagle_SDR_GPS.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
(cd extensions/ALE_2G/standalone_test; make clean)
make[1]: Entering directory '/root/Beagle_SDR_GPS/extensions/ALE_2G/standalone_test'
rm -f ./ale_2g
make[1]: Leaving directory '/root/Beagle_SDR_GPS/extensions/ALE_2G/standalone_test'
..... and many more lines.
=====================================
I have also tried to 'git clone' to the Pi at VY0ERC and copy ~/Beagle_SDR_GPS from the Pi to the Kiwi, and that copy also compiles many lines until it reports:
=====================================
clang-6.0 -Dv1_562 -Ofast @../build/gen/Makefile.inc -c -o ../build/obj_O3/hfdl_chan.o extensions/HFDL/dumphfdl/src/hfdl_chan.c
In file included from extensions/HFDL/dumphfdl/src/hfdl_chan.c:17:
In file included from extensions/HFDL/dumphfdl/src/pthread_barrier.h:28:
extensions/HFDL/dumphfdl/src/pthr.h:8:14: fatal error: 'glib.h' file not found
#include <glib.h>
^~~~~~~~
1 error generated.
Makefile:948: recipe for target '../build/obj_O3/hfdl_chan.o' failed
=====================================
That error report is soon followed by another class of errors:
=====================================
After this operation, 10.1 MB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian/ jessie/main libelfg0 armhf 0.8.13-5 [47.4 kB]
Get:2 http://httpredir.debian.org/debian/ jessie/main libpcrecpp0 armhf 2:8.35-3.3+deb8u4 [140 kB]
Get:3 http://security.debian.org/ jessie/updates/main libglib2.0-0 armhf 2.42.1-1+deb8u3 [2,270 kB]
Get:4 http://security.debian.org/ jessie/updates/main libglib2.0-bin armhf 2.42.1-1+deb8u3 [1,334 kB]
Get:5 http://security.debian.org/ jessie/updates/main libglib2.0-dev armhf 2.42.1-1+deb8u3 [2,555 kB]
Get:6 http://httpredir.debian.org/debian/ jessie/main libpcre3-dev armhf 2:8.35-3.3+deb8u4 [418 kB]
Fetched 25.8 kB in 1s (16.0 kB/s)
E: Failed to fetch http://httpredir.debian.org/debian/pool/main/libe/libelf/libelfg0_0.8.13-5_armhf.deb Size mismatch
E: Failed to fetch http://security.debian.org/pool/updates/main/g/glib2.0/libglib2.0-0_2.42.1-1+deb8u3_armhf.deb Size mismatch
E: Failed to fetch http://httpredir.debian.org/debian/pool/main/p/pcre3/libpcrecpp0_8.35-3.3+deb8u4_armhf.deb Size mismatch
E: Failed to fetch http://security.debian.org/pool/updates/main/g/glib2.0/libglib2.0-bin_2.42.1-1+deb8u3_armhf.deb Size mismatch
E: Failed to fetch http://httpredir.debian.org/debian/pool/main/p/pcre3/libpcre3-dev_8.35-3.3+deb8u4_armhf.deb Size mismatch
E: Failed to fetch http://security.debian.org/pool/updates/main/g/glib2.0/libglib2.0-dev_2.42.1-1+deb8u3_armhf.deb Size mismatch
=====================================
I can provide ssh access to the two Kiwis if that would be helpful in addressing this problem.
Thanks,
Rob
Comments
I can provide ssh access to the two Kiwis if that would be helpful in addressing this problem.
Always helpful. Please email details to
support@kiwisdr.com
cd /; ff glib.h
should produce:./usr/include/glib-2.0/glib.h
pkls libglib
should produce roughly:root@kiwisdr # pkls libglib
installed pkgs:
ii libglib2.0-0:armhf 2.42.1-1+deb8u3 armhf GLib library of C routines
ii libglib2.0-bin 2.42.1-1+deb8u3 armhf Programs for the GLib library
ii libglib2.0-data 2.42.1-1 all Common files for GLib library
ii libglib2.0-dev 2.42.1-1+deb8u3 armhf Development files for the GLib library
Things like this are very, very bad. Likely indicates general filesystem corruption:
E: Failed to fetch http://httpredir.debian.org/debian/pool/main/libe/libelf/libelfg0_0.8.13-5_armhf.deb Size mismatch
See if you can do a
pkup
without getting any errors.