FlightAware Discussions

Dump1090-mutability ver 1.15~dev package now available in Repository!

dump1090-mutability ver 1.15~dev package now available in Repository!

http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages

image

.

image

1 Like

EB-VERSION

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.19.50-v7+ #896 SMP Thu Jun 20 16:11:44 BST 2019 armv7l GNU/Linux

pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"

pi@raspberrypi:~ $ sudo apt install dump1090-mutability

pi@raspberrypi:~ $ sudo wget -O  /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"

pi@raspberrypi:~ $ sudo reboot

pi@raspberrypi:~ $ sudo systemctl status dump1090-mutability
● dump1090-mutability.service - LSB: dump1090 daemon (mutability variant)
   Loaded: loaded (/etc/init.d/dump1090-mutability; generated)
   Active: active (running) since Sun 2019-06-30 17:37:03 BST; 4min 7s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 407 ExecStart=/etc/init.d/dump1090-mutability start (code=exited, status=0/SUCCESS)
    Tasks: 3 (limit: 2200)
   Memory: 5.4M
   CGroup: /system.slice/dump1090-mutability.service
           └─459 /usr/bin/dump1090-mutability --net --ppm 0 --fix --max-range 300 --net-ri-port 30001 --net-ro-port 30002 --net-bi-port 30004,30104 --net-bo-

Jun 30 17:37:01 raspberrypi systemd[1]: Starting LSB: dump1090 daemon (mutability variant)...
Jun 30 17:37:03 raspberrypi systemd[1]: Started LSB: dump1090 daemon (mutability variant).


1 Like

Direct Download Link for RPi (armhf)
http://http.us.debian.org/debian/pool/main/d/dump1090-mutability/dump1090-mutability_1.15~20180310.4a16df3+dfsg-6_armhf.deb
.

Debian Search Page
https://packages.debian.org/search?suite=all&arch=any&searchon=names&keywords=dump1090-mutability

Great news for those who wishes to use the dump1090-mutability without the “complicated” installation steps.

Hi @abcd567
What is mean by EB_VERSION?

I haven’t try on this, that is why I ask.

Cheers and regards.

I have no idea. This the first time to see “EB_VERSION”. @obj may tell us.

If you see the package full name, you will find the date: 20180310

dump1090-mutability_1.15~20180310.4a16df3+dfsg-6_armhf.deb

I’m not involved with this, I’d guess it’s a snapshot version with modifications by the debian maintainer. I can’t provide any support for it.

2 Likes

Hi @obj, thanks for the confirmation.

https://manpages.debian.org/testing/dump1090-mutability/dump1090-mutability.1.en.html

Regards.

Download dump1090-mutability - For Buster

Architecture Package Size Installed Size Files
amd64 508.2 kB 2,723.0 kB [list of files]
arm64 504.8 kB 2,699.0 kB [list of files]
armel 504.6 kB 2,705.0 kB [list of files]
armhf 502.2 kB 2,657.0 kB [list of files]
i386 511.8 kB 2,733.0 kB [list of files]
mips 510.1 kB 2,734.0 kB [list of files]
mips64el 508.0 kB 2,744.0 kB [list of files]
mipsel 510.1 kB 2,734.0 kB [list of files]
ppc64el 512.5 kB 2,831.0 kB [list of files]
s390x 502.4 kB
1 Like

Hi Oliver
Thanks for the clarification.

Raspbian Buster On RPi Model 2 - Building Package of dump1090-mutability ver 1.15~dev from Source Code Failed:

sudo apt update
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y

.

sudo apt install -y git debhelper librtlsdr-dev lighttpd
sudo apt install -y rtl-sdr build-essential cron curl
sudo apt install -y fakeroot libusb-1.0-0-dev pkg-config 

git clone https://github.com/mutability/dump1090.git
cd /home/pi/dump1090
sudo dpkg-buildpackage -b

dpkg-buildpackage: info: source package dump1090-mutability
dpkg-buildpackage: info: source version 1.15~dev
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Oliver Jowett <oliver@mutability.co.uk>
dpkg-buildpackage: info: host architecture armhf
 dpkg-source --before-build .
 debian/rules clean
dh clean
dh: Compatibility levels before 9 are deprecated (level 8 in use)
   dh_auto_clean
dh_auto_clean: Compatibility levels before 9 are deprecated (level 8 in use)
        make -j1 clean
