Upgrade whole system instead of each package individually
Bug #915280 reported by
Björn Tillenius
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
High
|
Björn Tillenius |
Bug Description
If a request to update all packages is made to a client, it currently loops over all installed packages and calls mark_upgrade() for those packages. This plays badly with dpkg holds, since it might try to upgrade a package that depends on a newer version of a held package. We should replace that for loop with a call to facade.
Related branches
lp:~bjornt/landscape-client/apt-upgrade-all-packages
- Alberto Donato (community): Approve
- Free Ekanayaka (community): Approve
-
Diff: 273 lines (+81/-39)3 files modifiedlandscape/package/changer.py (+1/-3)
landscape/package/facade.py (+14/-15)
landscape/package/tests/test_facade.py (+66/-21)
Changed in landscape-client: | |
importance: | Undecided → High |
milestone: | none → 12.01.1 |
tags: | added: points-2 squad-gamma theme-holds |
Changed in landscape-client: | |
status: | New → In Progress |
assignee: | nobody → Björn Tillenius (bjornt) |
Changed in landscape-client: | |
milestone: | 12.01.1 → 12.01.2 |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.