[Bug 1048207] Re: "el complete" in langpacks.txt breaks build

Steve Langasek 1048207 at bugs.launchpad.net
Thu Oct 14 01:40:56 UTC 2021


The Precise Pangolin has reached end of life, so this bug will not be
fixed for that release

** Changed in: ubuntu-defaults-builder (Ubuntu Precise)
       Status: Triaged => Won't Fix

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

Title:
  "el complete" in langpacks.txt breaks build

Status in ubuntu-defaults-builder package in Ubuntu:
  Fix Released
Status in ubuntu-defaults-builder source package in Precise:
  Won't Fix

Bug description:
  langpacks.txt mentions this about "complete":
  # If the second
  # column is "complete", all additional support packages like LibreOffice help,
  # input methods, dictionaries etc. will be installed in addition; otherwise
  # only the language packs with the translations will be installed.

  But when I put "el complete" there, `ubuntu-defaults-image` breaks.
  The problem is in /usr/share/ubuntu-defaults-builder/language-support-hook:

  > requested=`sed "s/ complete/(complete)/" < "$REQUESTED_LANGUAGES" | xargs`
  > 
  > # determine installed packages for requested languages
  > for lang in $requested; do
  >     check-language-support --show-installed -l $lang | xargs -n1 >> $NOREMOVE_PACKAGES
  > done

  This results in the following call, which is clearly wrong:
  >     check-language-support --show-installed -l 'el(complete)'

  I'm attaching an untested patch that might fix the problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-defaults-builder/+bug/1048207/+subscriptions




More information about the foundations-bugs mailing list