[OUTDATED] Howto Install Piaware 3.8.1 on Ubuntu 18 & 19 and Debian 10 amd64 on PC

Just to follow up, I’ve had one issue issue with this now. It is otherwise working great. apt/Ubuntu think that their librtlsdr package is an ‘upgrade’ to the one I manually built and installed:

ubuntu :: ~ » apt list --upgradeable
Listing... Done
debootstrap/focal-updates 1.0.118ubuntu1.1 all [upgradable from: 1.0.118ubuntu1]
landscape-common/focal-updates 19.12-0ubuntu4.1 arm64 [upgradable from: 19.12-0ubuntu4]
librtlsdr-dev/focal 0.6.0-3 arm64 [upgradable from: 0.6git]
librtlsdr0/focal 0.6.0-3 arm64 [upgradable from: 0.6git]

Since I have autoupdates configured at some point overnight Ubuntu ran that and replaced my librtlsdr build with the upstream one which caused dump1090-fa to start crashing again. I manually removed and reinstalled my version this morning and am looking in to how to prevent updates of specific packages.

EDIT: I marked the packages as ‘hold’ using apt which prevents them from being updated automatically by the package manager.

ubuntu :: ~ » sudo apt-mark hold librtlsdr0 librtlsdr-dev
librtlsdr0 set on hold.
librtlsdr-dev set on hold.

ubuntu :: ~ » sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  liblimesuite20.01-1 libosmosdr0 limesuite-udev soapyosmo-common0.7 soapysdr0.7-module-lms7 soapysdr0.7-module-osmosdr
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
  librtlsdr-dev librtlsdr0
The following packages will be upgraded:
  debootstrap landscape-common
2 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 126 kB of archives.
After this operation, 1024 B of additional disk space will be used.
3 Likes