invalid values for distro upgrades
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
packagekit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
Medium
|
Harald Sitter |
Bug Description
Binary package hint: packagekit
Because of trying to access wrong gobject properties in both the backend AND pkcon invalid values on name/summary and state of available distro upgrades are returned. This affects pkcon as well as KPackageKit.
This essentially means that every Kubuntu user will eventually run into KPackageKit reporting an available distribution and offers "Upgrade to". Quite literal only "Upgrade to" since the name is nil nothing will show up which is completely confusing.
Reproduce the issue:
1) Apply the attached patch metarelease.patch with: sudo patch -p0 < metarelease.patch
2) Edit /etc/update-
3) Ensure that /usr/lib/
4) KPackageKit's update UI and pkcon get-distro-upgrades yield invalid values but detect the presence of a distro upgrade
Check the fix:
1-3 as above
4) as above but this time with appropriate output
The change set at hand does not have any regression potential since the affected gobject properties do not exist at all and in the "broken" version glib correctly reports this as warning (which can be observed in pkcon).
Thanks go to Daniel Nicoletti for helping with tracking down the issue.
Related branches
Changed in packagekit (Ubuntu Lucid): | |
assignee: | nobody → Harald Sitter (apachelogger) |
importance: | Undecided → Medium |
status: | New → In Progress |
ACK from SRU team