Comment 1 for bug 919216

Revision history for this message
Daniel Hartwig (wigs) wrote :

The inclusion of "-y":

    > sudo /usr/bin/aptitude -y install hadoop-0.20

means that in the event of problems you are instructing aptitude to proceed with it's first suggestion:

    Keep the following packages at their current version:
    hadoop-0.20 [Not Installed]
    hadoop-0.20-native [Not Installed]

*technically* aptitude has done what you have asked it to do.

The problem resolver does attempt to honour explicitly requested actions [1]. In this case that is not possible. The only solution would be to add a further option *requiring* the requested actions to be performed (this is very different to what "-y" does).

[1] Configuration items: Aptitude::ProblemResolver::PreserveManualScore and Aptitude::CmdLine::Request-Strictness

    > sudo aptitude install bogus-package
    ...
    > echo $?
    0

This has already been reported [2].

[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590686