AptFacade.perform_changes() incorrectly calculates what changes are to be performed

Bug #922582 reported by Björn Tillenius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Client
Fix Released
High
Björn Tillenius

Bug Description

perform_changes() should allow only changes that have been explicitly requested. It currently compares what has been requested with the changes in the apt transaction. However, it only checks which packages are to be changed, not what the change actually is. As a result, if I request a package to be upgraded, perform_changes() will allow that, even if the problem resolver decides that the package is to be removed.

Related branches

summary: - AptFacade.perform_changes() incorrection calculates what changes are
+ AptFacade.perform_changes() incorrectly calculates what changes are
needed
summary: - AptFacade.perform_changes() incorrectly calculates what changes are
- needed
+ AptFacade.perform_changes() incorrectly calculates what changes are to
+ be performed
Changed in landscape-client:
importance: Undecided → High
milestone: none → 12.01.2
assignee: nobody → Björn Tillenius (bjornt)
tags: added: points-2 squad-gamma theme-apt
Changed in landscape-client:
status: New → In Progress
Changed in landscape-client:
milestone: 12.01.2 → 12.02.1
Changed in landscape-client:
status: In Progress → Fix Committed
Changed in landscape-client:
milestone: 12.02.1 → 12.01.2
Changed in landscape-client:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.