You are not logged in.
My OS is up to date, as well as the package certbot.
$ sudo certbot certificates
Traceback (most recent call last):
File "/usr/bin/certbot", line 11, in <module>
load_entry_point('certbot==1.3.0', 'console_scripts', 'certbot')()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 490, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2854, in load_entry_point
return ep.load()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2445, in load
return self.resolve()
[............]
File "/usr/lib/python3.8/site-packages/cryptography/hazmat/primitives/constant_time.py", line 11, in <module>
from cryptography.hazmat.bindings._constant_time import lib
ImportError: libffi.so.6: cannot open shared object file: No such file or directoryAnd
sudo find / -iname *libffi.so*
/usr/lib/libffi.so.7.1.0
/usr/lib/libffi.so.7
/usr/lib/libffi.soWhy does libffi.so.6 not exist? Where to get it? Why is certbot not up to date?
How to fix it?
Last edited by rubashka55 (2020-05-02 16:12:35)
Offline
It doesn't exist because it's obsolete. You don't get it, you rebuild things against the new version.
Can you open a python terminal and do 'from cryptography.hazmat.bindings._constant_time import lib' successfully?
Offline
No, the same exception
Offline
I'd reinstalled certbot before posting my question. Why wasn't it installed with the new version?
Offline
This sort of breakage is often caused by installing python libraries system-wide using pip. Have you done that?
# pip listI'd reinstalled certbot before posting my question. Why wasn't it installed with the new version?
What do you mean? According to the output you are running certbot 1.3.0, which is the latest version available in the Arch repos.
Nothing packaged in the Arch repos depends on the old version of libffi, so this is either caused by a partial update (which you refute) or something installed from a third party (i.e. pypi via pip)
Also, please do not bump your thread unnecessarily. If you are the last person to post something, and you have more to add, use the edit button to append the additional information.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
What version of python-cffi?
Offline
$ sudo pacman -S python-cffi
warning: python-cffi-1.14.0-1 is up to date -- reinstallingOffline
That's your problem, pkgrel 2 is the latest, and is the version rebuilt for the libffi soname bump. https://www.archlinux.org/packages/extr … thon-cffi/
What mirror are you using?
Last edited by Scimmia (2020-05-01 14:25:13)
Offline
Which mirror are you using (check which is at the top of the list in /etc/pacman.d/mirrorlist), it appears to be out of date.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
This mirror:
http://mirror.nus.edu.sg/archlinux/$repo/os/$arch
it's out of sync, yes. Why did it become out of sync?
Last edited by rubashka55 (2020-05-02 08:11:14)
Offline
Looks like it hasn't synced since mid-March. There could be any number of reasons for it stopping. The important thing is that you need to pick an alternative mirror and update your system.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline