• Tetsuo@jlai.lu
    link
    fedilink
    English
    arrow-up
    14
    ·
    4 hours ago

    Ok, but I was expecting something a bit more automated then opening a list of package in kate and comparing it to my list of installed AUR package… Plus it’s 400 package so that’s a lot of things to check and plenty of space to miss one package by manually checking.

    But I get it I’m lazy and just need to script something myself. This is affecting so many people I thought we would have a script to check quickly if you are “infected”.

    • NebulaNymph@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 hours ago

      I haven’t used kate but does it not have some sort of easy search?

      ex. pacman -Qm to list AUR packages; should display the 3/4 pkgs you have installed. Then just search in kate for those 3/4 results?

      Alternatively cat & grep in the terminal is pretty straight forward.

      That is if it’s 3/4 pkgs that are from AUR, but if someone has hundreds installed that is a bigger issue on its own.

    • Holytimes@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      6
      ·
      4 hours ago

      how many aur packages do you have? Most people i know have like AT MOST 20 or so packages from the aur. Which takes less then 2 mins to manually check against the list.

      • Tetsuo@jlai.lu
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours ago

        I’m not home for a few days so I can’t check yet.

        But I think I have something like 3/4 packages at the most.

        But I need to compare that to a 400+ list I’m not sure I agree with you it’s that easy to do rigorously.

        • hoppolito@mander.xyz
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 hours ago

          Not sure I understand - if you only have 3-4 packages you can just search for them specifically in the long list?

          Even if you have 50 or 100s of packages, bash makes it pretty doable

          comm -12 <(sort -u file1.txt) <(sort -u file2.txt) > common.txt
          

          Should spit out only the packages appearing in both lists (done by memory so may not be 100%)

      • Tetsuo@jlai.lu
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 hours ago

        Am I missing something ?

        Just because I have 3/4 package on my system doesn’t mean the 400+ list of affected package gets shorter on the other side…

        I’m actually pretty cautious with AUR and I only install them when there is no other options.

        • m4ylame0wecm@lemmy.zip
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 hours ago

          Especially for a small list, 3-4, that you actually need to check, what’s the actual issue? Open list of 400, ctrl+f for the few names you care about, move on.

        • shweddy@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 hours ago

          I was just curious because I didnt think it was so tediuous to check against an alphabetical list on a website using ctrl+f. But thats just me. It took me less than a minute to check my 8 aur packages against the list