Bug#406182: libc6: error in postinst script
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.
So long,
Alfie
Reply to: