From 4a98dcf274123190a0ebff2bd223cbc9d11e35f9 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 11 Feb 2025 15:54:46 +0100 Subject: solver3: Install Essential on dist-upgrade This is a bit gnarly, but dist-upgrade is mapped to is an upgrade + removals allowed + installs allowed :D --- test/integration/solver3.broken | 2 -- test/integration/test-bug-675449-essential-are-protected | 15 ++++++++++++++- 2 files changed, 14 insertions(+), 3 deletions(-) (limited to 'test/integration') diff --git a/test/integration/solver3.broken b/test/integration/solver3.broken index 540bfbca1..74507b25f 100644 --- a/test/integration/solver3.broken +++ b/test/integration/solver3.broken @@ -6,9 +6,7 @@ test-apt-move-and-forget-manual-sections test-bug-470115-new-and-tighten-recommends test-bug-602412-dequote-redirect test-bug-611729-mark-as-manual -test-bug-675449-essential-are-protected test-bug-745046-candidate-propagation-fails -test-bug-767891-force-essential-important test-bug-961266-hold-means-hold test-dont-forget-conflicts-via-unknown-architectures test-explore-or-groups-in-markinstall diff --git a/test/integration/test-bug-675449-essential-are-protected b/test/integration/test-bug-675449-essential-are-protected index e7460aeb7..36e7b645e 100755 --- a/test/integration/test-bug-675449-essential-are-protected +++ b/test/integration/test-bug-675449-essential-are-protected @@ -112,4 +112,17 @@ The following information may help to resolve the situation: The following packages have unmet dependencies: foo : Depends: libfoo but it is not going to be installed -E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.' aptget purge libfoo -s +E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.' aptget purge libfoo -s --solver internal + +testequal 'Reading package lists... +Building dependency tree... +Solving dependencies... +Some packages could not be installed. This may mean that you have +requested an impossible situation or if you are using the unstable +distribution that some required packages have not yet been created +or been moved out of Incoming. +The following information may help to resolve the situation: + +The following packages have unmet dependencies: + foo : Depends: libfoo but it is not going to be installed +E: Conflict: foo:amd64 -> libfoo:amd64 but not libfoo:amd64' aptget purge libfoo -s --solver 3.0 -- cgit v1.2.3-70-g09d2