Upgrading cmake on Raspbian Jessie

Trying to build and install rtl-sdr from source I got this error on a Raspberry Pi 1 running Jessie:

$ cmake ../

CMake Error at CMakeLists.txt:22 (cmake_minimum_required):
CMake 3.7.2 or higher is required.  You are running version 3.6.2

Doing an ‘apt-get update’ and ‘apt-get upgrade’ is not picking up a more recent version, so following the steps here, I downloaded the required 3.7.2 version from source and followed the steps to build it: http://osdevlab.blogspot.com/2015/12/how-to-install-latest-cmake-for.html

I downloaded a .tar for the 3.7.2 version from:

https://cmake.org/files/v3.7

The build look over 2 hours, but completed successfully, and now I’m able to build rtl-sdr.

Retrieving ADS-B transponder data from dump1090

dump1090 is probably the goto solution for receiving ADS-B transponder signals from planes flying overhead because

a) it runs with a cheap rtlsdr USB dongle (more info on dongles here)

b) runs on a cheap $35 Raspberry Pi

I’ve always wondered how it would be possible to get data out of dump1090 to use within other apps. It provides a data feed on port 30003 that is relatively easy to capture by using a util like netcat. If you have another app to receive/parse/process the data, this is as easy as:

nc ip-of-pi 30003 | app-to-parse-data

I have a project ‘in-flight’ right now using this approach… more updates later.

Raspbian Jessie apt-get error: “Is the package apt-transport-https installed?”

Trying to do a ‘sudo apt-get update’ on my Raspberry Pi running Jessie I got this error:

$ sudo apt-get update
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?

Seeing posts online with similar errors about the sources configured in /etc/apt/sources.list, I looked in my file and I had this line:

deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi

I haven’t used or tried to update this Pi for a while so I can’t remember if this line was how it was originally configured or if I changed it.

Replacing this first line with what I think is more typical:

deb http://raspbian.raspberrypi.org jessie main contrib non-free rpi

and then doing a ‘sudo apt-get update’, it updates sources and now I can upgrade and install other packages again as expected.