make[1]: Entering directory '/home/pi/dump1090'
.... .... .... ....
.... .... .... ....
/usr/bin/ld: dump1090.o: in function `rtlsdrCallback':
./dump1090.c:414: undefined reference to `rtlsdr_cancel_async'
/usr/bin/ld: dump1090.o: in function `verbose_device_search':
./dump1090.c:867: undefined reference to `rtlsdr_get_device_count'
/usr/bin/ld: ./dump1090.c:874: undefined reference to `rtlsdr_get_device_usb_strings'
/usr/bin/ld: ./dump1090.c:890: undefined reference to `rtlsdr_get_device_usb_strings'
/usr/bin/ld: ./dump1090.c:894: undefined reference to `rtlsdr_get_device_name'
/usr/bin/ld: dump1090.o: in function `modesInitRTLSDR':
./dump1090.c:287: undefined reference to `rtlsdr_get_device_count'
/usr/bin/ld: ./dump1090.c:295: undefined reference to `rtlsdr_get_device_usb_strings'
/usr/bin/ld: ./dump1090.c:303: undefined reference to `rtlsdr_open'
/usr/bin/ld: ./dump1090.c:310: undefined reference to `rtlsdr_set_tuner_gain_mode'
/usr/bin/ld: ./dump1090.c:316: undefined reference to `rtlsdr_get_tuner_gains'
/usr/bin/ld: ./dump1090.c:323: undefined reference to `rtlsdr_get_tuner_gains'
/usr/bin/ld: ./dump1090.c:358: undefined reference to `rtlsdr_set_tuner_gain'
/usr/bin/ld: ./dump1090.c:365: undefined reference to `rtlsdr_set_freq_correction'
/usr/bin/ld: ./dump1090.c:367: undefined reference to `rtlsdr_set_center_freq'
/usr/bin/ld: ./dump1090.c:368: undefined reference to `rtlsdr_set_sample_rate'
/usr/bin/ld: ./dump1090.c:370: undefined reference to `rtlsdr_reset_buffer'
/usr/bin/ld: ./dump1090.c:372: undefined reference to `rtlsdr_get_tuner_gain'
/usr/bin/ld: ./dump1090.c:366: undefined reference to `rtlsdr_set_agc_mode'
/usr/bin/ld: dump1090.o: in function `verbose_device_search':
./dump1090.c:900: undefined reference to `rtlsdr_get_device_usb_strings'
/usr/bin/ld: ./dump1090.c:910: undefined reference to `rtlsdr_get_device_usb_strings'
/usr/bin/ld: ./dump1090.c:917: undefined reference to `rtlsdr_get_device_name'
/usr/bin/ld: dump1090.o: in function `readerThreadEntryPoint':
./dump1090.c:612: undefined reference to `rtlsdr_read_async'
/usr/bin/ld: ./dump1090.c:629: undefined reference to `rtlsdr_close'
/usr/bin/ld: ./dump1090.c:618: undefined reference to `rtlsdr_close'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:54: dump1090] Error 1
make[2]: Leaving directory '/home/pi/dump1090-mut'
dh_auto_build: make -j1 "EXTRACFLAGS=-DHTMLPATH=\\\"/usr/share/dump1090-mutability/html\\\" -DMODES_DUMP1090_VARIANT=\\\"dump1090-mutability\\\"" returned exit code 2
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/pi/dump1090-mut'
make: *** [debian/rules:30: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

@obj

[S O L V E D]

(1) Purged librtlsdr-dev (0.6-1+rpt1) and librtlsdr0 (0.6-1+rpt1) installed from apt

sudo apt purge librtlsdr-dev
sudo apt purge librtlsdr0

(2) Downloaded and installed librtlsdr0 (0.5.3-11) and librtlsdr-dev (0.5.3-11) from Debian Package repository

wget -O ~/librtlsdr0_0.5.3-11+b2_armhf.deb "http://ftp.us.debian.org/debian/pool/main/r/rtl-sdr/librtlsdr0_0.5.3-11+b2_armhf.deb"
sudo dpkg -i librtlsdr0_0.5.3-11+b2_armhf.deb

wget -O ~/librtlsdr-dev_0.5.3-11+b2_armhf.deb "http://ftp.us.debian.org/debian/pool/main/r/rtl-sdr/librtlsdr-dev_0.5.3-11+b2_armhf.deb"
sudo dpkg -i librtlsdr-dev_0.5.3-11+b2_armhf.deb

(3) Build & Installed dump1090-mutability v1.15~dev package

cd dump1090
sudo dpkg-buildpackage -b

cd ../
sudo dpkg -i dump1090-mutability_1.15~dev_armhf.deb

sudo wget -O  /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"

sudo dpkg-reconfigure dump1090-mutability

sudo reboot

EDIT: (July 20, 2019)

FlightRadar24 datafeeder fails to install due to degrading of librtlsdr0 and librtlsdr-dev from (0.6-1+rpt1) to (0.5.3-11+b2).

The dump1090-mutability needs old version (0.5.3-11+b2) only during building the package and during its installation. Once the dump1090-mutability is installed, upgrading librtlsdr0 and rtlsdr-dev to ( 0.6-1+rpt1) does not affect it.

Therefore following additional step should be done after installation of dump1090-mutability and before installation of Flightradar24 data feeder (and possibly some other data feeders also). These commands will upgrade librtlsdr0 and librtlsdr-dev to latest version.

sudo apt update
sudo apt install librtlsdr0 librtlsdr-dev

.

I mean who cares if there is a package for it in the repository?

Anyway nicely done! :wink:

Maybe this will solve PI4 issue also.
I mean replacing
librtlsdr-dev (0.6-1+rpt1) and librtlsdr0 (0.6-1+rpt1)
by
librtlsdr0 (0.5.3-11) and librtlsdr-dev (0.5.3-11)

No, that’s so much of a different problem, literally another species :wink:

The problem with compiling dump1090-mutability on buster is probably that you need to include some other file into the code.
As you can see from the compiler error it’s just not finding the library functions.

I am not maintaining this code.

I am aware of this. Maintaining both fa and mutability versions is neither easy nor necessary.

I pointed my post to you for your information only.

1 Like

Maintainers for dump1090-mutability Package are “Debian Hamradio Maintainers”

https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=dump1090-mutability

Please see this update:

What is the main utilty of Repository?