Comment 22 for bug 1094872

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 1094872] Re: Installation information cause letter format instead of DIN A4

Ah, sorry, you have to do something like this first:

  sudo rm -f /etc/papersize
  sudo ucf --purge /etc/papersize
  echo SET libpaper/defaultpaper | sudo debconf-communicate

See ubiquity/scripts/plugininstall.py. I wrote all that nearly six
years ago so had largely forgotten :-)

libpaper1.config has to operate under the constraint that libpaper1
hasn't even been unpacked yet, so it does have to be pretty
conservative. It's certainly possible that you can do something easier
elsewhere; I'm really just saying that what we have now works well in
the installer context and I don't feel the need to change it. I don't
mind what language-selector does as long as it's consistent; your shell
script is at least simple.