AptFacade.get_packages() should return one object for each version of the package

Bug #871641 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

AptFacade.get_packages() currently return one package object per package name. However the code that reports which packages are installed in available expects to get one object per package version. This means that at the moment we report only the candidate version, so we miss some updates and installed packages.

Creating a list of Version objects would be a quick fix. The callsites of get_packages() will have to be adapted a bit, but that's easy work. After that we can rethink this and see how we can adapt the package API to deal with Package objects directly.

Changed in landscape-client:
importance: Undecided → High
milestone: none → 11.10.1
tags: added: points-2 squad-gamma theme-apt
Changed in landscape-client:
assignee: nobody → Björn Tillenius (bjornt)
status: New → In Progress
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.
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.