From e1e8d3c5927fb0757981df0a998672b8c607ba19 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Thu, 10 Dec 2020 01:07:29 +0100 Subject: [PATCH] debian-stretch-titan: use dpkg to install libfftranscode For some magic reason, apt segfaults while installing the DEBs: $ apt install ./libfftranscode0_0.3_${DPKG_ARCH}.deb \ ./libfftranscode-dev_0.3_${DPKG_ARCH}.deb WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Segmentation fault (core dumped) so it kind of confirms the warning about its stability ;) Change-Id: I7f3288161577b055145afe89de7dff50853760f5 --- debian-stretch-titan/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian-stretch-titan/Dockerfile b/debian-stretch-titan/Dockerfile index 4b288d05..3c9f6728 100644 --- a/debian-stretch-titan/Dockerfile +++ b/debian-stretch-titan/Dockerfile @@ -44,5 +44,6 @@ RUN apt-get update && \ RUN DPKG_ARCH="$(dpkg --print-architecture)" && export $DPKG_ARCH && \ wget https://ftp.osmocom.org/binaries/libfftranscode/libfftranscode0_0.3_${DPKG_ARCH}.deb && \ wget https://ftp.osmocom.org/binaries/libfftranscode/libfftranscode-dev_0.3_${DPKG_ARCH}.deb && \ - apt install ./libfftranscode0_0.3_${DPKG_ARCH}.deb ./libfftranscode-dev_0.3_${DPKG_ARCH}.deb && \ + dpkg -i ./libfftranscode0_0.3_${DPKG_ARCH}.deb ./libfftranscode-dev_0.3_${DPKG_ARCH}.deb && \ + apt install --fix-broken && \ rm libfftranscode*.deb