Announcement

Collapse
No announcement yet.

fr24feed on Ubuntu Server 64bit (arm64)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • fr24feed on Ubuntu Server 64bit (arm64)

    Hello!
    I'm moving my installation to a new RaspberryPi 4 running Ubuntu 20.04 LTS (GNU/Linux 5.4.0-1013-raspi aarch64). I'm not using Raspbian since there isn't a stable, no-desktop version supporting 64bit yet, and I definitely want to use a 64bit system. The main problem is I'm notable to install the feeder on this computer. I've tried:
    Code:
    sudo bash -c "$(wget -O - http://repo.feed.flightradar24.com/install_fr24_rpi.sh)"
    but I get:
    Code:
    --2020-07-18 14:10:03-- http://repo.feed.flightradar24.com/install_fr24_rpi.sh
    Resolving repo.feed.flightradar24.com (repo.feed.flightradar24.com)... 2600:1fa0:8024:8a49:34d8:50ab::, 52.217.11.14
    Connecting to repo.feed.flightradar24.com (repo.feed.flightradar24.com)|2600:1fa0:8024:8a49: 34d8:50ab::|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1284 (1.3K) [text/x-sh]
    Saving to: ‘STDOUT’
    
    - 100%[================================================== ==========================================>] 1.25K --.-KB/s in 0s
    
    2020-07-18 14:10:04 (27.4 MB/s) - written to stdout [1284/1284]
    
    Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
    Hit:2 http://repo.feed.flightradar24.com flightradar24 InRelease
    Get:3 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [111 kB]
    Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
    Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
    Fetched 111 kB in 31s (3,568 B/s)
    Reading package lists... Done
    N: Skipping acquire of configured file 'raspberrypi-stable/binary-arm64/Packages' as repository 'http://repo.feed.flightradar24.com flightradar24 InRelease' doesn't support architecture 'arm64'
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    dirmngr is already the newest version (2.2.19-3ubuntu2).
    0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
    Executing: /tmp/apt-key-gpghome.5Tc44BJpr9/gpg.1.sh --recv-key --keyserver pool.sks-keyservers.net C969F07840C430F5
    gpg: key C969F07840C430F5: "Flightradar24 <support@fr24.com>" not changed
    gpg: Total number processed: 1
    gpg: unchanged: 1
    Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
    Hit:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
    Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
    Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
    Hit:5 http://repo.feed.flightradar24.com flightradar24 InRelease
    Reading package lists... Done
    N: Skipping acquire of configured file 'raspberrypi-stable/binary-arm64/Packages' as repository 'http://repo.feed.flightradar24.com flightradar24 InRelease' doesn't support architecture 'arm64'
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package fr24feed
    I've read in another thread in the forum that it should work, but I can't figure out how.

    As additional info: I have successfully installed dump1090-fa and modesmixer2.

    PS: My first attempt was this: https://github.com/abcd567a/fr24feed...n-ubuntu-amd64 because I was confusing amd64 with arm64, but I think now I have removed all old files, so I think that there aren't problems due this anymore.

  • #2
    (1) To install fr24feed on Ubuntu Server 20.04 arm64 / RPi 4:

    Code:
    wget -O fr24feed_1.0.25-3_armhf.deb http://repo-feed.flightradar24.com/rpi_binaries/fr24feed_1.0.25-3_armhf.deb
    
    sudo dpkg -i fr24feed_1.0.25-3_armhf.deb

    (2) To install fr24feed on 64 bit RaspberryPI OS / RPi 4:

    Code:
    sudo bash -c "$(wget -O - http://repo.feed.flightradar24.com/install_fr24_rpi.sh)"


    (3) Script for Automated Installation of dump1090-fa & piaware data feeder on Ubuntu Server 20.04 arm64 / RPi 4


    (4) ) Script for Automated Installation of dump1090-fa & piaware data feeder on 64 bit RaspberryPI OS / RPi 4




    .
    Last edited by abcd567; 2020-07-19, 02:32.

    Comment


    • #3
      Thanks for your reply, but it does not work
      Here is the output:
      Code:
      dpkg: error processing archive fr24feed_1.0.25-3_armhf.deb (--install):
      package architecture (armhf) does not match system (arm64)
      Errors were encountered while processing:
      fr24feed_1.0.25-3_armhf.deb

      Comment


      • #4
        Code:
        dpkg --print-foreign-architectures 
        
        sudo dpkg --add-architecture armhf
        
        dpkg --print-foreign-architectures
        
        
        wget -O fr24feed_1.0.25-3_armhf.deb http://repo-feed.flightradar24.com/rpi_binaries/fr24feed_1.0.25-3_armhf.deb
        
        sudo dpkg -i fr24feed_1.0.25-3_armhf.deb.

        Comment


        • #5
          The situation is better now, the program is installed, but not working completely. During the installation this error appeared:

          Code:
          Selecting previously unselected package fr24feed:armhf.
          (Reading database ... 110939 files and directories currently installed.)
          Preparing to unpack fr24feed_1.0.25-3_armhf.deb ...
          Unpacking fr24feed:armhf (1.0.25-3) ...
          dpkg: dependency problems prevent configuration of fr24feed:armhf:
          fr24feed:armhf depends on libc6 (>= 2.11.3-4).
          fr24feed:armhf depends on libstdc++6 (>= 4.4.5-8).
          
          dpkg: error processing package fr24feed:armhf (--install):
          dependency problems - leaving unconfigured
          Errors were encountered while processing:
          fr24feed:armhf
          PS This is the output the command before the installation:
          Code:
          dpkg --print-foreign-architectures
          armhf

          Comment


          • #6
            Better use 64 bit Raspberry Pi OS

            Comment


            • #7
              I did something like this
              Code:
              apt-get install libc6:armhf
              apt --fix-broken install
              and now it seems to work fine. Not sure exactly what happened, but if it runs correctly it's ok
              Last edited by arna; 2020-07-19, 12:43.

              Comment


              • #8
                It seems that the repository of 64-bit (arm64) Ubuntu 20.4 is not well configured for foreign architecture added by user (here armhf), otherwise if it is well configured, then after adding architecture armhf, you did not have to manually install libc6:armhf. The dpkg should automatically pull it after reading the .deb package, as the .deb package contains info about both the "architecture" and "dependencies".

                The 64-bit Rasoberry Pi OS automatically installs all dependencies of fr24feed (armhf) package.


                Following command lists details of the .deb package

                Code:
                dpkg --info fr24feed_1.0.25-3_armhf.deb  
                ​​​​​
                Code:
                new Debian package, version 2.0.
                size 3343862 bytes:
                control archive=3266 bytes.
                83 bytes, 3 lines * conffiles
                452 bytes, 11 lines * control
                2612 bytes, 36 lines * md5sums
                2549 bytes, 80 lines * postinst  #!/bin/bash 963 bytes,
                38 lines * postrm  #!/bin/sh
                613 bytes, 37 lines * preinst #!/bin/sh
                316 bytes, 33 lines * prerm #!/bin/sh
                
                Package: fr24feed Version: 1.0.25-3
                Architecture: armhf
                Maintainer: Flightradar24 AB
                Installed-Size: 5000
                Depends: libc6 (>= 2.11.3-4), libstdc++6 (>=4.4.5-8), bash(>=1.0.0)
                Section: embedded
                Priority: extra
                Homepage: http://www.flightradar24.com
                Description: Flightradar24 Decoder & Feeder lets you effortlessly share ADS-B data with Flightradar24. Please visit https://www.flightradar24.com/share-your-data for more information.
                Last edited by abcd567; 2020-07-19, 17:09.

                Comment

                Working...
                X