From: Jan Luebbe Date: Mon, 6 Apr 2020 13:23:57 +0000 (+0200) Subject: apt-native: don't let dpkg overwrite files by default X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~11373 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4292387ef6c4e80428bad6a07c844a288b27d9a1;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git apt-native: don't let dpkg overwrite files by default With --force-overwrite (implied by --force-all), dpkg will not abort when a package overwrites files from different packages. As this can also lead to "The following package disappeared from your system as all files have been overwritten by other packages: " and subsequently broken dependencies, this makes the simple case of conflicting files hard to debug. Instead of finding all possibly required force options, only disable overwrite for now. Signed-off-by: Jan Luebbe Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/apt/files/apt.conf b/meta/recipes-devtools/apt/files/apt.conf index 03351356bc0..c95a5b07af5 100644 --- a/meta/recipes-devtools/apt/files/apt.conf +++ b/meta/recipes-devtools/apt/files/apt.conf @@ -39,4 +39,4 @@ APT }; }; -DPkg::Options {"--root=#ROOTFS#";"--admindir=#ROOTFS#/var/lib/dpkg";"--force-all";"--no-debsig"}; +DPkg::Options {"--root=#ROOTFS#";"--admindir=#ROOTFS#/var/lib/dpkg";"--force-all";"--no-force-overwrite";"--no-debsig"};