You are not logged in.
Pages: 1
Hello ,
i have set-up a Devuan 6 system with MATE Desktop;
now found out that the time is "1-hour-behind" due to computer probably aligned with greenwhich time or so.
now what i did previously was variously type in terminal like
"sudo ntpdate" or "sudo ntp" and the time would somehow set itself up to local-time.
now , however, both of tthese packages seem not present with devuan 7.
could you please show the proper method on aligning the time to local-time?
have already set the time in mate-desktop to local-location, but it seem not make-a-difference.
thank you very much.
Offline
dpkg-reconfigure tzdatahttps://sourceforge.net/projects/vuu-do/ New Vuu-do isos uploaded October 2025!
Vuu-do GNU/Linux, minimal Devuan-based Openbox and Mate systems to build on. Also a max version for OB.
Devuan 5 mate-mini iso, pure Devuan, 100% no-vuu-do.
Devuan 6 version also available for testing.
Please donate to support Devuan and init freedom! https://devuan.org/os/donate
Offline
And to set ntp right, as you seem to refer to:
it's ntpsec to be installed.
And to check if it works:
ntpq -pAnd in devuan 7 ??? These programs are present in Devuan 6 (Excalibur)
ntpdate was for older ditributions, like RedHat etc.
Offline
ntp and ntpdate are outdated since Daedalus. Look for ntpsec, e.g.
apt list ntpsec*Online
Typing which ntp and pressing tab twice will get you a list of programs in your path with names starting with ntp. man ntp and tab twice will get a similar list of man pages. This trick is worth remembering next time you are not sure what a program should be called.
Offline
sudo dpkg-reconfigure tzdata
[sudo] password for rich:
Current default time zone: 'Europe/Rome'
Local time is now: Tue Dec 9 17:16:46 CET 2025.
Universal Time is now: Tue Dec 9 16:16:46 UTC 2025.but the time is still ¹ hour behind.
EDIT
apt list ntpsec*
ntpsec-doc/stable,stable 1.2.3+dfsg1-8 all
ntpsec-ntpdate/stable,now 1.2.3+dfsg1-8 amd64 [installed]
ntpsec-ntpdate/stable 1.2.3+dfsg1-8 i386
ntpsec-ntpdig/stable,now 1.2.3+dfsg1-8 amd64 [installed,automatic]
ntpsec-ntpdig/stable 1.2.3+dfsg1-8 i386
ntpsec-ntpviz/stable 1.2.3+dfsg1-8 amd64
ntpsec-ntpviz/stable 1.2.3+dfsg1-8 i386
ntpsec/stable 1.2.3+dfsg1-8 amd64
ntpsec/stable 1.2.3+dfsg1-8 i386
sudo ntpsec-ntpdate
sudo: ntpsec-ntpdate: command not foundEDIT II
bash: ntpq: command not foundLast edited by kapqa (2025-12-09 17:22:34)
Offline
I fear it doesn't work that way, never did.
Best for a Linux system: set the HW clock in the Bios to UTC. Set the time zone to your region.
Then install the packages ntpsec and ntpsec-ntpdate.
Last but not least: define a time server in /etc/ntpsec/ntp.conf. Works for me.
Note: when you dual boot with Windows, you have to change the registry to also set Windows to UTC.
Last edited by rolfie (2025-12-09 19:47:41)
Online
Sure, rolfie is right.
The computer's HW clock should be set to UTC. And the timezone (TZ) should be selected as to the standards.
When DST patterns change for some time-zones, the corresponding patches will be distributed. Another reason to update regularly.
Offline
Change it to local in /etc/adjtime to give you what you want.
Online
see my thread https://dev1galaxy.org/viewtopic.php?id=7636
consider if you want every device in your intranet to blast its IPv6 address all over the internet.
consider economy of data and privacy .
The devil, you know, is better than the angel, you don't know. by a British Citizen, I don't know too good.
One generation abandons the enterprises of another like stranded vessels. By Henry David Thoreau, WALDEN, Economy. Line 236 (Gutenberg text Version)
broken by design :
https://bugs.debian.org/cgi-bin/bugrepo … bug=958390
Offline
have a second parttition which is with KDE and also there the time is wrong;
however, it seem that there is not option to correct it in the setting
(would like to set "set date and time automatically" but it is not selectable)
sudo apt install ntpsec
[sudo] password for rich:
Installing:
ntpsec
Installing dependencies:
python3-ntp
Suggested packages:
certbot ntpsec-doc ntpsec-ntpviz
REMOVING:
[b] openntpd
[/b]
Summary:
Upgrading: 0, Installing: 2, Removing: 1, Not Upgrading: 0
Download size: 437 kB
Space needed: 1,150 kB / 721 GB available
Continue? [Y/n] thanks, will check in BIPS BIOS and get back to you.
this computer is around a year aold , and first time got maybe around 6 -7 bios updates.
(probably have not the time set right last time after BIOS update=)
Offline
I realise I am surfing the rim here, but...
system service hwclock allows changes to or from system time.
Set the Hardware Clock to the current System Time.
# hwclock --systohc
Set the System Time from the Hardware Clock.
# hwclock --hctosys
# hwclock --set --date="8:20:05"
But, generally I set the bios to UTC and the system takes care of the rest.
All the best.
pic from 1993, new guitar day.
Offline
Pages: 1