El 14/06/08 08:05 Daniel Burrows escribió: > On Thu, Jun 12, 2008 at 12:17:31PM -0400, Felipe Sateler <[EMAIL PROTECTED]> was heard to say: > > Package: aptitude > > Version: 0.4.11.4-1 > > Followup-For: Bug #477038 > > > > The information given by aptitude now is much more cryptic and confusing: > > > > % aptitude search laptop-mode-tools > > i laptop-mode-tools - Scripts to spin down h > > % aptitude why laptop-mode-tools > > i powertop Suggests laptop-mode-tools > > > > As seen, the ouptut is more than uninformative, it's wrong. > > > > Why would aptitude want to consider suggests for a possible explanation > > is beyond me, too (as this doesn't cause aptitude to install > > laptop-mode-tools). > > Currently "why" searches for chains of dependencies from a manually > installed package to the target package. It tries to find as strong a > chain as possible, so if it returns a chain including a Suggests, there > aren't any chains of Depends/Recommends that lead to the final package. > > "why" is useful to find out why a package is being algorithmically > installed or held on the system, hence the name. However, in > circumstances where there is no requirement for the program to be on the > system, aptitude will report any other dependency chains that would > lead to installing the target, even weak ones (i.e., Suggests). > > Why would you care? Well, I could see it being useful if you want to > remove a program, for instance: you can check whether anything that's > installed might be enhanced by keeping it.
Sounds reasonable. However, I still find it confusing. After all, the name "why" suggests it will tell me why a package is installed. I think this behaviour should be inhibited by default and show a "package is manually installed" note, as it did before. This behaviour could be exhibited by passing the -v flag, which would be used anyway since if I am looking for possible applications that are enhanced by the package, I might as well see them all. -- Saludos, Felipe Sateler
signature.asc
Description: This is a digitally signed message part.