首页 > 其他分享 >E: Release file for http://mirrors.tuna.tsinghua.edu.cn/debian-security/dists/bullseye-security/InRe

E: Release file for http://mirrors.tuna.tsinghua.edu.cn/debian-security/dists/bullseye-security/InRe

时间:2022-10-15 23:05:30浏览次数:62  
标签:http cn 命令 sudo 修改 Linux date security


虚拟机yun update 时间失效问题

E: Release file for http://mirrors.tuna.tsinghua.edu.cn/debian-security/dists/bullseye-security/InRelease is not valid yet (invalid for another 6h 37min 15s). Updates for this repository will not be applied.

1.tzselect
2.依次选择4->9->1->1 #Asia->China-> Beijing->yes

sudo date -s MM/DD/YY //修改日期
sudo date -s hh:mm:ss //修改时间
sudo hwclock --systohc //修改生效

一、查看和修改Linux的时区

  1. 查看当前时区

  命令 : "date -R"

  2. 修改设置Linux服务器时区

  方法 A

  命令 : "tzselect"

  方法 B 仅限于RedHat Linux 和 CentOS

  命令 : "timeconfig"

检查一下时间是否对得上,再去执行安装更新命令就没问题了

标签:http,cn,命令,sudo,修改,Linux,date,security
From: https://blog.51cto.com/u_12855930/5759365

相关文章