[FFe] [MASTER] We need to better handle external payloads (Flash, msttcorefonts) not being available.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Adobe Flash Plugin Tools |
Invalid
|
Undecided
|
Unassigned | ||
flashplugin-nonfree (Ubuntu) |
Fix Released
|
Critical
|
Steve Langasek | ||
msttcorefonts (Ubuntu) |
Fix Released
|
Critical
|
Steve Langasek | ||
update-notifier (Ubuntu) |
Fix Released
|
Critical
|
Steve Langasek |
Bug Description
At the 11.10 release archive.
The current plan is to add metadata to a package where it can add a URL to retrieve its data, so ubiquity and apt-get --download-only can cache it. We also need a way to queue up package installation post-install, for when we commit to installing flash but cannot do so due to network issues, or when the user wishes to have full language support post-install.
This change requires a freeze exception for precise, as it involves adding new features to update-notifier and significant reworking of the maintainer scripts for the affected packages. It also introduces new UI components; however these UI components are only visible in the event of a failure, so I don't think we should block on UI freeze for making this change given the significant benefit to the install experience when a download fails.
Related branches
- Michael Vogt: Pending requested
- Ubuntu Core Development Team: Pending requested
-
Diff: 491 lines (+365/-8)13 files modifieddata/Makefile.am (+14/-1)
data/package-data-downloader (+274/-0)
data/package-data-downloads-failed-permanently.in (+14/-0)
data/package-data-downloads-failed.in (+15/-0)
debian/changelog (+16/-0)
debian/control (+1/-1)
debian/update-notifier-common.cron.daily (+6/-0)
debian/update-notifier-common.dirs (+2/-0)
debian/update-notifier-common.install (+2/-0)
debian/update-notifier-common.postinst (+11/-0)
debian/update-notifier-common.triggers (+1/-0)
po/POTFILES.in (+2/-0)
src/update-notifier.c (+7/-6)
- Dennis Kaarsemaker: Pending requested
- Diff: 0 lines
Changed in update-manager (Ubuntu): | |
assignee: | Michael Vogt (mvo) → Barry Warsaw (barry) |
Changed in update-manager (Ubuntu): | |
importance: | Undecided → High |
Changed in ubiquity (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in update-manager (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in ubiquity (Ubuntu): | |
status: | Fix Committed → Confirmed |
Changed in update-manager (Ubuntu): | |
status: | Fix Committed → Confirmed |
tags: | added: rls-mgr-p-tracking |
Changed in ubiquity (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in update-manager (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in ubiquity (Ubuntu): | |
assignee: | nobody → Damian Manig (ossimania) |
status: | Triaged → Fix Released |
Changed in ubiquity (Ubuntu): | |
status: | Fix Released → Triaged |
assignee: | Damian Manig (ossimania) → nobody |
tags: | added: rls-p-tracking |
Changed in ubiquity (Ubuntu): | |
importance: | High → Critical |
Changed in update-manager (Ubuntu): | |
importance: | High → Critical |
Changed in ubiquity (Ubuntu): | |
assignee: | Steve Langasek (vorlon) → nobody |
Changed in update-notifier (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → Steve Langasek (vorlon) |
milestone: | none → ubuntu-12.04 |
Changed in ubiquity (Ubuntu): | |
milestone: | ubuntu-12.04 → none |
summary: |
- [MASTER] We need to better handle external payloads (Flash, + [FFe] [MASTER] We need to better handle external payloads (Flash, msttcorefonts) not being available. |
description: | updated |
Changed in msttcorefonts (Ubuntu): | |
assignee: | Barry Warsaw (barry) → Steve Langasek (vorlon) |
Changed in msttcorefonts (Ubuntu): | |
status: | Triaged → Fix Committed |
tags: | added: bugpattern-written |
[11:03] ev: so we have an interesting problem around apt/dpkg canonical. com, the package installation fails. Yesterday, a lot of ubiquity installs failed because archive.c.c was under heavy load and returning 503 errors. Ubiquity tries to install the flash plugin as part of the "3rd party extras checkbox". If the package install fails, ubiquity fails, as dpkg will be in a bad state.
[11:03] ev: if the flashplugin installer package fails to get its payload from archive.
[11:03] ev: What are your thoughts on how to solve this?
[11:03] ev: James Troup suggested a canary in the preinst. A few of us came up with the idea of extending the package metadata to allow specifying a payload that can be locally cached by ubiquity or apt-get --download-only, as this is a problem for the Microsoft fonts as well
[11:03] ev: congratulations on the release, by the way
[11:03] ev: (if ubiquity failed to grab the payload, it wouldn't try to install the package)
[11:06] mvo: along the same line, we have bug #859373 where network-manager helpfully shutsdown networking during the upgrade (well, wifi, but still)
[11:07] ev: yay
[11:07] mvo: its a good question how to fix it, all preinst/postinst trickery will not really work because what we want is that the failure is not fatal but something like transient (until we have network again)
[11:08] mvo: but with the current dpkg we can either mark installed or failed, there will be no retry option
[11:08] ev: also, it would be nice to have a way to queue up retries
[11:08] ev: as we have language packs and whatnot that can't always be installed from ubiquity
[11:09] ev: when there's no network initially
[11:09] ev: and it would be great if we could mark them somewhere and have them show up in update-manager on first boot
[11:09] mvo: maybe we simply need a extension where packages just register a url and a script
[11:09] mvo: and something outside of the pakcage will then take care of it
[11:09] mvo: dpkg will consider it installed because the relevant data is on the system
[11:09] mvo: and that "other" can re-try, download etc at its leisure
[11:09] ev: hmm, could work
[11:10] mvo: hm, queing up packages too is interessting
[11:10] ev: yeah, right now it's a mess
[11:10] mvo: indeed
[11:10] ev: we have that update notifier dialog for language packs
[11:10] ev: which is less than ideal
[11:11] mvo: *FAR from it*
[11:11] mvo: yeah
[11:11] ev:
[11:11] mvo: ok, so two new bits: a) download my external resource framework b) queue pkg install for later
[11:11] ev: indeed
[11:11] mvo: we could abuse apt-get dselect-upgrade for the later
[11:12] ev: oh nice
[11:12] ev: I was unaware of that little gem
[11:14] mvo: it means we mess with the dselect states, but I guess only colin and the other remaining dselect users will care
[11:14] mvo: s/users/user/
[11:14] ev: lol
[11:14] ev: I'm sure they'll live
[11:16] mvo: yeah
[11:22] mvo: I get some lunch now and then I check out (b), but I think that is really straightforward with 'echo "2vcard install" | dpkg --set-selections' and u-m should not really need much changes for this either
[11:22] ev: great! thanks!
[12:45] mvo: I commited code to u-m in trunk that will honor the dpkg ...