@y315ryu

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

Linux ディストリビューションの更新のエラー

解決したいこと

Linux ディストリビューションの更新のエラー

発生している問題・エラー

$ sudo apt update && sudo apt upgrade
[sudo] password for ryutaro:
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Reading package lists... Done
E: Release file for http://security.ubuntu.com/ubuntu/dists/focal-security/InRelease is not valid yet (invalid for another 14h 29min 30s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease is not valid yet (invalid for another 14h 30min 42s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease is not valid yet (invalid for another 14h 32min 17s). Updates for this repository will not be applied.

自分で試したこと

Linux ディストリビューションのバージョンチェック

$ lsb_release -dc
Description: Ubuntu 20.04.5 LTS
Codename: focal

0 likes

2Answer

Comments

  1. @y315ryu

    Questioner

    timedatectlコマンドが使えないのですが、何が悪いのでしょうか?

    $ sudo timedatectl set-local-rtc 1
    [sudo] password for ryutaro:
    System has not been booted with systemd as init system (PID 1). Can't operate.
    Failed to create bus connection: Host is down

@y315ryu
Ubuntu とのことですが、WSL 上で実行してたりしませんか?
WSL は純粋な Linux サーバとは仕様が異なるので、適切なやり方でなければいけません。

0Like

Your answer might help someone💌