Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no update to 0.9.8 #7271

Open
Andy3001 opened this issue Nov 3, 2024 · 5 comments
Open

no update to 0.9.8 #7271

Andy3001 opened this issue Nov 3, 2024 · 5 comments

Comments

@Andy3001
Copy link

Andy3001 commented Nov 3, 2024

Details:

  • Date | Sun Nov 3 17:20:08 CET 2024
  • DietPi version | v9.4.2 (MichaIng/master)
  • Image creator |
  • Pre-image |
  • Hardware | ROCK64 (aarch64) (ID=43)
  • Kernel version | Linux rock64 6.6.16-current-rockchip64 #1 SMP PREEMPT Fri Feb 23 08:25:28 UTC 2024 aarch64 GNU/Linux
  • Distro | bookworm (ID=7)
  • Command | systemctl start systemd-timesyncd
  • Exit code | 1
  • Software title | DietPi-TimeSync

Steps to reproduce:

  1. ...
  2. ...

Expected behaviour:

  • ...

Actual behaviour:

  • ...

Extra details:

  • ...

Additional logs:

Failed to start systemd-timesyncd.service: Unit systemd-timesyncd.service is masked.    
@MichaIng
Copy link
Owner

MichaIng commented Nov 3, 2024

Did you install any other network time sync daemon? Some of them mask systemd-timesyncd via maintainer scripts, or may have a conflict with the systemd-timesyncd package.

If so, please switch time sync mode to "custom", via dietpi-config or

sudo /boot/dietpi/func/dietpi-set_software ntpd-mode 0

If there is no alternative time sync daemon, unmask systemd-timesyncd, in case assure it is installed:

sudo apt install systemd-timesyncd
sudo systemctl unmask systemd-timesyncd

Then rerun the update.

@Joulinar
Copy link
Collaborator

Joulinar commented Nov 3, 2024

somethimes this happen after upgrade from Debian Bullseye to Debian Bookworm

@MichaIng
Copy link
Owner

MichaIng commented Nov 3, 2024

Ah right, as the package is no strict dependency anymore, on Bookworm.

@bobodaclown1
Copy link

Thank you. I had same issue. I followed the steps above:
swith time sync mode to "custom"
and then the "sudo apt install..."
Worked like a champ.
Thank you for the support. Running V9.8.9 on my ROCK64 that is supporting pihole for my home network.

@MichaIng
Copy link
Owner

@bobodaclown1 it is either switching to "custom" mode, or installing systemd-timesyncd, not both. Either you installed a different time sync daemon already, hence do not need systemd-timesyncd, then you switch to "custom". Or you did not install any time sync daemon by yourself, then install systemd-timesyncd, but leave the time sync mode at daily, hourly or daemon, depending on the precision you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants