← Back to team overview

tieto team mailing list archive

[Bug 1022891] Re: Regression bug: can't preseed download location

 

Thanks for your patch! Unfortunately, it cannot be included in Ubuntu for the following reasons:
 * it ships a new postinst.in which is used to update postinst via a sed in debian/rules. This is messy and postinst should be adjusted directly with no changes to debian/rules or the additional file.
 * the file postinst.in intends to update /usr/share/package-data-downloads/ttf-mscorefonts-installer via some brittle regular expressions and sed calls (fyi, you might be interested in 'sed -i' for future scripting). A better solution is to simply adjust update-ms-fonts to honor URLOVERRIDE

Unsubscribing ubuntu-sponsors for now. Please feel free to update and
mark this bug back to 'NEW' and resubscribing ubuntu-sponsors after
updating the patch. Thanks again.

** Changed in: msttcorefonts (Ubuntu)
       Status: Confirmed => In Progress

** Changed in: msttcorefonts (Ubuntu)
     Assignee: (unassigned) => Siggi Langauf (s-langauf)

-- 
You received this bug notification because you are a member of Tieto,
which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1022891

Title:
  Regression bug: can't preseed download location

Status in “msttcorefonts” package in Ubuntu:
  In Progress

Bug description:
  For some time already we have been using preseed to specify our local
  repository containing the Microsoft fonts. The main reason for this is
  that we have a pretty complicated proxy environment and it's much
  easier to provide the local repository directly.

  So we have used those preseed entries:
  ttf-mscorefonts-installer msttcorefonts/dlurl string http://@HOSTNAME@@DIRECTORY@/msttcorefonts/
  ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula boolean true

  The postinst script says it all:
  # FIXME: we don't have a way to use an alternate download source here.
  db_get msttcorefonts/dlurl
  URLOVERRIDE=$RET

  The rules file seems to generate a static URLROOT pointing to
  http://downloads.sourceforge.net/corefonts/ and the URLOVERRIDE is
  ignored.

  Our 12.04 workstations have some real issues with that. We have not
  worked that around yet.

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