{"id":202414,"date":"2020-10-19T10:31:25","date_gmt":"2020-10-19T02:31:25","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=202414"},"modified":"2020-10-09T09:42:04","modified_gmt":"2020-10-09T01:42:04","slug":"release-file-yet","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/release-file-yet.html","title":{"rendered":"Ubantu\u4e2d\u7684Release file is not valid yet\u201d \u9519\u8bef\u4fee\u590d\u65b9\u6cd5"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u6211\u6700\u8fd1\u5728\u6211\u7684\u6811\u8393\u6d3e\u4e0a\u5b89\u88c5\u4e86 Ubuntu \u670d\u52a1\u5668\u3002\u6211\u5728 Ubuntu \u7ec8\u7aef\u8fde\u63a5\u4e0a\u4e86 Wi-Fi\uff0c\u7136\u540e\u505a\u4e86\u6211\u5728\u5b89\u88c5\u4efb\u4f55 Linux \u7cfb\u7edf\u540e\u90fd\u4f1a\u505a\u7684\u4e8b\u60c5\uff0c\u90a3\u5c31\u662f\u66f4\u65b0\u7cfb\u7edf\u3002\u5f53\u6211\u4f7f\u7528 sudo apt update \u547d\u4ee4\u65f6\uff0c\u5b83\u7ed9\u4e86\u4e00\u4e2a\u5bf9\u6211\u800c\u8a00\u7279\u522b\u7684\u9519\u8bef\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

\u6211\u6700\u8fd1\u5728\u6211\u7684\u6811\u8393\u6d3e\u4e0a\u5b89\u88c5\u4e86 Ubuntu \u670d\u52a1\u5668\u3002\u6211\u5728 Ubuntu \u7ec8\u7aef\u8fde\u63a5\u4e0a\u4e86 Wi-Fi\uff0c\u7136\u540e\u505a\u4e86\u6211\u5728\u5b89\u88c5\u4efb\u4f55 Linux \u7cfb\u7edf\u540e\u90fd\u4f1a\u505a\u7684\u4e8b\u60c5\uff0c\u90a3\u5c31\u662f\u66f4\u65b0\u7cfb\u7edf\u3002<\/p>\n

\u5f53\u6211\u4f7f\u7528 sudo apt update \u547d\u4ee4\u65f6\uff0c\u5b83\u7ed9\u4e86\u4e00\u4e2a\u5bf9\u6211\u800c\u8a00\u7279\u522b\u7684\u9519\u8bef\u3002\u5b83\u62a5\u51fa\u4ed3\u5e93\u7684\u53d1\u5e03\u6587\u4ef6\u5728\u67d0\u4e2a\u65f6\u95f4\u6bb5\u5185\u65e0\u6548\u3002<\/p>\n

E: Release file for http:\/\/ports.ubuntu.com\/ubuntu-ports\/dists\/focal-security\/InRelease is not valid yet (invalid for another 159d 15h 20min 52s). Updates for this repository will not be applied.**<\/pre>\n

\u4e0b\u9762\u662f\u5b8c\u6574\u8f93\u51fa\uff1a<\/p>\n

ubuntu@ubuntu:~$ sudo apt update\r\nHit:1 http:\/\/ports.ubuntu.com\/ubuntu-ports focal InRelease    \r\nGet:2 http:\/\/ports.ubuntu.com\/ubuntu-ports focal-updates InRelease [111 kB]                           \r\nGet:3 http:\/\/ports.ubuntu.com\/ubuntu-ports focal-backports InRelease [98.3 kB]      \r\nGet:4 http:\/\/ports.ubuntu.com\/ubuntu-ports focal-security InRelease [107 kB]                     \r\nReading package lists... Done\r\nE: Release file for http:\/\/ports.ubuntu.com\/ubuntu-ports\/dists\/focal\/InRelease is not valid yet (invalid for another 21d 23h 17min 25s). Updates for this repository will not be applied.\r\nE: Release file for http:\/\/ports.ubuntu.com\/ubuntu-ports\/dists\/focal-updates\/InRelease is not valid yet (invalid for another 159d 15h 21min 2s). Updates for this repository will not be applied.\r\nE: Release file for http:\/\/ports.ubuntu.com\/ubuntu-ports\/dists\/focal-backports\/InRelease is not valid yet (invalid for another 159d 15h 21min 32s). Updates for this repository will not be applied.\r\nE: Release file for http:\/\/ports.ubuntu.com\/ubuntu-ports\/dists\/focal-security\/InRelease is not valid yet (invalid for another 159d 15h 20min 52s). Updates for this repository will not be applied.\r\n<\/pre>\n

\u4fee\u590d Ubuntu \u548c\u5176\u4ed6 Linux \u53d1\u884c\u7248\u4e2d \u201cRelease file is not valid yet\u201d \u7684\u9519\u8bef\u3002<\/p>\n

\u9519\u8bef\u7684\u539f\u56e0\u662f\u7cfb\u7edf\u4e0a\u7684\u65f6\u95f4\u548c\u73b0\u5b9e\u4e16\u754c\u7684\u65f6\u95f4\u4e0d\u540c\u3002
\n\u4f60\u770b\uff0c\u6bcf\u4e2a\u4ed3\u5e93\u6587\u4ef6\u90fd\u662f\u5728\u67d0\u4e2a\u65e5\u671f\u7b7e\u540d\u7684\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u67e5\u770b\u53d1\u5e03\u6587\u4ef6\u4fe1\u606f\u4e86\u89e3\uff1a<\/p>\n

sudo head \/var\/lib\/apt\/lists\/ports.ubuntu.com_ubuntu_dists_focal_InRelease\r\n-----BEGIN PGP SIGNED MESSAGE-----\r\nHash: SHA512\r\n \r\nOrigin: Ubuntu\r\nLabel: Ubuntu\r\nSuite: focal\r\nVersion: 20.04\r\nCodename: focal\r\nDate: Thu, 23 Apr 2020 17:33:17 UTC\r\nArchitectures: amd64 arm64 armhf i386 ppc64el riscv64 s390x<\/pre>\n

\u73b0\u5728\uff0c\u7531\u4e8e\u67d0\u4e9b\u539f\u56e0\uff0c\u6211\u7684 Ubuntu \u670d\u52a1\u5668\u4e0a\u7684\u65f6\u95f4\u662f\u8fc7\u53bb\u65f6\u95f4\uff0c\u8fd9\u4e5f\u662f\u4e3a\u4ec0\u4e48 Ubuntu \u62a5\u51fa\u53d1\u5e03\u6587\u4ef6\u5df2\u7ecf\u65e0\u6548 X \u5929\u7684\u539f\u56e0\u3002<\/p>\n

\u5982\u679c\u4f60\u8fde\u63a5\u5230\u4e86\u4e92\u8054\u7f51\uff0c\u4f60\u53ef\u4ee5\u7b49\u5f85\u51e0\u5206\u949f\u8ba9\u7cfb\u7edf\u540c\u6b65\u65f6\u95f4\u3002<\/p>\n

\u5982\u679c\u4e0d\u884c\uff0c\u4f60\u53ef\u4ee5\u5f3a\u5236\u7cfb\u7edf\u4f7f\u7528\u672c\u5730\u65f6\u95f4\u4f5c\u4e3a\u5b9e\u65f6\u65f6\u949f\uff08\u786c\u4ef6\u65f6\u949f\uff09\uff1a<\/p>\n

sudo timedatectl set-local-rtc 1<\/pre>\n

timedatectl \u547d\u4ee4\u53ef\u4ee5\u8ba9\u4f60\u5728 Linux \u4e0a\u914d\u7f6e\u65f6\u95f4\u3001\u65e5\u671f\u548c\u66f4\u6539\u65f6\u533a\u3002<\/p>\n

\u4f60\u5e94\u8be5\u4e0d\u9700\u8981\u91cd\u65b0\u542f\u52a8\u3002\u5b83\u53ef\u4ee5\u7acb\u5373\u5de5\u4f5c\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u66f4\u65b0\u4f60\u7684 Ubuntu \u7cfb\u7edf\u518d\u6b21\u9a8c\u8bc1\u5b83\u3002<\/p>\n

\u5982\u679c\u95ee\u9898\u89e3\u51b3\u4e86\uff0c\u4f60\u53ef\u4ee5\u5c06\u5b9e\u65f6\u65f6\u949f\u8bbe\u7f6e\u4e3a\u4f7f\u7528 UTC\uff08Ubuntu \u63a8\u8350\u7684\uff09\u3002<\/p>\n

sudo timedatectl set-local-rtc 0<\/pre>\n

\u6211\u5e0c\u671b\u8fd9\u4e2a\u63d0\u793a\u80fd\u5e2e\u52a9\u4f60\u89e3\u51b3\u8fd9\u4e2a\u9519\u8bef\u3002\u5982\u679c\u4f60\u4ecd\u7136\u9047\u5230\u8fd9\u4e2a\u95ee\u9898\uff0c\u8bf7\u5728\u8bc4\u8bba\u680f\u544a\u8bc9\u6211\uff0c\u6211\u4f1a\u5c3d\u529b\u5e2e\u52a9\u4f60\u3002<\/p>\n


\n

via: https:\/\/itsfoss.com\/fix-repository-not-valid-yet-error-ubuntu\/<\/a><\/p>\n

\u4f5c\u8005\uff1aAbhishek Prakash \u8bd1\u8005\uff1ageekpi \u6821\u5bf9\uff1awxy<\/p>\n

\u672c\u6587\u7531 LCTT<\/a> \u539f\u521b\u7ffb\u8bd1\uff0cLinux\u4e2d\u56fd<\/a> \u8363\u8a89\u63a8\u51fa<\/p>\n","protected":false},"excerpt":{"rendered":"

\u6211\u6700\u8fd1\u5728\u6211\u7684\u6811\u8393\u6d3e\u4e0a\u5b89\u88c5\u4e86 Ubuntu \u670d\u52a1\u5668\u3002\u6211\u5728 Ubuntu \u7ec8\u7aef\u8fde\u63a5\u4e0a\u4e86 Wi-Fi\uff0c\u7136\u540e\u505a\u4e86\u6211\u5728\u5b89 […]<\/p>\n","protected":false},"author":310,"featured_media":202683,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-202414","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/202414","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/310"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=202414"}],"version-history":[{"count":13,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/202414\/revisions"}],"predecessor-version":[{"id":202707,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/202414\/revisions\/202707"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/202683"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=202414"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=202414"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=202414"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}