You are not logged in.

#1 2023-10-22 19:37:51

YourLocalMedic
Member
Registered: 2022-07-26
Posts: 2

Stuck with identically named regular and testing packages

I tried to update my system and there was an issue with being unable to update a dependency for something. Upon inspecting said dependency, I found out that there were two versions of it installed on my system. One was multilib/lib32-libnsl and the other was multilib-testing/lib32-libnsl. And therin lies the problem. Obviously I want to get rid of the testing package as those are not to be used ever by regular users but I'm unsure of how to do so given that the packages have identical names. I ran yay -Ql to see if it would pop up with two different locations for the one package but it did not. I have no idea what caused the package to install in the first place. Possibly some keyring shenanigans but I figure whoever answers this will likely know if that's important to worry about or not. However I do notice that within the original yay command it syncs multilib-testing so perhaps the issue comes from the multilib-testing packages being enabled somewhere in either pacman's settings or yay's if it does not just use pacman's.

[yourlocalmedic@Marauders-Arch ~]$ yay
[sudo] password for yourlocalmedic:
:: Synchronizing package databases...
 testing is up to date
 core is up to date
 extra is up to date
 community-testing is up to date
 community is up to date
 multilib-testing is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace kirigami-addons with extra/kirigami-addons5? [Y/n]
resolving dependencies...
warning: cannot resolve "libnsl=2.0.1", a dependency of "lib32-libnsl"
:: The following package cannot be upgraded due to unresolvable dependencies:
      lib32-libnsl

:: Do you want to skip the above package for this upgrade? [y/N] ^C
Interrupt signal received

 -> error installing repo packages
[yourlocalmedic@Marauders-Arch ~]$ yay lib32-libnsl
2 multilib/lib32-libnsl 2.0.0-2 (12.8 KiB 29.6 KiB) (Installed)
    Public client interface library for NIS(YP)
1 multilib-testing/lib32-libnsl 2.0.1-1 (12.9 KiB 29.6 KiB) (Installed: 2.0.0-2)
    Public client interface library for NIS(YP)
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> ^C
[yourlocalmedic@Marauders-Arch ~]$ yay -Ql lib32-libnsl
lib32-libnsl /usr/
lib32-libnsl /usr/lib32/
lib32-libnsl /usr/lib32/libnsl.so
lib32-libnsl /usr/lib32/libnsl.so.3
lib32-libnsl /usr/lib32/libnsl.so.3.0.0
lib32-libnsl /usr/lib32/pkgconfig/
lib32-libnsl /usr/lib32/pkgconfig/libnsl.pc
[yourlocalmedic@Marauders-Arch ~]$

Last edited by YourLocalMedic (2023-10-22 19:40:27)

Offline

#2 2023-10-22 19:43:53

loqs
Member
Registered: 2014-03-06
Posts: 18,823

Re: Stuck with identically named regular and testing packages

You have enabled community-testing and multilib-testing but not core-testing and extra-testing.  See the warning from Official_repositories#Testing_repositories and also https://archlinux.org/news/git-migration-completed/

Offline

#3 2023-10-22 19:54:27

YourLocalMedic
Member
Registered: 2022-07-26
Posts: 2

Re: Stuck with identically named regular and testing packages

I never fiddled around with any settings to enable the testing repository. It's not supposed to be enabled so I don't even know how that would have happened randomly on an install I have been using for a long time. I can disable multilib-testing on my own but I still don't know how to get rid of the package given it shares an identical name with the other one. Both are installed currently and that's the problem

Offline

#4 2023-10-22 19:58:30

loqs
Member
Registered: 2014-03-06
Posts: 18,823

Re: Stuck with identically named regular and testing packages

You used archinstall to install the system?  That had an issue at one point where it enabled only some testing repositories.  I suspect you are being confused by yay.
What is the output of:

pacman -Q libnsl lib32-libnsl

Offline

Board footer

Powered by FluxBB