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

Bug#428083: Confusing message when running dpkg-reconfigure tzdata



On Sat, 9 Jun 2007, Clint Adams wrote:

On Fri, Jun 08, 2007 at 07:41:26PM +0100, Reuben Thomas wrote:
When I finish reconfiguring ("dpkg-reconfigure tzdata") I get the
message:

Current default timezone: 'Europe/London'
Local time is now:      Fri Jun  8 19:38:58 BST 2007.
Universal Time is now:  Fri Jun  8 18:38:58 UTC 2007.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

which implies I still haven't reconfigured the time zone (when in fact
I have). The last line should not be printed by "dpkg-reconfigure
tzdata".

How does it imply that?

Because

a) nothing in the message explicitly tells me the time zone has changed (it prints the new default time zone, but I have to know what the old time zone was in order to know that I have now changed it; maybe I mis-remembered? or re-selected the same time zone by mistake?), and

b) the fact that it's telling me how to change the time zone suggests to me that I haven't in fact just changed it by running the exact same command, because if I had then clearly I already know how to change it, so I'm left to wonder whether the command did anything, whether I typed the right command, or have the right privileges to run it.

In general, if I run the command 'do-foo' then I am reassured by a message like "Foo done", or indeed no message at all (because of the UNIX convention that no news is good news), but I am inclined to suspect something is wrong if the output is "To do foo, run 'do-foo'", because I'm left wondering why I'm apparently being told something I already know.

--
http://rrt.sc3d.org/ | egrep, n.  a bird that debugs bison



Reply to: