Comment 2 for bug 833982

Revision history for this message
Michael Nelson (michael.nelson) wrote :

So, some pre-implementation thoughts for this bug.

The result shown in comment 1 above is because currently USC is adding the deb_line that was created with the original purchase - in my case, on maverick. So I assume we need to change that either way.

I can think of two ways to do this:

1) construct the deb_line for the current OS here, add the sources.list.d entry, apt-update and then use apt to determine if it's available, if not, UI as mpt's notes above, and (?) remove the sources.list.d entry
2) Update the agent as per bug 917109 so that when we get the users subscriptions, it'll include more info about the application, in particular, which distroseries are currently supported for the app, then we can give feedback in the UI straight away and not need to add a sources.list entry unnecessarily.

I'm assuming (2) is the way to go - I can do the server branch now (easy) and get going - but let me know if there are other approaches.