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

Gunnar Hjalmarsson gunnarhj at ubuntu.com
Thu Feb 21 02:45:27 UTC 2013


On 2013-02-20 22:04, Colin Watson wrote:
> On 2013-02-20 21:39, Gunnar Hjalmarsson wrote:
>> 
>> sudo dpkg-reconfigure -fnoninteractive libpaper1
>> 
>> (in Quantal) does not seem to change anything.
> 
> You might need to make sure that sudo doesn't change the environment,
> or else do something like sudo sh -c '. /etc/default/locale;
> dpkg-reconfigure -fnoninteractive libpaper1'.

Tried that too with no success, i.e. /etc/papersize remains unchanged.
What kind of magic do you use in the installer? ;-)

>From libpaper1.config I learned (the undocumented?) "locale height" and
"locale width", which replace the need for nl_langinfo. The attached
simplistic shell script (run as sudo) works as expected for me. It
should be possible to use the paperconfig command instead of writing
/etc/papersize directly, but if TeX Live is installed, interactivity is
automatically (and incorrectly?) triggered sometimes.

Do we need other default papersize options but "a4" and "letter"? A user
with special needs can add

  export PAPERSIZE=[whatever]

to e.g. ~/.profile.

** Attachment added: "update-papersize.sh"
   https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1094872/+attachment/3539330/+files/update-papersize.sh

-- 
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:
  Fix Released
Status in “language-selector” package in Ubuntu:
  Invalid
Status in “ubiquity” package in Ubuntu:
  Fix Committed
Status in “langpack-locales” source package in Raring:
  Fix Released
Status in “language-selector” source package in Raring:
  Invalid
Status in “ubiquity” source package in Raring:
  Fix Committed

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