On 6/18/24 11:30, Changqing Li via lists.openembedded.org wrote:
From: Changqing Li<changqing...@windriver.com>
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<j...@pengutronix.de>
Signed-off-by: Richard Purdie<richard.pur...@linuxfoundation.org>
Take back
fromhttps://git.openembedded.org/openembedded-core/commit/?id=4292387ef6c4e80428bad6a07c844a288b27d9a1
This patch is dropped in
https://git.openembedded.org/openembedded-core/commit/?id=f058272de9cba188d96940c8c921cf31727fe4d1.
And apt still behaves like before, it is possible to meet the problem
this patch try to fix, so take it back.
And scarthgap merged this patch, but master not yet. So ping for master.
if master branch reject this patch, should scarthgap revert it?
Sorry for sending the patch to both scarthgap and master at the same
time and cause this confusing,
Will send backport request after master merge the fix in the future.
Regards
Changqing
Signed-off-by: Changqing Li<changqing...@windriver.com>
---
meta/recipes-devtools/apt/apt_2.6.1.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/apt/apt_2.6.1.bb
b/meta/recipes-devtools/apt/apt_2.6.1.bb
index 68bd7c5407..26a6d99f84 100644
--- a/meta/recipes-devtools/apt/apt_2.6.1.bb
+++ b/meta/recipes-devtools/apt/apt_2.6.1.bb
@@ -111,7 +111,7 @@ Acquire
AllowInsecureRepositories "true";
};
-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"};
DPkg::Path "";
EOF
}
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#203209):
https://lists.openembedded.org/g/openembedded-core/message/203209
Mute This Topic: https://lists.openembedded.org/mt/107853169/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-