页次: 1
Could not fetch an active mirror-list: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)>
Selecting mirror region require a least one region to be given as an option.
Could not fetch an active mirror-list: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)>
Selecting mirror region require a least one region to be given as an option.
Could not fetch an active mirror-list: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)>
Selecting mirror region require a least one region to be given as an option.
Could not fetch an active mirror-list: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)>
Selecting mirror region require a least one region to be given as an option.
Could not fetch an active mirror-list: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)>
Selecting mirror region require a least one region to be given as an option.
Could not fetch an active mirror-list: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)>
Selecting mirror region require a least one region to be given as an option.
Could not fetch an active mirror-list: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)>
Selecting mirror region require a least one region to be given as an option.
Could not fetch an active mirror-list: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)>
Selecting mirror region require a least one region to be given as an option.
^CTraceback (most recent call last):
File "/usr/bin/archinstall", line 33, in <module>
sys.exit(load_entry_point('archinstall==2.2.0', 'console_scripts', 'archinstall')())
File "/usr/lib/python3.9/site-packages/archinstall/__init__.py", line 87, in run_as_a_module
script.execute()
File "/usr/lib/python3.9/site-packages/archinstall/lib/profiles.py", line 161, in execute
self.spec.loader.exec_module(sys.modules[self.namespace])
File "<frozen importlib._bootstrap_external>", line 855, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/usr/lib/python3.9/site-packages/archinstall/examples/guided.py", line 436, in <module>
ask_user_questions()
File "/usr/lib/python3.9/site-packages/archinstall/examples/guided.py", line 46, in ask_user_questions
archinstall.arguments['mirror-region'] = archinstall.select_mirror_regions(archinstall.list_mirrors())
File "/usr/lib/python3.9/site-packages/archinstall/lib/mirrors.py", line 86, in list_mirrors
response = urllib.request.urlopen(url)
File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
File "/usr/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/usr/lib/python3.9/urllib/request.py", line 1389, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/lib/python3.9/urllib/request.py", line 1346, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib/python3.9/http/client.py", line 1253, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1299, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1248, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1008, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 948, in send
self.connect()
File "/usr/lib/python3.9/http/client.py", line 1422, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/usr/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/usr/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
File "/usr/lib/python3.9/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
KeyboardInterrupt
我前两天还可以安装的,忽然今天出现这样的报错。
求助,谢谢!
我是小白,请关照。
离线
请问是执行什么操作出现的
离线
archinstall 是根据地区来获取源列表的,所以你要先确定你 region
这也是你的报错信息里写的
Selecting mirror region require a least one region to be given as an option.
相关代码片段
def select_mirror_regions(mirrors, show_top_mirrors=True):
...
raise RequirementError("Selecting mirror region require a least one region to be given as an option.")
def filter_mirrors_by_region(regions, destination='/etc/pacman.d/mirrorlist', sort_order=["https", "http"], *args, **kwargs) -> Union[bool, bytes]:
...
region_list = []
for region in regions.split(','):
region_list.append(f'country={region}')
response = urllib.request.urlopen(urllib.request.Request(f"https://archlinux.org/mirrorlist/?{'&'.join(region_list)}&protocol=https&protocol=http&ip_version=4&ip_version=6&use_mirror_status=on'", headers={'User-Agent': 'ArchInstall'}))
...
探索未知使人迷醉
离线
请问是执行什么操作出现的
就是執行archinstall之後出現的。
我是小白,请关照。
离线
archinstall 是根据地区来获取源列表的,所以你要先确定你 region
这也是你的报错信息里写的
Selecting mirror region require a least one region to be given as an option.
相关代码片段
def select_mirror_regions(mirrors, show_top_mirrors=True): ... raise RequirementError("Selecting mirror region require a least one region to be given as an option.")
def filter_mirrors_by_region(regions, destination='/etc/pacman.d/mirrorlist', sort_order=["https", "http"], *args, **kwargs) -> Union[bool, bytes]: ... region_list = [] for region in regions.split(','): region_list.append(f'country={region}') response = urllib.request.urlopen(urllib.request.Request(f"https://archlinux.org/mirrorlist/?{'&'.join(region_list)}&protocol=https&protocol=http&ip_version=4&ip_version=6&use_mirror_status=on'", headers={'User-Agent': 'ArchInstall'})) ...
請問具體怎麼操作的呢?謝謝。
我是小白,请关照。
离线
我没有使用过 archinstall,而且也没有看到你具体的输入,无法做出判断,我建议你先检查 region 的格式有没有问题
正常安装我们是 ln -sf /usr/share/zoneinfo/Region/City /etc/localtime 这样来指定 timezone 的
探索未知使人迷醉
离线
我没有使用过 archinstall,而且也没有看到你具体的输入,无法做出判断,我建议你先检查 region 的格式有没有问题
正常安装我们是 ln -sf /usr/share/zoneinfo/Region/City /etc/localtime 这样来指定 timezone 的
謝謝,回頭試一試。
我是小白,请关照。
离线
WeepingDogel 说:请问是执行什么操作出现的
就是執行archinstall之後出現的。
我也没有使用过 archinstall , 一般我们都是跟着 Arch Wiki 上的手动安装指南进行安装的...
ln -sf /usr/share/zoneinfo/Region(地区名)/City(城市名) /etc/localtime
离线
页次: 1