Guten Morgen ...
Seit längerer Zeit nutze ich den "solver" bei full-upgrades ... und das hat mir schon öfter den Ar... gerettet. :)
doas apt update && doas apt --solver 3.0 full-upgrade
Jetzt habe ich hier im Forum den Rat gelesen, ihn nicht mehr zu nutzen, weil er durch das upgrade von 'apt' unnötig wurde.
Wie seht ihr das?
Jay or Nay?
Der Solver ist in apt seit einigen Versionen stabil integriert und somit ist der Parameter überflüssig.
Danke ... dann nehm ich ihn raus. :)
Die Formulierung, ob man ,,den Solver nutzt" oder nicht, ist schon etwas schräg. Den Solver nutzt man immer, wenn man über die Paketverwaltung was installiert. Mit der Option --solver 3.0 ruft man lediglich explizit die neueste Version des Solvers auf, nicht ,,den Solver" an sich ;-) ohne diese Option wurde halt solver2 eingesetzt.
In apt v3 ist solver3 fest verdrahtet, da macht es keinen Unterschied, ob man die Option setzt oder nicht: https://linuxnews.de/apt-3-0-ist-da/
--ks
apt-config dump
At the bottom you will see the Solver bits for confirmation.
But it seems, that nala is still running without solver 3.0. I always thought it is just using standard apt. But obviously this isn't the case.
Aber wie es aussieht, läuft Nala immer noch ohne Solver 3.0. Ich dachte immer, es würde einfach nur apt verwenden, aber offensichtlich ist dies nicht der Fall.
Quote from: Fellfrosch on 2026/01/21, 16:31:34... I always thought it is just using standard apt....
My understanding was that apt and nala are
two different tools to interact with libapt-pkg, and not nala being a wrapper for apt (but many news sites didn't make that clear). The nala documentation is also a bit irritating in this because:
- Nala Github Project Page: "Nala is a front-end for libapt-pkg." -> [
1] (https://github.com/volitank/nala#nala)
- Nala Debian Package Page: "Nala is a frontend for the APT package manager." -> [
2] (https://packages.debian.org/sid/nala)
Solver 3.0 used to be very helpful in the past, especially with older apt versions.
However, current apt releases have a much improved default resolver, making --solver 3.0 unnecessary in most cases.
Today it's recommended to use plain apt full-upgrade and only consider solver 3.0 as a last-resort debugging tool, not for routine upgrades.
Quote from: riptidescorecard on 2026/02/04, 04:32:11
...
Today it's recommended to use plain apt full-upgrade and only consider solver 3.0 as a last-resort debugging tool, not for routine upgrades.
That's nonsense. There is no solver 3.0 last-resort debugging tool. solver 3.0 IS THE DEFAULT setting since apt 3.1 .