Updates panel lists updated packages with frameworks not supported by the device

Bug #1383472 reported by James Tait
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-system-settings (Ubuntu)
Confirmed
High
Unassigned

Bug Description

When a new Framework is released, often packages are updated to take advantage of the new framework. When a device without the new framework requests available package updates, these new packages are included in the results, but trying to install them results in an error. The same applies where an updated package no longer supports the device's architecture.

Part of this is server-side: the returned updates should be filtered based on the architecture of, and frameworks available on the device. But in order for the server to know which frameworks are available, the client needs to send them. In unity-scope-click, this data is sent in the X-Ubuntu-Architecture and X-Ubuntu-Frameworks headers [0]. It would be nice if we could do the same from the update manager, for consistency. It should also send an Accept header with the value application/json.

I think this would need to be added to the system-update plugin's network component [1].

[0] https://wiki.ubuntu.com/AppStore/Interfaces/ClickPackageIndex#Client_Platform_Properties
[1] http://bazaar.launchpad.net/~system-settings-touch/ubuntu-system-settings/trunk/view/head:/plugins/system-update/network/network.cpp#L42

Tags: updates
James Tait (jamestait)
description: updated
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

There is some thought of creating a shared service for this to replace the two current implementations.

Changed in ubuntu-system-settings (Ubuntu):
importance: Undecided → High
Changed in ubuntu-system-settings (Ubuntu):
status: New → Confirmed
tags: added: updates
Revision history for this message
James Tait (jamestait) wrote :

The click-metadata API has now landed in CPI (https://search.apps.ubuntu.com/api/v1/click-metadata), and provides Architecture, Framework and Region filtering by default. The equivalent service in SCA should be considered deprecated, and will be removed in the future.

Revision history for this message
Martin Albisetti (beuno) wrote :
James Tait (jamestait)
description: updated
Revision history for this message
Ken VanDine (ken-vandine) wrote :

This was fixed with bug 1449582

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.