Action items:

(1) Fix the EDSP protocol handler to not consider a non-downloadable
version as downloadable. Funny trickery.

(2) I see postgresql-client-16 is manually installed.

The answer here seems to be that when we go look at dependencies to
process:

  postgresql-client  as postgresql-client-16 | postgresql-client | 
postgresqcl-client-17 | ...
             instead of postgresql-client | postgresqcl-client-17 | ... | 
postgresql-client-16
 
(i.e. keep the installed version as the primary choice, despite it being 
obsolete; because it is manually installed)

However when comparing different dependencies, e.g. a.

Depends: postgresql-client (>= 17) and Depends: postgresql-client

which would expand to
    postgresql-client | postgresqcl-client-17
    postgresql-client-16 | postgresql-client | postgresqcl-client-17 | ..

that we process the dependency mentioning obsolete packages later.

This should approximately result in the correct behavior. A manually
installed package is preserved, even if obsolete, unless something else
needs a newer version (assuming we see "something else" early enough).

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

Title:
  Failure: The 3.0 solver produced a worse result

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to