postint appears to be checking for packages that no longer exist

Bug #1028910 reported by David Partain
This bug affects 3 people
Affects Status Importance Assigned to Milestone
pkgsel (Ubuntu)

Bug Description


Please see this thread for full information about how I got here:

If I install using the latest mini.iso file ( I get a popup when I first log in (and all users get the same popup) stating that there is incomplete language support. The installation is a simple ubuntu desktop installation. The popup has the following text:

Incomplete Language Support

The language support files for your selected language seem to be incomplete. You can install the missing components by clicking on "Run this action now" and follow the instructions. An active internet connection is required. If you would like to do this at a later time, please use Language Support instead (click the icon at the very right of the top bar and select "System Settings... -> Language Support").

If you then look in the log file from the installation (/var/log/installer/syslog), you will see:

in-target: Setting up language-pack-gnome-en-base (1:12.04+20120508) ...
in-target: Processing triggers for bamfdaemon ...
in-target: Rebuilding /usr/share/applications/bamf.index...
in-target: Reading package lists...
in-target: Building dependency tree...
in-target: Reading state information...
in-target: E
in-target: :
in-target: Unable to locate package language-support-en
pkgsel: finishing up
pkgsel: dpkg-query -W language-pack-en language-pack-gnome-en language-support-en failed; assuming incomplete language support

I then looked in the source for the pkgsel package and found these at around line 463 of postinst (the formatting is not right, but you'll see what I mean):

if $check_language_support; then
  packs="$(chroot /target check-language-support -l "$lp" || true)"

The problem with this is that there is no such package as language-support-en (in my case since I'm installing in English), so pkgsel ends up saying that language support is incomplete. If you go to you will see that language-support-en was not in Oneiric and is not in Precise, either.

I can work around this by using pre-seeding and having

 d-i pkgsel/ignore-incomplete-language-support boolean true

but this appears to be a bug to me.



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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pkgsel (Ubuntu):
status: New → Confirmed
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Indeed there is funny stuff going on. Do you think you can share your pre-seed file, for me to test?

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Also is "language-selector-common" package installed into target? With that package in the target, language support should be correctly installed & enabled.

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.