复制代码
1
2
3
4
5
6
7
8
9
10
11
12root@rancher:~# apt-get update -y 命中:1 http://mirrors.aliyun.com/debian buster InRelease 获取:2 http://mirrors.aliyun.com/debian-security buster/updates InRelease [65.4 kB] 获取:3 http://mirrors.aliyun.com/debian buster-updates InRelease [51.9 kB] 获取:4 http://mirrors.aliyun.com/debian buster-backports InRelease [46.7 kB] 获取:5 https://download.docker.com/linux/debian bullseye InRelease [43.3 kB] 正在读取软件包列表... 完成 E: http://mirrors.aliyun.com/debian-security/dists/buster/updates/InRelease 的 Release 文件已经过期(已经过期了 7天 9小时 3分 30秒)。该仓库的更新将不会应用。 E: http://mirrors.aliyun.com/debian/dists/buster-updates/InRelease 的 Release 文件已经过期(已经过期了 7天 4小时 18分 27秒)。该仓库的更新将不会应用。 E: http://mirrors.aliyun.com/debian/dists/buster-backports/InRelease 的 Release 文件已经过期(已经过期了 7天 4小时 18分 27秒)。该仓库的更新将不会应用。 E: https://download.docker.com/linux/debian/dists/bullseye/InRelease 的 Release 文件已经过期(已经过期了 2天 19小时 59分 17秒)。该仓库的更新将不会应用。
一直以为是源的问题,然后来回试都不行。
然后看到日期,想看看本地的。
我cao,瞎了。时间好像不对。
复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32Usage: hwclock [function] [option...] Time clocks utility. Functions: -r, --show display the RTC time --get display drift corrected RTC time --set set the RTC according to --date -s, --hctosys set the system time from the RTC -w, --systohc set the RTC from the system time --systz send timescale configurations to the kernel -a, --adjust adjust the RTC to account for systematic drift --predict predict the drifted RTC time according to --date Options: -u, --utc the RTC timescale is UTC -l, --localtime the RTC timescale is Local -f, --rtc <file> use an alternate file to /dev/rtc0 --directisa use the ISA bus instead of /dev/rtc0 access --date <time> date/time input for --set and --predict --delay <sec> delay used when set new RTC time --update-drift update the RTC drift factor --noadjfile do not use /etc/adjtime --adjfile <file> use an alternate file to /etc/adjtime --test dry run; implies --verbose -v, --verbose display more details -h, --help display this help -V, --version display version
最后
以上就是美满戒指最近收集整理的关于解决虚拟机里apt update 时源失效问题的全部内容,更多相关解决虚拟机里apt内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复