<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffdd" text="#330000">
Received from / Ricevuta da: Alexander Smirnov [11/21/07 09:00]:
<blockquote cite="mid:4743F3A4.5090706@gmail.com" type="cite">
<pre wrap="">N.F. wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi there,
since updating the tzdata package this morning
(which failed) I cannot fix the locale vars on my Gutsy.
as you can see:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "it_IT",
LC_ALL = (unset),
LANG = "it_IT.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
Setting up tzdata (2007i-0ubuntu0.7.10) ...
dpkg: error processing tzdata (--configure):
subprocess post-installation script returned error exit status 10
Errors were encountered while processing:
tzdata
Anybody experienced the same problem ?
Any solution ?
thanks
Nico
</pre>
</blockquote>
<pre wrap=""><!---->i'm not sure, but you can try to recompile the locale
>sudo locale-gen it_IT.UTF-8
and then try install tzdata again
another workaround is to set locale variable to en_US.utf8 for apt
>LANG=en_US.UTF-8 apt-get install --reinstall tzdata
</pre>
</blockquote>
<font face="sans-serif">it did not work<br>
it seems it's a bug related to an nonexistent time zone:<br>
<br>
$ DEBCONF_DEBUG=developer sudo dpkg --configure tzdata<br>
Setting up tzdata (2007i-0ubuntu0.7.10) ...<br>
debconf (developer): frontend started<br>
debconf (developer): frontend running, package name is tzdata<br>
debconf (developer): starting /var/lib/dpkg/info/tzdata.config configure<br>
debconf (developer): <-- VERSION 2.0<br>
debconf (developer): --> 0 2.0<br>
debconf (developer): <-- CAPB backup<br>
debconf (developer): --> 0 multiselect escape backup<br>
debconf (developer): <-- SET tzdata/Areas<br>
debconf (developer): --> 0 value set<br>
debconf (developer): <-- SET tzdata/Zones/<br>
debconf (developer): --> 10 tzdata/Zones/ doesn't exist<br>
dpkg: error processing tzdata (--configure):<br>
subprocess post-installation script returned error exit status 10<br>
Errors were encountered while processing:<br>
tzdata<br>
<br>
<br>
<br>
also found these related pages but no fix is working:<br>
<a class="moz-txt-link-freetext" href="http://ubuntuforums.org/showthread.php?t=583024">http://ubuntuforums.org/showthread.php?t=583024</a><br>
<a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/125349">https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/125349</a><br>
<br>
</font>
</body>
</html>