Во время полного обновления не прошла проверка цифровой подписи

Установил openssl с ключом --force: pacman -S openssl --force, но это не помогло. Переименовал библиотеки старого openssl, и опять пакман не работает. Если вернуть все как было,пакман будет ругаться на присутствующие библиотеки старого openssl.


:: Proceed with installation? [Y/n] y
(546/546) checking keys in keyring                 [######################] 100%
(546/546) checking package integrity               [######################] 100%
(546/546) loading package files                    [######################] 100%
(546/546) checking for file conflicts              [######################] 100%
error: failed to commit transaction (conflicting files)
openssl-1.0: /usr/lib/libcrypto.so.1.0.0 exists in filesystem
openssl-1.0: /usr/lib/libssl.so.1.0.0 exists in filesystem
Errors occurred, no packages were upgraded.
[[email protected] Desktop]# mv /usr/lib/libssl.so.1.0.0 /usr/lib/libssl.so.1.0.0.old
[[email protected] Desktop]# mv /usr/lib/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.1.0.0.old
[[email protected] Desktop]# pacman -Su
pacman: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
[[email protected] Desktop]#

Тебе сюда
UPD ... обновляться нужно как минимум 1 раз в неделю, не ставить минуя pacman, читать новости, а в случае проблем в 1-ую очередь поискать похожее у западных коллег, на BBS
Ошибки не исчезают с опытом - они просто умнеют
Решение из того поста, которым там посчитали ответом на вопрос, мне не помогло.

Finally I managed to get some time to deal with this.

I initially tried the upgrade with pacman's --root flag approach, using a recent Arch install image. I followed the instructions on Arch pacman page (https://wiki.archlinux.org/index.php/pa … an_upgrade):

- mount system's root filesystem;
- run: pacman --root=/mnt --cachedir=/mnt/var/cache/pacman/pkg -Syyu

It didn't work, same openssl-1.0 issue.

I followed vgf89 and lukasm solution and the problem was solved. Thanks guys! :-)

Downgrade openssl to a previous version (in my case it was also 1.0.2.k):

$ pacman -U /var/cache/pacman/pkg/openssl-1.0.2.k-1-x86_64.pkg.tar.xz --force

Downgrade pacman to a previous version (this case 5.0.1-4):

$ pacman -U /var/cache/pacman/pkg/pacman-5.0.1-4-x86_64.pkg.tar.xz --force

When updating with pacman -Syu the conflicting files errors refer now to openssl-1.1.
I have moved /usr/lib/libssl.so.1.1 and /usr/lib/libcrypto.so.1.1 to a backup location and "pacman -Syu" now works.

Я откатился к старой версии openssl:

pacman -U /var/cache/pacman/pkg/openssl-1.0-1.0.2.l-1-x86_64.pkg.tar.xz

Попытался обновиться (pacman -Syu), но проблема та же:

error: failed to commit transaction (conflicting files)
openssl-1.0: /usr/lib/libcrypto.so.1.0.0 exists in filesystem
openssl-1.0: /usr/lib/libssl.so.1.0.0 exists in filesystem
Errors occurred, no packages were upgraded.
Вроде, обновился. Спасибо за помощь.
Aoizora
Решение из того поста, которым там посчитали ответом на вопрос, мне не помогло.
Там выше приведено еще одно решение, но, думаю, после твоих экспериментов над системой возможно сломалось что то и еще.
Тогда гугли ...
PS ... писали одновременно .........
Ошибки не исчезают с опытом - они просто умнеют
 
Зарегистрироваться или войдите чтобы оставить сообщение.