summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2022-07-08 17:46:05 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2022-07-11 16:37:33 +0200
commite077370ffcb3669a50a600e80356c2002e6b176d (patch)
tree38b778bc3bf1ed8779e6e8a273cadba006a2eaec /test
parent01634926847e7c70ce51ea4592d8da0a25d9150d (diff)
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
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-multiarch-allowed3
1 files changed, 1 insertions, 2 deletions
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: