You are not logged in.

#1 2023-01-25 12:45:06

freeartist
Member
Registered: 2022-09-06
Posts: 69

[SOLVED]enable multilib

Hello. After enabling multilib is needed installing 32bit libs? If yes, how do that?

/etc/pacman.conf

[multilib]
Include = /etc/pacman.d/mirrorlist
sudo pacman -Syyu

nothing

[root@home etc]# sudo pacman -Syyu
:: Synchronizing package databases...
 core                                                                                                              152.1 KiB   502 KiB/s 00:00 [#######################################################################################] 100%
 extra                                                                                                            1745.9 KiB  7.32 MiB/s 00:00 [#######################################################################################] 100%
 community                                                                                                           7.2 MiB  9.44 MiB/s 00:01 [#######################################################################################] 100%
 multilib                                                                                                          164.9 KiB  3.04 MiB/s 00:00 [#######################################################################################] 100%
:: Starting full system upgrade...
 there is nothing to do
[root@home etc]# 

try installing lib32* - conflict

[root@home etc]# pacman -Ssq lib32 | pacman -S -
warning: lib32-gcc-libs-12.2.1-1 is up to date -- reinstalling
warning: lib32-glibc-2.36-7 is up to date -- reinstalling
warning: lib32-alsa-lib-1.2.8-1 is up to date -- reinstalling
warning: lib32-dbus-1.14.4-1 is up to date -- reinstalling
warning: lib32-e2fsprogs-1.46.5-1 is up to date -- reinstalling
warning: lib32-glib2-2.74.5-1 is up to date -- reinstalling
warning: lib32-keyutils-1.6.3-1 is up to date -- reinstalling
warning: lib32-krb5-1.20.1-1 is up to date -- reinstalling
warning: lib32-libcap-2.66-1 is up to date -- reinstalling
warning: lib32-libffi-3.4.4-1 is up to date -- reinstalling
warning: lib32-libgcrypt-1.10.1-2 is up to date -- reinstalling
warning: lib32-libgpg-error-1.46-1 is up to date -- reinstalling
warning: lib32-libldap-2.6.3-3 is up to date -- reinstalling
warning: lib32-libtirpc-1.3.3-2 is up to date -- reinstalling
warning: lib32-libxcrypt-4.4.33-1 is up to date -- reinstalling
warning: lib32-openssl-1:3.0.7-1 is up to date -- reinstalling
warning: lib32-pam-1.5.2-1 is up to date -- reinstalling
warning: lib32-pcre2-10.40-3 is up to date -- reinstalling
warning: lib32-pipewire-1:0.3.64-1 is up to date -- reinstalling
warning: lib32-pipewire-jack-1:0.3.64-1 is up to date -- reinstalling
warning: lib32-systemd-252.4-1 is up to date -- reinstalling
warning: lib32-util-linux-2.38.1-1 is up to date -- reinstalling
warning: lib32-xz-5.4.1-1 is up to date -- reinstalling
warning: lib32-zlib-1.2.13-2 is up to date -- reinstalling
warning: lib32-zstd-1.5.2-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
[COLOR="Red"]error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: lib32-jack2 and lib32-pipewire-jack are in conflict[/COLOR]
[root@home etc]# 

Last edited by freeartist (2023-01-26 10:58:08)

Offline

#2 2023-01-25 13:00:03

d.ALT
Member
Registered: 2019-05-10
Posts: 920

Re: [SOLVED]enable multilib

freeartist wrote:

is needed installing 32bit libs?

Only when/if necessary. Packages requiring lib32* will automatically pull in their required (lib32) dependencies when needed.

freeartist wrote:
[root@home etc]# pacman -Ssq lib32 | pacman -S -
[COLOR="Red"]error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: lib32-jack2 and lib32-pipewire-jack are in conflict[/COLOR]

Install one XOR another, not both!

# pacman -S lib32-pipewire-jack

or

# pacman -S lib32-jack2

\\\


freeartist wrote:
[root@home etc]# pacman -Ssq lib32 | pacman -S - 

Why?... neutral

Last edited by d.ALT (2023-01-25 13:04:15)


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2023-01-25 14:48:44

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [SOLVED]enable multilib

You have already installed a couple dozen or so multilib packages according to that output.  But while both of these points were noted by d.ALT, I think the emphasis was backwards: yes, the error message is clear, but much more importantly, why on earth would you try to install every package in the multilib repo?  Be greatful this failed.  Don't do that.

Last edited by Trilby (2023-01-25 14:50:06)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2023-01-25 18:26:58

freeartist
Member
Registered: 2022-09-06
Posts: 69

Re: [SOLVED]enable multilib

Trilby wrote:

You have already installed a couple dozen or so multilib packages according to that output.  But while both of these points were noted by d.ALT, I think the emphasis was backwards: yes, the error message is clear, but much more importantly, why on earth would you try to install every package in the multilib repo?  Be greatful this failed.  Don't do that.

Thanks for answer!
I thought that if enable multilib it they all must be installs?
Can you explain please how its works? How i know that some multilibs is needed?

upd
>Only when/if necessary. Packages requiring lib32* will automatically pull in their required (lib32) dependencies when needed.
aha that answer

Last edited by freeartist (2023-01-25 18:28:04)

Offline

#5 2023-01-25 18:30:28

freeartist
Member
Registered: 2022-09-06
Posts: 69

Re: [SOLVED]enable multilib

d.ALT wrote:
freeartist wrote:

is needed installing 32bit libs?

Only when/if necessary. Packages requiring lib32* will automatically pull in their required (lib32) dependencies when needed.

freeartist wrote:
[root@home etc]# pacman -Ssq lib32 | pacman -S -
[COLOR="Red"]error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: lib32-jack2 and lib32-pipewire-jack are in conflict[/COLOR]

Install one XOR another, not both!

# pacman -S lib32-pipewire-jack

or

# pacman -S lib32-jack2

\\\


freeartist wrote:
[root@home etc]# pacman -Ssq lib32 | pacman -S - 

Why?... neutral

Thank you!
So lib32 installs automatically if they needed?


>Install one XOR another, not both!
and how i know what same is needed?

Offline

#6 2023-01-25 18:59:37

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: [SOLVED]enable multilib

So lib32 installs automatically if they needed?

multilib isn't any different from all other repos in that regard

and how i know what same is needed?

Do you use pipewire?
Do you need *any* jack implementation?

Offline

#7 2023-01-25 18:59:41

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [SOLVED]enable multilib

Pacman is your package manager.  It handles dependencies.  If you install something that depends on lib32 dependencies, pacman will install them.  That's it.

Unless you are writing your own code that specifically uses a library, and you need to compile a 32-bit binary from that code, you'd never have any reason to explicitly install any lib32 library.  There are only a small handful of packages from [multilib] that one might explicitly install (e.g., wine, or steam) and one of these was almost certainly the reason you enabled the repo in the first place.  When you installed one of these, pacman properly pulled in the dependencies as already noted.  This would (most likely) be why you already have 25 lib32-* packages already installed.

Last edited by Trilby (2023-01-25 19:00:48)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#8 2023-01-26 10:56:54

freeartist
Member
Registered: 2022-09-06
Posts: 69

Re: [SOLVED]enable multilib

Thanks a lot to All for explain!

Offline

Board footer

Powered by FluxBB