That's the key design idea behind the new solver, it's not allowed to
remove manually installed packages. The messages aren't quite the most
helpful about that yet.

We have a compat mode with APT::Solver::RemoveManual=1 which I need to
add a command-line argument for, and I'd like to introduce an `apt swap`
command for specifically swapping packages as a semantically different
concept.

It may also be possible that we switch to the compact mode, but it's not
fully sound yet: It guarantees that no manually installed package is
removed if such a solution exists, but it doesn't provide strong
guarantees to how many manually installed packages it removes if it
needs to remove some.*

* It technically provides the guarantee that it orders all manually
installed packages by apt's internal preference and guarantees you not
to remove a more preferable package than the ones that need to be
removed but it may remove less important packages instead of finding
other solutions

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2115024

Title:
  Apt fails when it needs to remove a non-specified pacakage

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2115024/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to