Sunday, April 28, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 1138  / 1 Year ago, fri, november 11, 2022, 7:40:12

Sometimes a sudo aptitude upgrade fails and sudo aptitude upgrade --full-resolver then wants to remove about 100 Packages, because of "dependecy conflicts".



Often I can then start update-manager and it offers me a "Teilweise Systemaktualisierung" (roughly "partially distribution upgrade"), when I run this then all packages are updated and it does this without removing any packages in most cases.



Since I want to avoid using graphical tools for this kind of stuff, my question is: is there a way to start the "partially dist-upgrade" via command line? Prefferably with aptitude?


More From » command-line

 Answers
4

I generally also dist-upgrade by default. And when it wants to remove crazy amounts of packages, I either say no repeatedly until it comes up with a sane solution, or I switch to aptitude upgrade.



Aptitude's interactive mode can also be a handy way to get around complex conflict situations (just run aptitude to launch it.)



Sometimes apt-get comes up with better solutions by default (in apt-get one doesn't get the chance to reject solutions).


[#41021] Saturday, November 12, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bunsistent

Total Points: 198
Total Questions: 108
Total Answers: 121

Location: Monaco
Member since Sun, Jan 16, 2022
2 Years ago
;