Older version of a user installed click is not updated by custom or base pre-installed clicks with a more recent version
Bug #1479001 reported by
Alex Kaluzhny
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
Alejandro J. Cura | ||
The Savilerow project |
Fix Released
|
Undecided
|
Unassigned | ||
click (Ubuntu) |
Fix Released
|
Medium
|
Kyle Fazzari |
Bug Description
When click is asked to list the set of packages for a given user, it walks its way down the list of databases from top (default) to bottom (core). For each database, it checks registrations for that user, followed by registrations for @all. It takes the first registration for any given package name that it finds.
This results both in the user's device using the older version of the software, and the use and reporting of extra storage for multiple copies of the click package.
Uninstalling a package with multiple copies is also confusing for users as only the user copy is uninstalled and the click remains in the list of installed apps/scopes.
Related branches
lp:~kyrofa/click/bugfix_1479001
- dobey: Approve
- Alejandro J. Cura: Pending requested
- click hackers: Pending requested
-
Diff: 134 lines (+104/-2)2 files modifiedclick/tests/test_database.py (+68/-0)
lib/click/database.vala (+36/-2)
Superseded
for merging
into
lp:click
- Alejandro J. Cura: Pending requested
- dobey: Pending requested
- click hackers: Pending requested
-
Diff: 118 lines (+88/-2)2 files modifiedclick/tests/test_database.py (+68/-0)
lib/click/database.vala (+20/-2)
Changed in canonical-devices-system-image: | |
assignee: | nobody → Kyle Nitzsche (knitzsche) |
Changed in click (Ubuntu): | |
assignee: | nobody → Michael Vogt (mvo) |
tags: | added: lt-category-visible |
Changed in canonical-devices-system-image: | |
milestone: | ww34-2015 → ww40-2015 |
summary: |
- OTA update: lower user click not updated by custom tarball higher click + Older version of a user installed click is not updated by custom or base + pre-installed clicks with a more recent version |
description: | updated |
Changed in click (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Changed in savilerow: | |
status: | New → Fix Released |
To post a comment you must log in.
The changes to the custom tarball are applied as an image diff, so there is no way a single click package would fail to update unless the tarball did not contain the update.
Is there any additional information, did the update really apply?
Model, version numbers would be good but I suspect its too late.