[intrepid post-beta] fails to copy files from certain language pack packages

Bug #285238 reported by Colin Watson
2
Affects Status Importance Assigned to Milestone
Release Notes for Ubuntu
Fix Released
Undecided
Unassigned
ubiquity (Ubuntu)
Fix Released
Critical
Colin Watson
Intrepid
Fix Released
Critical
Colin Watson

Bug Description

Binary package hint: ubiquity

This is a partial recurrence of bug 276657, but I think it's best to file it separately.

Before the 8.10 beta release, we discovered that file-copy blacklisting (from the dvd-performance-hacks specification) was broken, and disabled it. After the beta, we committed a change which at the time was believed to fix it. Unfortunately, it still got the blacklist somewhat wrong, having the following problems:

  * The code to determine which language packs should remain installed did not run before generating the blacklist. As a result, the blacklist generation could not possibly take language packs into account.
  * Packages with prerm scripts were filtered out before calculating which packages could be removed, effectively treating them as if they were sacrosanct packages from the standard desktop installation. This meant that any dependencies of a language pack (or one of its dependencies) with a prerm would never have their files blacklisted.
  * ubiquity only tried one level of broken-package removal using python-apt. Due to the quirks of that interface you actually need to repeat removals until you stop making progress.
  * Packages were removed from the difference list (the list being compared against to check whether packages broken by a removal were allowed) once they were themselves verified to be safely removable. The effect of this was that they stopped being considered as packages that were allowed to be removed while processing subsequent packages.

Colin Watson (cjwatson)
Changed in ubiquity:
assignee: nobody → kamion
importance: Undecided → Critical
milestone: none → ubuntu-8.10
status: New → In Progress
Revision history for this message
Colin Watson (cjwatson) wrote :

While fortunately beta installations were unaffected, I think this would be worth a release notes item for people who installed from post-beta (or indeed pre-beta, while we're at it) daily builds and may have some missing files. I suspect that deselecting the language in language-selector, committing, and then going back in and reselecting the language would sort it out, but I'll need to check whether deselecting a language goes further down the dependency graph than just the top-level language packs.

Colin Watson (cjwatson)
Changed in ubiquity:
status: In Progress → Fix Committed
Revision history for this message
Colin Watson (cjwatson) wrote :

Based on bug 17880 it looks like language-selector doesn't go further down the dependency graph when removing packages.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 1.10.7

---------------
ubiquity (1.10.7) intrepid; urgency=low

  [ Jonathan Riddell ]
  * Use Oxygen style in KDE UI

  [ Andreas Wenning ]
  * Edit ubiquity/frontend/kde_ui.py to correctly open the url for
    release notes.

  [ Evan Dandrea ]
  * Pack the table containing the partition bars in a scrolled window
    (LP: #272318).
  * Remove broken CD-ROM entries from fstab after install (LP: #150872).
  * Automatic update of included source packages: apt-setup
    1:0.37ubuntu6, base-installer 1.86ubuntu7, kboot-installer
    0.0.1ubuntu7, user-setup 1.20ubuntu10.

  [ Mario Limonciello ]
  * Add above broken CD-ROM entries to mythbuntu frontend too.
  * Properly pre-setup database on mythbuntu frontend. (LP: #276904)
  * Simplify the xorg.conf that is written out in apply-drivers. (LP: #181564)
    The ideal situation is to enable these via Jockey, but Jockey doesn't
    have a good interface for turning on during installation and turning
    on and off tv-out.

  [ Colin Watson ]
  * Fix excessive file-copy blacklisting, which had several problems
    (LP: #285238):
    - wasn't deciding which language packs to use before generating the
      blacklist;
    - was filtering out packages with prerms before doing ok-to-remove
      calculations;
    - needed to try recursively removing broken packages in order to get a
      fully-expanded list of reverse-dependencies out of apt;
    - was removing packages from the difference list too early so they
      stopped being considered as packages that were allowed to be removed.
    In an attempt to make this rather large change a little more reviewable,
    note that the code used to analyse removals while generating the
    blacklist is now the same as that used to remove unused packages later
    in the installation process.

 -- Evan Dandrea <email address hidden> Mon, 20 Oct 2008 04:19:30 -0400

Changed in ubiquity:
status: Fix Committed → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

Tentatively documented at <https://wiki.ubuntu.com/IntrepidReleaseNotes#Systems%20installed%20from%20pre-release%20daily%20images%20may%20be%20missing>, but I think this section could use improvement still; in particular, since language-selector won't do the trick, we don't have very good information about how the user can correct the problem.

Changed in ubuntu-release-notes:
status: New → In Progress
Revision history for this message
Evan (ev) wrote :

Closing the release notes task as Steve has added a note.

Changed in ubuntu-release-notes:
status: In Progress → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

reopening because I think the language in the release notes should be improved (if possible)

Changed in ubuntu-release-notes:
status: Fix Released → In Progress
Revision history for this message
Steve Langasek (vorlon) wrote :

closing after all; there's no sense in tweaking the language this long after release.

Changed in ubuntu-release-notes:
status: In Progress → Fix Released
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.