Fix RTL-SDR package conflict on Debian/Ubuntu

Remove conflicting librtlsdr2 package before installing rtl-sdr to prevent dpkg errors when librtlsdr0 tries to overwrite shared library files.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-01-16 17:12:29 +00:00
parent 096763ad40
commit 78f81eeccd
+5
View File
@@ -554,6 +554,11 @@ install_debian_packages() {
$SUDO apt-get update -y >/dev/null
progress "Installing RTL-SDR"
# Handle package conflict between librtlsdr0 and librtlsdr2
if dpkg -l | grep -q librtlsdr2; then
info "Removing conflicting librtlsdr2 package..."
$SUDO apt-get remove -y librtlsdr2 >/dev/null 2>&1 || true
fi
apt_install rtl-sdr
progress "Installing RTL-SDR Blog drivers (V4 support)"