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 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.Thank you. Yes I activated multilib for Wine, but when it didn’t work for me, I uninstalled it and deactivated multilib.
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 thelib32-…
packages for you automatically (assuming no other package depends on them).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.
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)
Thank you very much.