Removing packages not in AUR?

Hi,

I recently noticed that, when updating my packages with yay, I was getting a message about packages not in the AUR. This is what it says:

→ Packages not in AUR: google-calendar-nativefier khotkeys kinit lib32-libva-vdpau-driver manjaro-documentation-en manjaro-firmware manjaro-hotfixes manjaro-settings-manager-kcm packagekit-qt5 plasma-simplemenu systemd-fsck-silent systemd-kcm

I ran yay -Yc and still get this message. What can I do to clear up this issue? Thanks and sorry for the stupid question, I’m still learning a lot about managing my packages!

  1. Look up kinit5 in the AUR.
  2. On the right side, click “view changes”
  3. Review the first 3 entries.

Those are packages which have in the meantime been dropped from both the repositories and the AUR because they’re no longer supported. Unless you really need one (or several) of them, it is safe to remove them.

Be sure to also check for (and remove) any orphaned packages you may have. :backhand_index_pointing_down:

(List your orphans :backhand_index_pointing_down:)

pacman -Qdtq

(Remove your orphans :backhand_index_pointing_down:)

sudo pacman -Rns $(pacman -Qdtq)
5 Likes

Another general and safe cleaner:

:light_bulb: clean =>

sudo pacman -Sc && pamac clean --build-files && paccache -rvuk0 && flatpak uninstall --unused`

Just cleaned out 2.4GiB of build files for me :wink: from my measly 250GiB SSD.

3 Likes