Template not updating

Standalone not updating here is the output. Can anyone tell me how to fix, I am a noob.

Error on updating VPN: Command ‘[‘sudo’, ‘qubesctl’, ‘–skip-dom0’, ‘–targets=VPN’, ‘–show-output’, ‘state.sls’, ‘update.qubes-vm’]’ returned non-zero exit status 20.
VPN:

        ID: update
  Function: pkg.uptodate
    Result: False
   Comment: E: Release file for https://deb.debian.org/debian-security/dists/bullseye-security/InRelease is not valid yet (invalid for another 9h 50min 6s). Updates for this repository will not be applied.
            W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/signal-desktop.list:1 and /etc/apt/sources.list.d/signal-xenial.list:1
            W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/signal-desktop.list:1 and /etc/apt/sources.list.d/signal-xenial.list:1
            W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/signal-desktop.list:1 and /etc/apt/sources.list.d/signal-xenial.list:1
            W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/signal-desktop.list:1 and /etc/apt/sources.list.d/signal-xenial.list:1
            W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/signal-desktop.list:1 and /etc/apt/sources.list.d/signal-xenial.list:1
            W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/signal-desktop.list:1 and /etc/apt/sources.list.d/signal-xenial.list:1
   Started: 23:21:59.477703
  Duration: 2508.378 ms
   Changes:   

        ID: notify-updates
  Function: cmd.run
      Name: /usr/lib/qubes/upgrades-status-notify
    Result: False
   Comment: Command "/usr/lib/qubes/upgrades-status-notify" run
   Started: 23:22:01.992403
  Duration: 2382.696 ms
   Changes:   
            ----------
            pid:
                84900
            retcode:
                100
            stderr:
            stdout:

Summary for VPN

Succeeded: 0 (changed=1)
Failed: 2

Total states run: 2
Total run time: 4.891 s

It seems that you have wrong time in your VM. Fix the time in standalone VM and repeat update.

Okay. I have never tempered with the time and it updated fine, not sure why it isn’t now.

How to change the time?

https://wiki.debian.org/DateTime

Do you have correct time in dom0 and other qubes? Only this StandaloneVM has wrong time?

Idk but all other qubes updated fine.

You can check the time in dom0/qubes by running this command in their terminal:
date

1 Like

Yea the time is the same as before.

Changed the clock vm so that the time can reflect the local time but this didn’t help. Any other solution?

Can you try sudo qvm-sync-clock in dom0 and then in the VM?

Same issue persist.

What’s your clock qube? (check global settings)
In the VM, can you check the status of qubes-sync-time (sudo systemctl status qubes-sync-time)?

clock qube is sys-whonix but i changed to firewall and then changed it back.

this command didnt work.SOrry maybe i typed it wrong?

Can you try to switch to sys-net for clock qube, run sudo qvm-sync-clock in dom0 and then reboot the VM?

What’s the command output?

command not found

qubes-sync-time is the service name, the command to use is this: sudo systemctl status qubes-sync-time

If it doesn’t work, then something is wrong.

Running it in vm now.

You are executing it in dom0, the service runs inside your VM.