Good afternoon, after giving up installing the feeder I tried again. While installing I saw some weird messages on the screen, but immediately afterwards it said that my installation was completed. Well I checked and no luck again. I used: sudo journalctl -u adsbexchange-feed --no-pager sudo journalctl -u adsbexchange-mlat --no-pager as Wiedehopf suggested on Githup. I post the outcome here as well. Hopefully someone will be able to tell me what to do. Thanks
Thank you for the reply. Here the outcome [email protected]:~ $ cat /usr/local/share/adsbexchange/lastlog INSTALLING PREREQUISITE PACKAGES -------------------------------------- WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Hit:1 http://archive.raspberrypi.org/debian buster InRelease Hit:2 https://apt.rb24.com buster InRelease Get:3 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Hit:4 http://flightaware.com/adsb/piaware/files/packages buster InRelease Hit:5 http://repo.feed.flightradar24.com flightradar24 InRelease Fetched 15.0 kB in 2s (7,699 B/s) Reading package lists... Building dependency tree... Reading state information... 96 packages can be upgraded. Run 'apt list --upgradable' to see them. Installing python3-dev WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... python3-dev is already the newest version (3.7.3-1). You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: python3-dev : Depends: python3.7-dev (>= 3.7.3-1~) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... python3-dev is already the newest version (3.7.3-1). You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: python3-dev : Depends: python3.7-dev (>= 3.7.3-1~) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). Installing socat WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: python3-dev : Depends: python3.7-dev (>= 3.7.3-1~) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: python3-dev : Depends: python3.7-dev (>= 3.7.3-1~) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). Installing python3-venv WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: python3-dev : Depends: python3.7-dev (>= 3.7.3-1~) but it is not going to be installed python3-venv : Depends: python3.7-venv (>= 3.7.3-1~) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: python3-dev : Depends: python3.7-dev (>= 3.7.3-1~) but it is not going to be installed python3-venv : Depends: python3.7-venv (>= 3.7.3-1~) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). Installing libncurses5-dev WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libncurses5-dev : Depends: libncurses-dev (= 6.1+20181013-2+deb10u2) but it is not going to be installed python3-dev : Depends: python3.7-dev (>= 3.7.3-1~) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libncurses5-dev : Depends: libncurses-dev (= 6.1+20181013-2+deb10u2) but it is not going to be installed python3-dev : Depends: python3.7-dev (>= 3.7.3-1~) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). Installing netcat WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: python3-dev : Depends: python3.7-dev (>= 3.7.3-1~) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: python3-dev : Depends: python3.7-dev (>= 3.7.3-1~) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). Installing uuid-runtime WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: python3-dev : Depends: python3.7-dev (>= 3.7.3-1~) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: python3-dev : Depends: python3.7-dev (>= 3.7.3-1~) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). Can't find uuidgen in path, trying to force install the tools... Reading package lists... Building dependency tree... Reading state information... You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: python3-dev : Depends: python3.7-dev (>= 3.7.3-1~) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). Failed to install uuid-runtime package - need manual intervention! BUILD AND INSTALL MLAT-CLIENT ----------------------------------- Installing mlat-client to virtual environment Cloning into '/tmp/mlat-git'... Created symlink /etc/systemd/system/default.target.wants/adsbexchange-mlat.service → /lib/systemd/system/adsbexchange-mlat.service. BUILD AND INSTALL FEED CLIENT ------------------------------------------------- Compiling / installing the readsb based feed client Cloning into '/tmp/readsb'... cp: cannot stat 'readsb': No such file or directory Created symlink /etc/systemd/system/default.target.wants/adsbexchange-feed.service → /lib/systemd/system/adsbexchange-feed.service. [email protected]:~ $
[email protected]:~ $ sudo apt --fix-broken install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: javascript-common libjs-excanvas libjs-jquery libjs-jquery-ui libjs-jquery-ui-theme-smoothness Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: python3.7-dev The following NEW packages will be installed: python3.7-dev 0 upgraded, 1 newly installed, 0 to remove and 96 not upgraded. 12 not fully installed or removed. Need to get 0 B/522 kB of archives. After this operation, 539 kB of additional disk space will be used. Do you want to continue? [Y/n] Y (Reading database ... 64879 files and directories currently installed.) Preparing to unpack .../python3.7-dev_3.7.3-2+deb10u2_armhf.deb ... Unpacking python3.7-dev (3.7.3-2+deb10u2) ... dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt dpkg-deb: error: <decompress> subprocess returned error exit status 2 dpkg: error processing archive /var/cache/apt/archives/python3.7-dev_3.7.3-2+deb10u2_armhf.deb (--unpack): cannot copy extracted data for './usr/share/doc/python3.7/HISTORY.gz' to '/usr/share/doc/python3.7/HISTORY.gz.dpkg-new': unexpected end of file or stream Errors were encountered while processing: /var/cache/apt/archives/python3.7-dev_3.7.3-2+deb10u2_armhf.deb E: Write error - ~LZMAFILE (28: No space left on device) E: Sub-process /usr/bin/dpkg returned an error code (1) [email protected]:~ $
checked it with df -h [email protected]:~ $ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 15G 2.1G 12G 15% / devtmpfs 459M 0 459M 0% /dev tmpfs 464M 1.6M 462M 1% /dev/shm tmpfs 464M 57M 407M 13% /run tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 464M 0 464M 0% /sys/fs/cgroup tmpfs 50M 50M 0 100% /var/log tmpfs 200M 11M 190M 6% /tmp /dev/mmcblk0p1 253M 54M 199M 22% /boot tmpfs 93M 0 93M 0% /run/user/1000
I rebooted ( sudo reboot) Checked with df -h and the temps files were empty. Used sudo apt --fix-broken install again Results: [email protected]:~ $ sudo apt --fix-broken install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: javascript-common libjs-excanvas libjs-jquery libjs-jquery-ui libjs-jquery-ui-theme-smoothness Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: python3.7-dev The following NEW packages will be installed: python3.7-dev 0 upgraded, 1 newly installed, 0 to remove and 96 not upgraded. 12 not fully installed or removed. Need to get 0 B/522 kB of archives. After this operation, 539 kB of additional disk space will be used. Do you want to continue? [Y/n] Y (Reading database ... 64879 files and directories currently installed.) Preparing to unpack .../python3.7-dev_3.7.3-2+deb10u2_armhf.deb ... Unpacking python3.7-dev (3.7.3-2+deb10u2) ... dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt dpkg-deb: error: <decompress> subprocess returned error exit status 2 dpkg: error processing archive /var/cache/apt/archives/python3.7-dev_3.7.3-2+deb10u2_armhf.deb (--unpack): dpkg-deb --fsys-tarfile subprocess returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/python3.7-dev_3.7.3-2+deb10u2_armhf.deb E: Sub-process /usr/bin/dpkg returned an error code (1) [email protected]:~ $
Might be the sd-card is just dying. I mean you can try again i suppose: sudo apt clean sudo apt --fix-broken install You can also check this command (only show last 20 lines): sudo dmesg --ctime
1. used sudo apt 2. sudo dmesg --ctime [Sun Oct 18 14:09:51 2020] Adding 102396k swap on /var/swap. Priority:-2 extents:21 across:194592k SSFS [Sun Oct 18 14:09:51 2020] brcmfmac: power management disabled [Sun Oct 18 14:09:51 2020] 8021q: adding VLAN 0 to HW filter on device eth0 [Sun Oct 18 14:09:51 2020] lan78xx 1-1.1.1:1.0 eth0: kevent 4 may have been dropped [Sun Oct 18 14:09:57 2020] Bluetooth: Core ver 2.22 [Sun Oct 18 14:09:57 2020] NET: Registered protocol family 31 [Sun Oct 18 14:09:57 2020] Bluetooth: HCI device and connection manager initialized [Sun Oct 18 14:09:57 2020] Bluetooth: HCI socket layer initialized [Sun Oct 18 14:09:57 2020] Bluetooth: L2CAP socket layer initialized [Sun Oct 18 14:09:57 2020] Bluetooth: SCO socket layer initialized [Sun Oct 18 14:09:57 2020] Bluetooth: HCI UART driver ver 2.3 [Sun Oct 18 14:09:57 2020] Bluetooth: HCI UART protocol H4 registered [Sun Oct 18 14:09:57 2020] Bluetooth: HCI UART protocol Three-wire (H5) registered [Sun Oct 18 14:09:57 2020] Bluetooth: HCI UART protocol Broadcom registered [Sun Oct 18 14:09:57 2020] usbcore: deregistering interface driver dvb_usb_rtl28xxu [Sun Oct 18 14:09:58 2020] r820t 4-001a: destroying instance [Sun Oct 18 14:09:58 2020] dvb_usb_v2: 'Realtek RTL2832U reference design:1-1.2' successfully deinitialized and disconnected [Sun Oct 18 14:09:58 2020] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [Sun Oct 18 14:09:58 2020] Bluetooth: BNEP filters: protocol multicast [Sun Oct 18 14:09:58 2020] Bluetooth: BNEP socket layer initialized
Sorry for the late reply. Missed yours. [email protected]:~ $ sudo apt --fix-broken install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: javascript-common libjs-excanvas libjs-jquery libjs-jquery-ui libjs-jquery-ui-theme-smoothness Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: python3.7-dev The following NEW packages will be installed: python3.7-dev 0 upgraded, 1 newly installed, 0 to remove and 96 not upgraded. 12 not fully installed or removed. Need to get 522 kB of archives. After this operation, 539 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://mirror.serverius.net/raspbian/raspbian buster/main armhf python3.7-dev armhf 3.7.3-2+deb10u2 [522 kB] Fetched 522 kB in 0s (1,236 kB/s) (Reading database ... 64879 files and directories currently installed.) Preparing to unpack .../python3.7-dev_3.7.3-2+deb10u2_armhf.deb ... Unpacking python3.7-dev (3.7.3-2+deb10u2) ... Setting up libpython3.7-minimal:armhf (3.7.3-2+deb10u2) ... Setting up libexpat1-dev:armhf (2.2.6-2+deb10u1) ... Setting up python3.7-minimal (3.7.3-2+deb10u2) ... Setting up python3-lib2to3 (3.7.3-1) ... Setting up python3-distutils (3.7.3-1) ... Setting up dh-python (3.20190308) ... Setting up libpython3.7-stdlib:armhf (3.7.3-2+deb10u2) ... Setting up libpython3.7:armhf (3.7.3-2+deb10u2) ... Setting up libpython3.7-dev:armhf (3.7.3-2+deb10u2) ... Setting up python3.7 (3.7.3-2+deb10u2) ... Setting up libpython3-dev:armhf (3.7.3-1) ... Setting up python3.7-dev (3.7.3-2+deb10u2) ... Setting up python3-dev (3.7.3-1) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for libc-bin (2.28-10+rpi1) ... [email protected]:~ $
The installation should now hopefully succeed. Code: curl -o /tmp/install.sh https://raw.githubusercontent.com/adsbxchange/adsb-exchange/master/install.sh sudo bash /tmp/install.sh
log again: cat /usr/local/share/adsbexchange/lastlog It's completely possible you just have a bad sd-card ..... normally you shouldn't see all these issues.
[email protected]:~ $ cat /usr/local/share/adsbexchange/lastlog INSTALLING PREREQUISITE PACKAGES -------------------------------------- Using existing valid UUID (2a4a936c-0198-4db8-8fc6-b441642864d5) from /boot/adsbx-uuid BUILD AND INSTALL MLAT-CLIENT ----------------------------------- mlat-client already installed, git hash: 84eb4e6903455397c0d3334075c78ef0f7875a2c BUILD AND INSTALL FEED CLIENT ------------------------------------------------- Feed client already installed, git hash: 56fe72d07bf0ab7648c1df15d6a08518efa557b6 [email protected]:~ $
That looks good. Check the logs you mentioned in the first post again. Or maybe the /myip just hadn't refreshed yet.
I check and saw the differences ( a lot) before writing. Empty caches. On the sync page region 4A there is a dutchyb-23, but I don't know if that's me. Futhermore, I noticed that on MyIp, the IP address is not the one used by all the other feeders. ( this one starts with 3.6.xx.xx, while in FA and FRT24 I use 192.168.xxx.xxx) Perhaps that is a reason and perhaps also the reason I cannot get your map on the map view site. On FA I use your dump1090. Noticed in th example ADSBexchange uses yours as well.
/myip shows your external not your internal ip .... That's an extra install. https://github.com/adsbxchange/adsbexchange-stats You're not showing the logs you showed in the first post of this thread, please show them. Also refresh the myip page, is it now showing green?