Hello there! And sorry for my poor English:)
At first of all i want say big THANKS for Artix! Its very fast even on my old PC ;) I am really love it! :)
So. My question why it happened?
I want to install sysbench utility.
1. install sysbench
2. when i try to run it i get
error while loading shared libraries: libssl.so.3
3. google tell me that openssl in needed.
4. after install openssl many tty commands it broke - when i try start pacman or mc i always get
error while loading shared libraries: libssl.so.1.1 artix
5. after googling i fond solution here https://forum.artixlinux.org/index.php/topic,4756.msg0.html
6. i am download lib32-openssl-1.1 https://archlinux.org/packages/multilib/x86_64/lib32-openssl-1.1/ and manually extract content to /usr folder
Did you install these packages with pacman -Sy?
no, i do pacman -S openssl only for resolve starting sysbench
but after installing openssl all commands like pacman and mc is broke and i manually decompress and copy files from this package https://archlinux.org/packages/multilib/x86_64/lib32-openssl-1.1/ to /usr folder, after that all was fixed
Now that we know what you did, we know what happened. You did a partial upgrade on a rolling release, which is not supported.
OpenSSL has dependencies all throughout many core system packages and user application packages. Your current packages couldn't work with the newer version. Thus your system broke. And when the old version got put back, your system magically worked.
Essentially, don't do partial upgrades. Always do pacman -Syu to stay current.
Thank you very much!
So my system is still broken?
How to fix it please tell me? pacman -Syu help me?
and what i must to if my tty is broke during ordinary installation? put back old versions?
how to avoid this in the future?
PS
and why sysbench not launch?
and why normall ordinary action like installation openssl broke my system without warnings?
Thanks! And that's all? And why i see still libs thats i manually copied before?
https://i.imgur.com/UlJpsZn.png
https://i.imgur.com/7keKWgz.png
freeartist-p31ds3l:[root]:/home/freeartist# pacman -Syu
:: Synchronizing package databases...
system is up to date
world 2043,5 KiB 3,99 MiB/s 00:01 [######################] 100%
galaxy 2,6 MiB 8,07 MiB/s 00:00 [######################] 100%
extra 1753,5 KiB 1226 KiB/s 00:01 [######################] 100%
community 7,2 MiB 2,84 MiB/s 00:03 [######################] 100%
multilib 170,1 KiB 2,16 MiB/s 00:00 [######################] 100%
universe is up to date
lib32-gremlins 3,4 KiB 56,3 KiB/s 00:00 [######################] 100%
lib32 165,8 KiB 2,10 MiB/s 00:00 [######################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (7) ecryptfs-utils-111-7 mercurial-6.3.0-1 pipewire-1:0.3.60-1
qt5-base-5.15.7+kde+r174-1 qt5-declarative-5.15.7+kde+r22-1
qt5-imageformats-5.15.7+kde+r6-1 qt5-wayland-5.15.7+kde+r52-1
Total Download Size: 24,89 MiB
Total Installed Size: 123,83 MiB
Net Upgrade Size: -0,01 MiB
:: Proceed with installation? [Y/n] y
freeartist-p31ds3l:[root]:/usr/lib# pacman -Suy
:: Synchronizing package databases...
system is up to date
world is up to date
galaxy is up to date
extra is up to date
community 7,2 MiB 7,97 MiB/s 00:01 [#######################################################################################] 100%
multilib is up to date
universe is up to date
lib32-gremlins is up to date
lib32 is up to date
:: Starting full system upgrade...
there is nothing to do
freeartist-p31ds3l:[root]:/usr/lib#
sysbench is an arch community package.
We do not support arch packages.
Likely, you need to either rebuild sysbench or just use an uptodate mirror.
Sorry?
Artix not support AUR? Or what you mean?
How i can know what is Artix package and what is Arch package?
Rebuild sysbench, how?
Previously i am just install sysbench, pacman -S sysbench, and it not run with lib error, what i do wrong?
i am chek, sysbench is working
So. And were was issue in my case?
We do not officially support arch repos and the AUR.
If you use these, you are on your own to fix eventual issues.
What?! :o That bad :( Why so explain please?
But i am install sysbench drom default repo. Why its broke system?
And where is i can get alternatives to AUR?
Installing sysbench did not break your system. A partial upgrade to make it work did. And it came from the Arch repository, which hasn't been the default for over a year.
"Not supported" just means that Artix devs aren't responsible for making it work. Therefore there are no supported alternatives to the AUR, because Artix devs are not reponsible for packages you built from source or got from somewhere else either. Arch devs who made the sysbench package also can't be responsible for the version of OpenSSL Artix has.
This doesn't mean it won't work. Even if it doesn't work, the community can help you or that you can fix it yourself and learn something new (as you just did).
If you want distro devs to be responsible for every package on your system, there's Debian, which has a huge amount of packages, all of which with a maintainer who is less likely to answer "not my problem" to the sort of questions you're asking.
Also, pacman won't remove the libs you copied since it doesn't even know they exist. It would be different you ran pacman -U lib32..., which properly installs a package and lets pacman keep track of its contents. pacman -Syu is how you prevent needing to manually copy libs in the first place.
And today's patience award goes to
@capezotte.
>If you want distro devs to be responsible for every package on your system, there's Debian, which has a huge amount of packages, all of which with a maintainer who is less likely to answer "not my problem" to the sort of questions you're asking.
Didn't their community take a hit when they decided to roll with systemd and a bunch of them resigned?
Thanks a lot for explain!
And how i did partitial upgrade?
I just install openssl and its all broke. So openssl come to me not from Artix repo? How to chek that i use right repos?
ps also i use AUR to intall video drivers and some games, no problems while
it seems some aur packages are not well maintained to work with latest release of openssl.
try installing openssl-1.1
there's no problem with this artix's openssl.
not the best way, but to check which repo you installed it from, but you can do
pacman -Qi openssl openssl-1.1 openssl-1.0
and check for packager. in my case i have openssl-3.0 and openssl-1.1 and i don't have openssl-1.0
both from artix repo.
Name : openssl
Version : 3.0.7-2
Description : The Open Source toolkit for Secure Sockets Layer and Transport Layer Security
Architecture : x86_64
URL : https://www.openssl.org
Licenses : Apache
Groups : None
Provides : libcrypto.so=3-64 libssl.so=3-64
Depends On : glibc
Optional Deps : ca-certificates [installed]
perl [installed]
Required By : ani-cli-git axel coreutils cryptsetup curl git john kmod ldns lib32-openssl libarchive libevent libgit2 libsasl
libshout libssh libssh2 libtpms libzip lynx minizip-ng nmap nodejs-lts-gallium ntp openssh perl-net-ssleay podofo
python rsync ruby socat srt sudo swtpm syslog-ng tor tpm2-tss wpa_supplicant xmlsec zathura-pdf-mupdf
Optional For : None
Conflicts With : None
Replaces : openssl-perl openssl-doc
Installed Size : 10.69 MiB
Packager : Artix Build Bot <[email protected]>
Build Date : Wed Nov 2 11:09:43 2022
Install Date : Tue Nov 8 21:07:05 2022
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
Name : openssl-1.1
Version : 1.1.1.s-2
Description : The Open Source toolkit for Secure Sockets Layer and Transport Layer Security
Architecture : x86_64
URL : https://www.openssl.org
Licenses : custom:BSD
Groups : None
Provides : libcrypto.so=1.1-64 libssl.so=1.1-64
Depends On : glibc
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 5.51 MiB
Packager : Artix Build Bot <[email protected]>
Build Date : Thu Nov 3 19:50:28 2022
Install Date : Sat Nov 12 21:50:00 2022
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
error: package 'openssl-1.0' was not found
ok thanks, i will try and report
cant install openssl-1.1, how to fix?
freeartist-p31ds3l:[root]:/home/freeartist# pacman -S openssl-1.1
resolving dependencies...
looking for conflicting packages...
Packages (1) openssl-1.1-1.1.1.s-2
Total Download Size: 1,76 MiB
Total Installed Size: 5,51 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
openssl-1.1-1.1.1.s-2-x86_64 1802,8 KiB 1601 KiB/s 00:01 [#######################################################################################] 100%
(1/1) checking keys in keyring [#######################################################################################] 100%
(1/1) checking package integrity [#######################################################################################] 100%
(1/1) loading package files [#######################################################################################] 100%
(1/1) checking for file conflicts [#######################################################################################] 100%
error: failed to commit transaction (conflicting files)
openssl-1.1: /usr/bin/openssl-1.1 exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/aes.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/asn1.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/asn1_mac.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/asn1err.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/asn1t.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/async.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/asyncerr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/bio.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/bioerr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/blowfish.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/bn.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/bnerr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/buffer.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/buffererr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/camellia.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/cast.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/cmac.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/cms.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/cmserr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/comp.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/comperr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/conf.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/conf_api.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/conferr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/crypto.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/cryptoerr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/ct.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/cterr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/des.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/dh.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/dherr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/dsa.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/dsaerr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/dtls1.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/e_os2.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/ebcdic.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/ec.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/ecdh.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/ecdsa.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/ecerr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/engine.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/engineerr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/err.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/evp.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/evperr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/hmac.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/idea.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/kdf.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/kdferr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/lhash.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/md2.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/md4.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/md5.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/mdc2.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/modes.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/obj_mac.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/objects.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/objectserr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/ocsp.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/ocsperr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/opensslconf.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/opensslv.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/ossl_typ.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/pem.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/pem2.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/pemerr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/pkcs12.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/pkcs12err.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/pkcs7.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/pkcs7err.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/rand.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/rand_drbg.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/randerr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/rc2.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/rc4.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/rc5.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/ripemd.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/rsa.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/rsaerr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/safestack.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/seed.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/sha.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/srp.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/srtp.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/ssl.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/ssl2.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/ssl3.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/sslerr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/stack.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/store.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/storeerr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/symhacks.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/tls1.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/ts.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/tserr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/txt_db.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/ui.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/uierr.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/whrlpool.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/x509.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/x509_vfy.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/x509err.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/x509v3.h exists in filesystem
openssl-1.1: /usr/include/openssl-1.1/openssl/x509v3err.h exists in filesystem
openssl-1.1: /usr/lib/libcrypto.so.1.1 exists in filesystem
openssl-1.1: /usr/lib/libssl.so.1.1 exists in filesystem
openssl-1.1: /usr/lib/openssl-1.1/engines-1.1/afalg.so exists in filesystem
openssl-1.1: /usr/lib/openssl-1.1/engines-1.1/capi.so exists in filesystem
openssl-1.1: /usr/lib/openssl-1.1/engines-1.1/padlock.so exists in filesystem
openssl-1.1: /usr/lib/openssl-1.1/libcrypto.so exists in filesystem
openssl-1.1: /usr/lib/openssl-1.1/libssl.so exists in filesystem
openssl-1.1: /usr/lib/openssl-1.1/pkgconfig/libcrypto.pc exists in filesystem
openssl-1.1: /usr/lib/openssl-1.1/pkgconfig/libssl.pc exists in filesystem
openssl-1.1: /usr/lib/openssl-1.1/pkgconfig/openssl.pc exists in filesystem
openssl-1.1: /usr/share/licenses/openssl-1.1/LICENSE exists in filesystem
Errors occurred, no packages were upgraded.
freeartist-p31ds3l:[root]:/home/freeartist#
UPD
i am remove previously manually copied openssl-1.1 files
and install again openssl-1.1
freeartist-p31ds3l:[root]:/home/freeartist# pacman -S openssl-1.1
resolving dependencies...
looking for conflicting packages...
Packages (1) openssl-1.1-1.1.1.s-2
Total Installed Size: 5,51 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#######################################################################################] 100%
(1/1) checking package integrity [#######################################################################################] 100%
(1/1) loading package files [#######################################################################################] 100%
(1/1) checking for file conflicts [#######################################################################################] 100%
(1/1) checking available disk space [#######################################################################################] 100%
:: Processing package changes...
(1/1) installing openssl-1.1 [#######################################################################################] 100%
freeartist-p31ds3l:[root]:/home/freeartist#
sysbench is works