When adding binaries, don't reload every repo, only the one containing the binaries

Bug #954822 reported by Björn Tillenius on 2012-03-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Client
Medium
Björn Tillenius

Bug Description

When adding binaries with the change-packages message (i.e. installing package profiles), we currently reload every repo, since we need to make sure that the facade knows about the added binaries, so that it can install them.

Updating everything is expensive, though, so we should update as little as possible. python-apt has an API for updating only a single sources.list file, but it's not available in Lucid, so we have to take some care when doing this.

tags: added: points-2 squad-gamma theme-apt
Changed in landscape-client:
importance: Undecided → Medium
milestone: none → backlog
Changed in landscape-client:
status: New → In Progress
assignee: nobody → Björn Tillenius (bjornt)
milestone: backlog → 12.03.2
Changed in landscape-client:
status: In Progress → Fix Committed
Andreas Hasenack (ahasenack) wrote :

Released into precise as 12.04.1-0ubuntu1

Changed in landscape-client:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers