[Bug 1094872] Re: Installation information cause letter format instead of DIN A4

Colin Watson cjwatson at canonical.com
Wed Feb 20 12:50:58 UTC 2013


On Wed, Feb 20, 2013 at 12:18:57PM -0000, Gunnar Hjalmarsson wrote:
> Using the papersize command instead of editing /etc/papersize directly
> may be an option. But please note that the main point with the attached
> script is to point at a way to go from locale to papersize. It makes
> sense IMO to use the locale info that is available. Maybe that's what
> you do in the installer as well... I'd like to see a way to keep the
> papersize setting in sync with the regional formats settings as done
> from language-selector.

I don't mind what you do in language-selector for this, but it really
isn't related to this bug so I'd like it if you could keep it separate.
The installer can and does manage just fine by running 'dpkg-reconfigure
libpaper1', which already has the necessary logic to go from locale to
papersize.  I'm getting the impression that you're unaware of that code
that already exists in libpaper1.config?

> As regards locales, if I understand it correctly the Ubuntu model so far
> has been that only locales corresponding to installed languages are
> available. New locales are created when a language is installed, and
> they are removed when a language is removed. That's why remove-language-
> pack works the way it does. There is no other UI besides language-
> selector for managing the generated locales as shown with "locale -a",
> is there?

UI or not, it has always been possible and supported to use the
locale-gen program directly to generate additional locales, which is why
/var/lib/locales/supported.d/local exists.  It's a straightforward bug
that remove-language-pack wasn't honouring that properly.  Martin
approved my patch to remove-language-pack and I've uploaded it.

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

Title:
  Installation information cause letter format instead of DIN A4

Status in “langpack-locales” package in Ubuntu:
  Triaged
Status in “language-selector” package in Ubuntu:
  Triaged
Status in “ubiquity” package in Ubuntu:
  Triaged
Status in “langpack-locales” source package in Raring:
  Triaged
Status in “language-selector” source package in Raring:
  Triaged
Status in “ubiquity” source package in Raring:
  Triaged

Bug description:
  Dear ladies and gentlemen,

  I switched to Debian unstable after problems with TeXLive installations introduce about Oneiric.
  As experienced Unix administrator (AIX and RedHat certified) I was astonished not to be able
  to solve the problem.
  After several attempts I found out that my choices given to the installer:
         English - Berlin timezone - German eliminate deadkeys
  yield without any reason to the assumption that the paper format is "letter".
  E.g. scientists in Germany allways use English language and Berlin time (i.e. the real place being Germay),
  which should clearly qualify to DIN A4 choice, so the choice for /etc/papersize (letter) should be altered
  to "a4" under these (and similar) selections.
  The behaviour is there as already stated since Oneiric - before it worked as expected -
  and is present in the latest flavour.
  I currently work under Xubuntu 12.10 but have several installations (including Ubuntu 12.10
  [which is really unstable and Unity still not configurable] and Debian Wheezy [testing,
  the latter working out of the box without changing /etc/papersize manually]).
  As this bug is quite clear I hope you can fix it before 13.04 - this bug is really mean as the
  real problem is hidden for the user and even when trying to change problems relvealed in
  TeXLive installation relying on the wrong set of papersize  the TeXLive scripts for that purpose
  are not working (Debian related).
  But this is _NOT_ a TeXLive problem - when in Germany (Berlin time) and setting English
  (i.e. /etc/default/locale  being: LANG="en_US.UTF-8"), papersize should be a4 and NOT letter.
  Otherwise one should ask for papersize seperately.
  If other data is needed (not think so - but anyway) please contact me:
     Jochen.M.Braun at gmx.de

  Many thanks in advance for your help!

  JMB

  P.S.: If I missed something - like an expert mode of the installer - please inform me.
     But as unexperienced users may have similar selections the problem should be fixed anyway.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: ubiquity (not installed)
  ProcVersionSignature: Ubuntu 3.5.0-21.32-generic 3.5.7.1
  Uname: Linux 3.5.0-21-generic x86_64
  ApportVersion: 2.6.1-0ubuntu9
  Architecture: amd64
  Date: Mon Dec 31 13:24:16 2012
  InstallCmdLine: file=/cdrom/preseed/xubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
  InstallationDate: Installed on 2012-10-23 (68 days ago)
  InstallationMedia: Xubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
  MarkForUpload: True
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/langpack-locales/+bug/1094872/+subscriptions




More information about the foundations-bugs mailing list