From e077370ffcb3669a50a600e80356c2002e6b176d Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 8 Jul 2022 17:46:05 +0200 Subject: Mark broken reverse depends for upgrade Currently the solver handles cases where a Breaks b (<< 1) and if we install that a, upgrades b. However, where b Depends a (= 1), b was removed again. This addresses the problem by iterating over installed reverse dependencies of upgrades and upgrading them so that both cases work roughly similarly. LP: #1974196 --- test/integration/test-multiarch-allowed | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/integration') diff --git a/test/integration/test-multiarch-allowed b/test/integration/test-multiarch-allowed index 69d0bfa10..db7f37169 100755 --- a/test/integration/test-multiarch-allowed +++ b/test/integration/test-multiarch-allowed @@ -64,8 +64,7 @@ Conf foo:i386 (1 unstable [i386]) Conf needsfoo:i386 (1 unstable [i386])' aptget install needsfoo:i386 -s testfailureequal "$BADPREFIX The following packages have unmet dependencies: - foo : Conflicts: foo:i386 but 1 is to be installed - foo:i386 : Conflicts: foo but 1 is to be installed + needsfoo:i386 : Depends: foo:i386 but it is not installable E: Unable to correct problems, you have held broken packages." aptget install needsfoo:i386 foo:amd64 -s testfailureequal "$BADPREFIX The following packages have unmet dependencies: -- cgit v1.2.3-70-g09d2