Odroid N2 & Airspy - Now running!

Now back to the git hub instructions, the dir I was in for this

Build and install the package:##

rm ../dump1090-fa_*.deb
dpkg-buildpackage -b
sudo dpkg -i ../dump1090-fa_*.deb

was dump1090. Was that where I should have been, I was just following the github instructions and there wasnt any CD to the root before the above.

I thought I would try first with the pre loaded OS on the eMMC card. And then follow this site Odroid N2 and feeding ¡ wiedehopf/adsb-wiki Wiki ¡ GitHub. You suggest swapping to debian stretch to start with??

Well, I got it to work on the default Bionic.
I am more satisfied with Stretch (arm64 version, of course). YMMV.
Note that I am not a Linux expert, and aim to limit exposure to failures due to lack of knowledge. There are experts on this forum who may be more clear on how to best proceed with Bionic.

  • The dump1090-fa package is built ok
  • Installation of dump1090-fa requires that first lighttpd is installed
  • Installation of lighttpd requires that first package libfam0 is installed, which is not installable. Following is the workaround to install it:
sudo nano /etc/apt/sources.list

## Add following line at bottom
deb http://us.archive.ubuntu.com/ubuntu/ bionic main universe

## Save file

Then do following

sudo apt-get update
sudo apt-get install libfam0

sudo apt-get install lighttpd

After successful installation of lighttpd, install dump1090-fa.

Sorry after doing sudo apt-get upate, I get this -

##odroid@odroid:~$ sudo nano /etc/apt/sources.list
[sudo] password for odroid:
odroid@odroid:~$ sudo apt-get update
Err:1 http:/ bionic InRelease
Temporary failure resolving ‘dists’
Hit:2 http://flightaware.com/adsb/piaware/files/packages stretch InRelease
Hit:3 Index of /ubuntu bionic InRelease
Hit:4 Index of /n2/ bionic InRelease
Hit:5 Index of /ubuntu-ports bionic InRelease
Get:6 Index of /ubuntu-ports bionic-updates InRelease [88.7 kB]
Get:7 Index of /ubuntu-ports bionic-backports InRelease [74.6 kB]
Get:8 Index of /ubuntu-ports bionic-security InRelease [88.7 kB]
Fetched 252 kB in 3s (81.8 kB/s)
Reading package lists… Done
N: Skipping acquire of configured file ‘piaware/binary-arm64/Packages’ as repository ‘http://flightaware.com/adsb/piaware/files/packages stretch InRelease’ doesn’t support architecture ‘arm64’
N: Skipping acquire of configured file ‘main/binary-armhf/Packages’ as repository ‘Index of /n2/ bionic InRelease’ doesn’t support architecture ‘armhf’
W: Failed to fetch http://dists/bionic/InRelease Temporary failure resolving ‘dists’
W: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:29
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:29
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:29
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:29
odroid@odroid:~$ sudo apt-get install libfam0
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
dump1090-fa : Depends: lighttpd but it is not going to be installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
odroid@odroid:~$

Do we need to clean the eMMMC??

I have cleaned the emmc card and starting again using

Odroid N2 and feeding

wiedehopf edited this page 3 days ago ¡ 2 revisions.

Now is this process, it does not have any mention of

  • Installation of dump1090-fa requires that first lighttpd is installed
  • Installation of lighttpd requires that first package libfam0 is installed, which is not installable.

Do I have to carry out ABCD instructions above, before installing Installing dump1090-fa (required). If so, this direction is missing from the github page.

With recent apt-get versions (I think anything stretch or newer is recent enough) you can apt-get install some_deb_file.deb and it’ll handle the dependencies for the package file you gave it.

1 Like

Sorry there was a mistake. Correct it as follows

sudo nano /etc/apt/sources.list

## Delete following wrong line which you have added earlier
deb http:// bionic main universe

## Add following correct line 
deb http://us.archive.ubuntu.com/ubuntu/ bionic main universe

## Save file

Then do following

sudo apt-get update
sudo apt-get install libgamin0

sudo apt-get install lighttpd

Ok, I have now installed ambrian stretch now. i am about to start installing using wiedehopf’s Odroid N2 and feeding github scripts. Do I see how it goes? In his scripts there is no mention of lightpd etc, I believe it is built into those script setups?? Or do I reinstall ubuntu and try again using your corrections??

1 Like

First install ighttpd to make sure that it gets installed. There is no point in building dump1090-fa .deb package, then discover it cannot be installed because lighttp cannot be installed.

sudo apt-get update

sudo apt-get install lighttpd

Chek after its installation if it got installed:

apt-cache policy lighttpd

Well you missed the step about installing the other architecture before.
Odroid N2 and feeding ¡ wiedehopf/adsb-wiki Wiki ¡ GitHub

That needs to be run first.
And if your distribution doesn’t have a working lighttpd, then i don’t know what you are installing.
I suspect you would need to run

sudo apt update
sudo apt dist-upgrade

Before instaling lighttpd. I would expect it to work then.

no I installed the 32 bit scripts

On Armbian Stretch you have written now, did you install lighttpd?

Ahhhhhhhhhhhh am I suppose to stick with ubuntu ( which hasnt worked again) or go ambrian. Yes i did all the apt and dist apt upgrades.

And who should I be following, it appears you are going in 2 different directions
‘’

Armbian is probably easier.
Is it still on Ubuntu? We can try that as well.

There is no mention on this site about installing lighttpd

Well if it’s required, you install it.
(i expect at least some knowledge from ppl using Odroid boards)

If that install doesn’t work, that’s another story.

If you have Armbian Stretch running now, try with that.

1 Like

This was the dir I tried to install your airpsy script, it doesnt look right

odroid@odroid:~/dump1090/piaware_builder/package-stretch$

and got this error

Failed to stop airspy_adsb.service: Unit airspy_adsb.service not loaded.
Created symlink /etc/systemd/system/multi-user.target.wants/airspy_adsb.service → /lib/systemd/system/airspy_adsb.service.