Package: xen-tools
Version: 2.8-1

xen-create-image should unset the current locale (or set it to the C
locale), to avoid a lot of warnings from perl when installing
packages.

When it is running the hooks, I see a lot of messages like this in the
build log:

  After unpacking 2548kB of additional disk space will be used.
  WARNING: The following packages cannot be authenticated!
    libc6-xen
  perl: warning: Setting locale failed.
  perl: warning: Please check that your locale settings:
          LANGUAGE = "nb_NO:nb:no_NO:no:nn_NO:nn:da:sv:en",
          LC_ALL = (unset),
          LANG = "nb_NO.UTF-8"
      are supported and installed on your system.
  perl: warning: Falling back to the standard locale ("C").
  locale: Cannot set LC_CTYPE to default locale: No such file or directory
  locale: Cannot set LC_MESSAGES to default locale: No such file or directory
  locale: Cannot set LC_ALL to default locale: No such file or directory
  Selecting previously deselected package libc6-xen.
  (Reading database ... 7279 files and directories currently installed.)
  Unpacking libc6-xen (from .../libc6-xen_2.3.6.ds1-7_i386.deb) ...

I recommend setting environment variable 'LC_ALL' to 'C' at the start
of the xen-create-image script to avoid this problem.

Friendly,
-- 
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to