diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2020-04-06 15:23:57 +0200 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2020-04-28 10:05:17 +0800 |
commit | b57b311cfaabbcd08ce51760abcd64cf23e1435b (patch) | |
tree | c4227a891a1ad8739b045e53aa3dbc4838447772 | |
parent | c314c6695acca9ea68e38359fb03a94afa37bb2b (diff) | |
download | openembedded-core-b57b311cfaabbcd08ce51760abcd64cf23e1435b.tar.gz |
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: <package>" 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 <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-rw-r--r-- | meta/recipes-devtools/apt/files/apt.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/apt/files/apt.conf b/meta/recipes-devtools/apt/files/apt.conf index 03351356bc..c95a5b07af 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"}; |