Error for pacman-mirrors

I have got problem with update for pacman-mirrors.
Output for pacman-mirrors --version:

pacman-mirrors --version 
Traceback (most recent call last):
  File "/usr/bin/pacman-mirrors", line 5, in <module>
    from pacman_mirrors.pacman_mirrors import start
  File "/usr/lib/python3.13/site-packages/pacman_mirrors/pacman_mirrors.py", line 30, in <module>
    from pacman_mirrors.functions import util
  File "/usr/lib/python3.13/site-packages/pacman_mirrors/functions/util.py", line 29, in <module>
    from pacman_mirrors.functions import httpFn
  File "/usr/lib/python3.13/site-packages/pacman_mirrors/functions/httpFn.py", line 32, in <module>
    import requests
  File "/usr/lib/python3.13/site-packages/requests/__init__.py", line 164, in <module>
    from .api import delete, get, head, options, patch, post, put, request
  File "/usr/lib/python3.13/site-packages/requests/api.py", line 11, in <module>
    from . import sessions
  File "/usr/lib/python3.13/site-packages/requests/sessions.py", line 15, in <module>
    from .adapters import HTTPAdapter
  File "/usr/lib/python3.13/site-packages/requests/adapters.py", line 81, in <module>
    _preloaded_ssl_context.load_verify_locations(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
ssl.SSLError: [X509: NO_CERTIFICATE_OR_CRL_FOUND] no certificate or crl found (_ssl.c:4339)

:bangbang: Tip :bangbang:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:

As I’m a moderator on the forum, I have taken the liberty of doing this for you, this time.


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Note that the above text is partially pre-prepared as a general introduction for new forum Users. Please take the time to to understand how it is done and encourage quality responses.

sudo pacman -Syu  # synchronise and update system

If the problem persists:

sudo pacman -S ca-certificates  # Reinstall ca-certificates

Try again:

⮞ pacman-mirrors --version
5.0

Thank you. I have fixed this with reinstal ca-certificates.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.