[Bug 1028910] [NEW] postint appears to be checking for packages that no longer exist

David Partain david.partain at ericsson.com
Wed Jul 25 13:21:17 UTC 2012


Public bug reported:

Greetings,

Please see this thread for full information about how I got here:
http://ubuntuforums.org/showthread.php?t=2029774

If I install using the latest mini.iso file
(http://archive.ubuntu.com/ubuntu/dists/precise-updates/main/installer-
amd64/20101020ubuntu136.1/images/netboot/mini.iso) 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:

<popup>
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").
</popup>

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)"
else
  packs="language-support-$lp"
fi

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
http://packages.ubuntu.com/search?keywords=language-support-
en&searchon=names&suite=all&section=all 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.

Thanks.

David

** Affects: pkgsel (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  postint appears to be checking for packages that no longer exist

Status in “pkgsel” package in Ubuntu:
  New

Bug description:
  Greetings,

  Please see this thread for full information about how I got here:
  http://ubuntuforums.org/showthread.php?t=2029774

  If I install using the latest mini.iso file
  (http://archive.ubuntu.com/ubuntu/dists/precise-updates/main
  /installer-amd64/20101020ubuntu136.1/images/netboot/mini.iso) 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:

  <popup>
  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").
  </popup>

  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)"
  else
    packs="language-support-$lp"
  fi

  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
  http://packages.ubuntu.com/search?keywords=language-support-
  en&searchon=names&suite=all&section=all 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.

  Thanks.

  David

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pkgsel/+bug/1028910/+subscriptions




More information about the foundations-bugs mailing list