6
submitted 1 year ago* (last edited 1 year ago) by sandayle@iusearchlinux.fyi to c/archlinux@lemmy.ml

When I run paru -Sua it result like this.

:: Looking for AUR upgrades...
:: Looking for devel upgrades...
:: packages not in the AUR: env  lib32-brotli  lib32-dbus  lib32-e2fsprogs  lib32-flac  lib32-gmp  lib32-keyutils
    lib32-krb5  lib32-libasyncns  lib32-libcap  lib32-libffi  lib32-libgcrypt  lib32-libgpg-error  lib32-libidn2
    lib32-libjpeg-turbo  lib32-libldap  lib32-libogg  lib32-libsndfile  lib32-libtasn1  lib32-libtirpc  
    lib32-libunistring  lib32-libvorbis  lib32-libx11  lib32-libxau  lib32-libxcb  lib32-libxcrypt  lib32-libxdmcp
    lib32-libxext  lib32-libxfixes  lib32-libxi  lib32-libxtst  lib32-nettle  lib32-openssl  lib32-opus  
    lib32-p11-kit  lib32-pam  lib32-systemd  lib32-xz  lib32-zstd
 there is nothing to do

Why I see this warning and how to solve it? Did I do something wrong or something change?

you are viewing a single comment's thread
view the rest of the comments
[-] xvlc@feddit.de 5 points 1 year ago

You installed these packages using the multilib repository (anything lib32-… lives in there, and a few other packages). Now, for whatever reason, the multilib repository is no longer available. Maybe you deactivated it in your pacman configuration, or you just had issues downloading the latest package database. paru no longer finds them in the official repositories, and it also does not find them in the AUR, so it displays that message. After you have updated/reenabled the multilib repository, this message will disappear.

[-] sandayle@iusearchlinux.fyi 1 points 1 year ago

Thank you. Yes I activated multilib for Wine, but when it didn't work for me, I uninstalled it and deactivated multilib.

[-] xvlc@feddit.de 2 points 1 year ago

You can list the packages that were previously installed as a dependency for another package but are no longer required using pacman -Qdt. It should be safe to remove all of them. (Some of them might only be required to build another package from the AUR, not to use it. But those will automatically get reinstalled the next time you update/install that package using paru).

You can automatically remove all obsolete dependencies when uninstalling a package using pacman -Rns . For example, pacman -Rns wine would have likely uninstalled the lib32-… packages for you automatically (assuming no other package depends on them).

[-] sandayle@iusearchlinux.fyi 1 points 1 year ago

The list is long. I there any way to remove them all at once? I looked on the man page but I couldn't find.

[-] xvlc@feddit.de 4 points 1 year ago

pacman -Qqdt will list the obsolete packages without the version number. You can pass the output of this command (i.e. all the obsolete packages) back to pacman using $(…) command substitution: sudo pacman -Rns $(pacman -Qqdt)

[-] sandayle@iusearchlinux.fyi 1 points 1 year ago

Thank you very much.

load more comments (3 replies)
this post was submitted on 26 Sep 2023
6 points (100.0% liked)

Arch Linux

7761 readers
14 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS