Possible real fix as described in bug #1479001

This change has the side effect (a regression) of making it impossible
to sideload an older version of a click, since the system hooks are run
on boot: the older versions will be unregistered upon the next boot. We
believe this is fixable by comparing the timestamps of a user's
registrations with the newer version of the click included in the OTA
update, and only unregister if the user's registration is older than the
OTA update's.

Unfortunately, that hits another issue where the user registrations
timestamps seem to get updated upon every reboot, which means they'll
always be newer than the OTA update's. We believe we can resolve this by
making the user hooks a little smarter about touching registrations that
don't need to be touched, but it still requires a bit more
investigation.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1513860

Title:
  'Latest' version of a click package used after reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-developer-experience/+bug/1513860/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to