[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#406182: libc6: error in postinst script



clone 406182 -1
not found -1 2.3.2.ds1-22sarge4
found -1 2006c-1
retitle -1 tzdata: error in postinst script
close 406182 2.3.6-6

Gerfried Fuchs a écrit :
> Package: libc6
> Version: 2.3.2.ds1-22sarge4
> Severity: normal
> 
>         Hi!
> 
>  When upgrading a system I stumbled upon this error:
> 
> #v+
> Unpacking replacement libc6 ...
> Setting up libc6 (2.3.2.ds1-22sarge4) ...
> /var/lib/dpkg/info/libc6.postinst: line 320: [: /usr/share/zoneinfo/Europe/Vienna: binary operator expected
> Running 'tzconfig' to set this system's timezone.
> Your current time zone is set to Europe/Vienna
> Europe/Vienna
> Do you want to change that? [n]: 
> Your time zone will not be changed
> #v-
> 
>  It didn't had any severe influence on the upgrade, but I think it
> should be tackled anyway.  I'm not sure how the system ended up with
> _two_ lines in /etc/timezone:
> 
> #v+
> Europe/Vienna
> Europe/Vienna
> #v-
> 
>  but the above is the result of such a file.  I guess some quoting at
> some place in the postinst script should be able to handle that, or
> similar, and for I'm not sure how I originally ended up with two lines
> in the file I'm not sure if others might stumble upon this issue, too.
> 
>  Thought I'd let you know.
> 
I am not sure this bug is still present, but if it is, this script has
been moved to tzdata.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: