Failure: The 3.0 solver produced a worse result: fewer upgrades counted as worse

Bug #2105395 reported by Alan Santos
48
This bug affects 8 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Fix Released
Undecided
Julian Andres Klode

Bug Description

Ocurred when closing rhytminbox

ProblemType: AptSolver
DistroRelease: Ubuntu 25.04
Package: apt 2.9.34
ProcVersionSignature: Ubuntu 6.14.0-13.13-generic 6.14.0
Uname: Linux 6.14.0-13-generic x86_64
ApportVersion: 2.32.0-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sat Mar 29 14:47:42 2025
InstallationDate: Installed on 2025-03-29 (0 days ago)
InstallationMedia: Ubuntu 25.04 "Plucky Puffin" - Beta amd64 (20250326.6)
SourcePackage: apt
Title: Failure: The 3.0 solver produced a worse result
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Alan Santos (alansantosmg) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt (Ubuntu):
status: New → Confirmed
Revision history for this message
Julian Andres Klode (juliank) wrote (last edit ):

Thanks for your report.

When I developed the solver evaluation, It seems I did not consider that "more upgrades" is worse when it comes to an "install" command, I always counted "more upgrades" as a better solution.

And I changed the classic solver a while ago to upgrade all binaries produced by a source package when installing a new version of one of them; but the new solver doesn't have that - it upgrades as few packages as possible.

Changed in apt (Ubuntu):
status: Confirmed → Triaged
assignee: nobody → Julian Andres Klode (juliank)
tags: added: foundations-todo
Changed in apt (Ubuntu):
milestone: none → ubuntu-25.04
summary: - Failure: The 3.0 solver produced a worse result
+ Failure: The 3.0 solver produced a worse result: fewer upgrades counted
+ as worse
Changed in apt (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apt - 3.0.0

---------------
apt (3.0.0) unstable; urgency=medium

  [ Julian Andres Klode ]
  * And so it begins: Bump the version to 3.0 to mark the start
    of a stable series, dedicated to Steve Langasek.
  * symbols: Update to 2.9.35
  * solver3: Consider more upgrades more costly when not upgrading
    (LP: #2105395)

  [ Frans Spiesschaert ]
  * Dutch manpages translation update (Closes: #1100801)
  * Dutch program translation update (Closes: #1100807)

  [ Rafael Fontenelle ]
  * Brazilian Portuguese program translation update (Closes: #1100964)

  [ Remus-Gabriel Chelu ]
  * Romanian program translation update (Closes: #1101535)

  [ Carles Pina i Estany ]
  * Catalan program translation update

  [ Helge Kreutzmann ]
  * German program translation update (Closes: #1100550)

  [ bubub ]
  * French program translation update (Closes: #1100708)

 -- Julian Andres Klode <email address hidden> Fri, 04 Apr 2025 22:32:19 +0200

Changed in apt (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.