Hallo,
ich habe hier ein komplett neu installiertes Xubuntu 20.04 mit allen Updates. Ich wollte ein Repo hinzufügen und bekomme die Fehlermeldung siehe unten. Das passiert bei jedem Repo. Ein parallel installiertes, älteres 20.04 hat das Problem nicht (beide stammen vom gleichen Install-Image). Ich weiß, dass ich die Repos auch manuell einfügen kann, das löst aber das Problem nicht. Da es alle Repos betrifft vermute ich kein Problem mit Keys. Auch 'sudo apt install --reinstall software-properties-common' hab ich schon versucht. Installierte Python-Version ist 3.8.10.
ich habe hier ein komplett neu installiertes Xubuntu 20.04 mit allen Updates. Ich wollte ein Repo hinzufügen und bekomme die Fehlermeldung siehe unten. Das passiert bei jedem Repo. Ein parallel installiertes, älteres 20.04 hat das Problem nicht (beide stammen vom gleichen Install-Image). Ich weiß, dass ich die Repos auch manuell einfügen kann, das löst aber das Problem nicht. Da es alle Repos betrifft vermute ich kein Problem mit Keys. Auch 'sudo apt install --reinstall software-properties-common' hab ich schon versucht. Installierte Python-Version ist 3.8.10.
Code:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 380, in get_ppa_info
ret = get_ppa_info_from_lp(user, ppa)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 110, in get_ppa_info_from_lp
return get_info_from_lp(lp_url)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 104, in get_info_from_lp
return get_info_from_https(lp_url, True)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 96, in get_info_from_https
data = func(lp_url=url, accept_json=accept_json, retry_delays=retry_delays)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 138, in _get_https_content_py3
lp_page = urllib.request.urlopen(request,
File "/usr/lib/python3.8/urllib/request.py", line 210, in urlopen
context = ssl.create_default_context(ssl.Purpose.SERVER_AUTH,
File "/usr/lib/python3.8/ssl.py", line 745, in create_default_context
context.load_verify_locations(cafile, capath, cadata)
ssl.SSLError: [X509: NO_CERTIFICATE_OR_CRL_FOUND] no certificate or crl found (_ssl.c:4296)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 137, in <module>
shortcut = shortcut_handler(line)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 884, in shortcut_handler
ret = factory(shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 469, in shortcut_handler
return PPAShortcutHandler(shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 426, in __init__
info = get_ppa_info(self.shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 392, in get_ppa_info
_get_suggested_ppa_message(user, ppa))
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 349, in _get_suggested_ppa_message
lp_user = get_info_from_lp(LAUNCHPAD_USER_API % user)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 104, in get_info_from_lp
return get_info_from_https(lp_url, True)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 96, in get_info_from_https
data = func(lp_url=url, accept_json=accept_json, retry_delays=retry_delays)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 138, in _get_https_content_py3
lp_page = urllib.request.urlopen(request,
File "/usr/lib/python3.8/urllib/request.py", line 210, in urlopen
context = ssl.create_default_context(ssl.Purpose.SERVER_AUTH,
File "/usr/lib/python3.8/ssl.py", line 745, in create_default_context
context.load_verify_locations(cafile, capath, cadata)
ssl.SSLError: [X509: NO_CERTIFICATE_OR_CRL_FOUND] no certificate or crl found (_ssl.c:4296)