Greetings friends, I apologize if this is trivial but I still have lots to learn.
I'm trying to run a system update and I get this message
warning: cannot resolve "zlib=1:1.3.1", a dependency of "lib32-zlib"
warning: cannot resolve "zlib=1:1.3.1", a dependency of "lib32-zlib"
:: The following package cannot be upgraded due to unresolvable dependencies:
lib32-zlib
I tried installing the two packages manually hoping for something to change, it didn't.
I tried looking up the issue and found a reddit thread where it was suggested that multilib-testing was enabled without other testing repos enabled, as far as I know however I have no testing repos enabled, I checked /etc/pacman.conf and searched for testing in the file, found nothing so unless I misunderstand how to find it then the problem might be elsewhere.
Again, lacking experience these were the things I could try, what else could I do?
Oh, I also searched this forum for zlib, but I only found messages from last month at best and the problem didn't show up back then, so I suspect this is unrelated to the threads I found.
<hunch>
Check with
pacman -Qi lib32-zlib
if any package requires lib32-zlib.
If it shows
Required By : None
you can remove lib32-zlib.
If it is required check lib32 is enabled in /etc/pacman.conf
enabled
[lib32]
Include = /etc/pacman.d/mirrorlist
not enabled
#[lib32]
#Include = /etc/pacman.d/mirrorlist
</hunch>
Hi gripped, thanks for the post.
I checked and it's required by a bunch of things, I tried enabling lib32, followed by a pacman -Syu but it sadly didn't do the trick.
That's weird if it wasn't enabled but enabling made no difference.
Can you post the entirety of pacman -Syyu please. Maybe even throw in --debug
I've the same issue...
pacman -Qi lib32-zlib
Name : lib32-zlib
Version : 1.3-1
Description : Compression library implementing the deflate compression method found in gzip and PKZIP (32-bit)
Architecture : x86_64
URL : https://www.zlib.net/
Licenses : Zlib
Groups : None
Provides : libz.so=1-32
Depends On : lib32-glibc zlib=1:1.3
Optional Deps : None
Required By : lib32-amdvlk lib32-cairo lib32-curl lib32-freetype2 lib32-glib2 lib32-libcurl-compat lib32-libcurl-gnutls
lib32-libelf lib32-libpng lib32-libpng12 lib32-librtmp0 lib32-libssh2 lib32-libtiff lib32-libtiff4
lib32-libunwind lib32-libxml2 lib32-llvm-libs lib32-nss lib32-sdl_image lib32-vulkan-amdgpu-pro
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 94.54 KiB
Packager : David Runge <[email protected]>
Build Date : Sun 20 Aug 2023 09:37:07 AM PDT
Install Date : Wed 04 Oct 2023 05:44:20 PM PDT
Install Reason : Installed as a dependency for another package
Install Script : No
#[lib32]
Include = /etc/pacman.d/mirrorlist
$ sudo pacman -Syyu
:: Synchronizing package databases...
system 263.9 KiB 187 KiB/s 00:01 [###############################################] 100%
world 5.0 MiB 2.19 MiB/s 00:02 [###############################################] 100%
galaxy 516.6 KiB 318 KiB/s 00:02 [###############################################] 100%
universe 1831.0 B 4.29 KiB/s 00:00 [###############################################] 100%
omniverse 96.1 KiB 69.9 KiB/s 00:01 [###############################################] 100%
extra 8.3 MiB 6.78 MiB/s 00:01 [###############################################] 100%
community 45.0 B 88.0 B/s 00:01 [###############################################] 100%
multilib 139.7 KiB 185 KiB/s 00:01 [###############################################] 100%
heftig 1952.0 B 3.00 KiB/s 00:01 [###############################################] 100%
:: Starting full system upgrade...
resolving dependencies...
warning: cannot resolve "zlib=1:1.3.1", a dependency of "lib32-zlib"
:: The following package cannot be upgraded due to unresolvable dependencies:
lib32-zlib
:: Do you want to skip the above package for this upgrade? [y/N]
sudo pacman -Syyu --debug
https://pastebin.com/ygwpB4ty
@wgjuio Your post shows that you don't have lib32 (Artix) enabled and do have multiilib (Arch) enabled.
Arch
Packager : David Runge <[email protected]>
That could be the problem? Either way that setup is almost bound to be an issue at some point.
Yes, sorry it took me a while to reply. You know, work and sleep.
Anyhow, output too long so I'll just put it on pastebin https://pastebin.com/PWFqqwUc
I'm a bit of a silly dummy and I forget to update sometimes, I don't think it's the reason in this case though.
Something's off perhaps ?
debug: searching for replacements for lib32-zlib in system
debug: searching for replacements for lib32-zlib in world
debug: searching for replacements for lib32-zlib in galaxy
debug: searching for replacements for lib32-zlib in universe
debug: searching for replacements for lib32-zlib in extra
debug: searching for replacements for lib32-zlib in community
debug: searching for replacements for lib32-zlib in multilib
It's looking everywhere except lib32 it seems ?
What happens if you run
pacman -Sy lib32/lib32-zlib
sudo pacman -Sy lib32/lib32-zlib
[sudo] password for raccoon:
:: Synchronizing package databases...
system is up to date
world is up to date
galaxy is up to date
universe is up to date
extra 8,3 MiB 5,13 MiB/s 00:02 [############################] 100%
community is up to date
multilib is up to date
lib32 is up to date
warning: lib32-zlib-1.3-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) lib32-zlib-1.3-1
Total Download Size: 0,05 MiB
Total Installed Size: 0,09 MiB
Net Upgrade Size: 0,00 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
lib32-zlib-1.3-1-x... 48,3 KiB 119 KiB/s 00:00 [############################] 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%
(1/1) checking available disk space [############################] 100%
:: Processing package changes...
(1/1) reinstalling lib32-zlib
But after that if I run an update it still gives me the same issue as before.
I should have asked this to begin with. Post both
pacman -Qi zlib
and
pacman -Qi lib32-zlib
Edit:
I think you'll find you have Arch version of zlib and if you do
pacman -S system/zlib
You'll be able to update the system ?
pacman -Qi zlib
Name : zlib
Version : 1:1.3-2
Description : Compression library implementing the deflate compression method found
in gzip and PKZIP
Architecture : x86_64
URL : https://www.zlib.net/
Licenses : Zlib
Groups : None
Provides : libz.so=1-64
Depends On : glibc
Optional Deps : None
Required By : binutils btrfs-progs cairo cfitsio cracklib curl dotnet-runtime
exiv2 ffmpeg ffmpeg4.4 file freetype2 ghostscript gimp git
glib2 gnupg gnutls gutenprint imagemagick kexec-tools kmod
krita lib32-zlib libarchive libcaca libcups libelf libfontenc
libgdiplus libgme libid3tag libisofs libmgba libmysofa
libopenmpt libpciaccess libpng libpng12 libraw libspng libssh
libssh2 libsynctex libtiff libunwind libxml2 libzip lld
llvm-libs man-db mariadb-libs minizip minizip-ng mono mpv neon
nodejs nss openmpi openpmix openssh ostree pahole pcre pcre2
poppler prismlauncher-git protobuf python python-pillow qpdf
qt6-base qt6-svg raptor rsync rtmpdump sqlcipher sqlite sudo
taglib tcl thunderbird util-linux vim webkit2gtk webkit2gtk-4.1
webkitgtk-6.0 wxwidgets-common zstd
Optional For : mlt
Conflicts With : None
Replaces : None
Installed Size : 339,65 KiB
Packager : Artix Build Bot <[email protected]>
Build Date : mer 25 ott 2023, 21:58:51
Install Date : mar 23 gen 2024, 20:28:54
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
pacman -Qi lib32-zlib
Name : lib32-zlib
Version : 1.3-1
Description : Compression library implementing the deflate compression method found
in gzip and PKZIP (32-bit)
Architecture : x86_64
URL : https://www.zlib.net/
Licenses : Zlib
Groups : None
Provides : libz.so=1-32
Depends On : lib32-glibc zlib=1:1.3
Optional Deps : None
Required By : lib32-cairo lib32-curl lib32-freetype2 lib32-glib2 lib32-libelf
lib32-libpng lib32-libssh2 lib32-libtiff lib32-libunwind
lib32-libxml2 lib32-llvm-libs lib32-nss
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 94,46 KiB
Packager : Artix Build Bot <[email protected]>
Build Date : lun 21 ago 2023, 02:03:26
Install Date : mer 24 gen 2024, 17:44:12
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
pacman -S system/zlib
I did update the system before using this but without the package causing issues.
As of now, that package is still being a problem.
I think if you just wait it will resolve itself
The versions of the built packages on the mirrors are behind the versions of the build files on https://gitea.artixlinux.org/explore/repos
1.3 vs 1.3.1
Finger crossed and sorry for the wild goose chase
Hey no need to apologize, you tried to help, I'm grateful for that :)
Thanks I figured out my issue. I had:
#[lib32]
Include = /etc/pacman.d/mirrorlist
I uncommented [lib32]
[lib32]
Include = /etc/pacman.d/mirrorlist
Now I have to figure this out:
sudo pacman -Syyu
:: Synchronizing package databases...
system 263.8 KiB 187 KiB/s 00:01 [################################################] 100%
world 5.0 MiB 2.17 MiB/s 00:02 [################################################] 100%
galaxy 516.6 KiB 321 KiB/s 00:02 [################################################] 100%
lib32 173.8 KiB 134 KiB/s 00:01 [################################################] 100%
universe 1831.0 B 5.32 KiB/s 00:00 [################################################] 100%
omniverse 96.1 KiB 78.0 KiB/s 00:01 [################################################] 100%
extra 8.3 MiB 7.81 MiB/s 00:01 [################################################] 100%
community 45.0 B 133 B/s 00:00 [################################################] 100%
multilib 139.7 KiB 236 KiB/s 00:01 [################################################] 100%
heftig 1952.0 B 3.07 KiB/s 00:01 [################################################] 100%
:: Starting full system upgrade...
warning: lib32-glib2: local (2.78.4-1) is newer than lib32 (2.78.3-1)
warning: lib32-libpulse: local (17.0-1) is newer than lib32 (16.1-6)
warning: lib32-nss: local (3.97-1) is newer than lib32 (3.96.1-1)
warning: lib32-pam: local (1.6.0-1) is newer than lib32 (1.5.3-1)
there is nothing to do
Ok I figured it out. Needed to install lib32-artix-archlinux-support and then one by one install those packages from pacman which took over the paru AUR installations
I would try
Clearing the package cache
pacman -Scc
Refreshing the databases
pacman -Syy
(re)Installing specifying lib32
pacman -S lib32/lib32-glib2 lib32/lib32-libpulse lib32/lib32-nss lib32/lib32-pam lib32/lib32-udev lib32/lib32-dbus
Check it looks sane before you click yes and I offer no warranty ;)