[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Meaning of "score" when looking for package solutions



In <[🔎] 886fa7aa0905220106n791648e1v6b79acecc06b34c9@mail.gmail.com>, Jason 
Filippou wrote:
>Being new to Debian and running Squeeze I'm curious as to what the "Score
> is x" line's supposed to mean when examining solutions to solve package
> dependences through aptitude.

Aptitude assigns each possible resolution a score.  A resolution's score is 
the sum of the scores of all actions in the resolution.  Each possible 
action has a fixed, integral score.  The defaults for these scores and the 
configuration option to alter them are documented 
http://algebraicthunk.net/~dburrows/projects/aptitude/doc/en/ch02s04s05.html 
and in the package(s) aptitude-doc-$lang.

Those documents contain all the apt.conf settings that will affect aptitude, 
the ones that affect action score are all of the form:
Aptitude::ProblemResolver::${Action}Score.

When presenting the user with a solution, aptitude will show the one with 
the highest score that the resolver has found so far.  Solutions that are 
found to have a score that is too low will be immediately rejected.
-- 
Boyd Stephen Smith Jr.           	 ,= ,-_-. =.
bss@iguanasuicide.net            	((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy 	 `-'(. .)`-'
http://iguanasuicide.net/        	     \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: