The past few times I’ve run yay I’ve got these warnings about packages that are orphaned/not in the AUR. Based on the names I’m assuming these are leftover from the upgrade from kde plasma 5 to 6, are these safe to remove now? And secondly how would I find orphaned packages like that if I wasn’t using yay since I never installed these from the AUR?

  • OneCardboardBox@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    1
    ·
    edit-2
    8 months ago

    In this context, orphaned doesn’t always mean you should remove it. It just means that nobody in AUR is taking responsibility to keep it updated. You still might have other packages from the AUR that depend on this one.

    Since it is unmaintained, basically anyone can now claim ownership of that package in the AUR and push updates for it. Theoretically, someone could try to distribute malware in this way.

    This is why it’s important to check the diffs of your AUR updates.

    • Infernal_pizza@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      I never knowingly installed these, the only packages I’ve intentionally installed from the AUR are heroic games launcher and 7-zip. And the only kde programs I’ve manually installed is the plasma-meta package, kde connect and ksnip. I think they were previously part of the plasma-meta package and have now been removed or replaced with the plasma 6 versions

  • nous@programming.dev
    link
    fedilink
    English
    arrow-up
    6
    ·
    8 months ago

    Define safe. Your can recover from just about anything with a live USB by just reinstalling any missing packages. But that is only needed if you remove some vital packages, those in base or to do with your bootloader. Which is only a small list. And none of those will be in the AUR unless you explicitly opted into something critical (like zfs as your main filesystem, or a custom kernel).

    Most things, especially GUI stuff is optional in Arch. You might break your GUI but you should always have access to the CLI to reinstall things like you did when you first set things up.

    The only time I would be really wary is if trying to remove a package also tries to remove half your system packages. Then it is more likely to be required by something you want and should very carefully audit the list of packages it wants to remove.

    • Infernal_pizza@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      By safe I guess I more meant should I be doing anything beforehand. I’m running snapper on btrfs so even if I do completely destroy everything it’s not too much of an issue but I’d rather avoid it if possible!

      I found out how to check for orphaned packages with pacman thanks to another comment so I’ve removed them now

  • WheelchairArtist@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    8 months ago

    Yes those are leftovers. Khotkeys got replaced with kglobalaccel - safe to remove but install kglobalaccel. Krunner5 is replaced by krunner, kquickcharts5 by kquickcharts. For kpeoplevcard i don’t know

  • NathanUp@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    8 months ago

    Unfortunately, you’re going to have to go through the list and decide whether you need each one

  • Lojcs@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    8 months ago

    That used to be in the repositories I’m pretty sure and the aur package is pretty new, so I guess yay migrated it to use the aur one somehow instead of replacing it with krunner for the plasma 6 update?

    And that probably applies to those others too