1
0
Fork 0

Aliases cannot be updated, they must be uninstalled, fixes #803

pull/859/merge
Nils Adermann 2012-07-01 17:43:14 +02:00
parent 0da71001e3
commit f0345f0592
1 changed files with 4 additions and 0 deletions

View File

@ -183,6 +183,10 @@ class Transaction
$literal = $decision[Decisions::DECISION_LITERAL];
$package = $this->pool->literalToPackage($literal);
if ($package instanceof AliasPackage) {
continue;
}
// !wanted & installed
if ($literal <= 0 && isset($this->installedMap[$package->getId()])) {
$updates = $this->policy->findUpdatePackages($this->pool, $this->installedMap, $package);