The officially official Devuan Forum!

You are not logged in.

#1 2021-02-25 20:17:57

mclien
Member
Registered: 2020-02-29
Posts: 36  

change timezone [solved]

I messed up my timezone.
But I'm not totally sure how to fix it.
Is it "just" to set the correct link here:
ls -l /etc/localtime

EDIT:
Yes it is. Use

ln -sf /usr/share/zoneinfo/US/Central /etc/localtime

Example to set it to US Central "on the fly"

Last edited by mclien (2021-02-25 20:23:08)

Offline

#2 2021-02-25 20:40:08

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 2,386  

Re: change timezone [solved]

You should probably use the provided abstraction instead:

# dpkg-reconfigure tzdata

This isn't Arch wink


To obtain a root shell use su -. Using just su will result in "command not found" messages.

Offline

#3 2021-02-25 20:58:04

mclien
Member
Registered: 2020-02-29
Posts: 36  

Re: change timezone [solved]

Well, yes, perhaps. But nowadays most of the searches will give you the "timedateclt" solution.
And I find it quite interesting to finally "kinda by accident" found out how it is done internally.

Also: I was wondering what requires less typing ;-)

Btw: I must have messed up this while installing. (wonder where I missed the "Europe" path in installation.

Offline

#4 2021-12-31 08:13:45

kapqa
Member
Registered: 2019-01-02
Posts: 271  

Re: change timezone [solved]

problem here is that even with "dpkg-reconfigure tzdata" and the correct timezone (rome) the hour is one h behind.

Offline

Board footer