Some dpkg errors don't fail the activity on lucid
Bug #937567 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 dpkg returns an error, for example that the Packages file is corrupt or user doesn't have super-user privileges, the activity still succeeds. We need to somehow figure out that an error happened and fail the activity.
This affects lucid only. On other releases python-apt raises an exception when trying to commit the transaction.
Related branches
lp:~bjornt/landscape-client/apt-dpkg-error-lucid
- Jerry Seutter (community): Approve
- Alberto Donato (community): Approve
-
Diff: 338 lines (+106/-30)3 files modifiedlandscape/package/facade.py (+28/-1)
landscape/package/tests/test_changer.py (+3/-9)
landscape/package/tests/test_facade.py (+75/-20)
Changed in landscape-client: | |
importance: | Undecided → High |
milestone: | none → 12.02.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.02.2 → 12.03.1 |
Changed in landscape-client: | |
milestone: | 12.03.1 → 12.03.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.