#1110651 debian-live: Calamares fails to run hwclock on debian 13.0.0 LXDE image

#1110651#5
Date:
2025-08-09 17:09:55 UTC
From:
To:
Dear Maintainer,

While testing the debian 13.0.0 live images before the release, I've
noticed a bug that doesn't seem to render installation impossible, but
probably impacts some users who selected a different timezone to the one
they use at the moment.

It seems that the live image is missing hwclock binary, which leads to
the following message in the Calamares log while installing the live
system:

https://paste.debian.net/1390567/

People on IRC (thanks, smcv!) suggested that in trixie it moved to
util-linux-extra and isn't necessarily installed by default. So it would
make sense to include this package as well.

#1110651#10
Date:
2026-03-14 18:39:21 UTC
From:
To:
Hello there,

We've been carrying out testing of LXDE live on Debian 13.4.0 and I can
confirm that the hwclock still doesn't run on the live image.

I have managed to track down the log location and entry and have pasted
the error.

root@debian:/var/run/live/overlay/rw/root/.cache/calamares# grep -rn
"hwclock" *
session.log:584:2026-03-14 - 17:29:47 [6]:     .. Job 29 "hwclock" +wt 1
tot.wt 26
session.log:813:2026-03-14 - 17:35:24 [6]:     Starting job "hwclock" (
29 / 41 )
session.log:815:2026-03-14 - 17:35:24 [6]:     .. Running
QList("hwclock", "--systohc", "--utc")
session.log:816:2026-03-14 - 17:35:24 [6]:     .. Target cmd:
QList("hwclock", "--systohc", "--utc") Exit code: 127 output:
session.log:817:chroot: failed to run command 'hwclock': No such file or
directory
session.log:820:2026-03-14 - 17:35:24 [6]:     .. Running
QList("hwclock", "--systohc", "--utc", "--directisa")
session.log:821:2026-03-14 - 17:35:24 [6]:     .. Target cmd:
QList("hwclock", "--systohc", "--utc", "--directisa") Exit code: 127 output:
session.log:822:chroot: failed to run command 'hwclock': No such file or
directory
session.log:825:2026-03-14 - 17:35:24 [6]: [PYTHON JOB]: "BIOS or Kernel
BUG: Setting hwclock failed."
root@debian:/var/run/live/overlay/rw/root/.cache/calamares#

Many thanks

Emyr (egw)