• Nefyedardu@kbin.social
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    9 months ago

    it actually is, you just append the distrobox command before it

    distrobox enter arch -- yay -Sy appname

    • hottari@lemmy.ml
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      9 months ago

      A simple yay -Sy from Arch btw takes less computing power and doesn’t depend on an external dependency.

      • CatLikeLemming@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 months ago

        Any reason not to just use yay? That’s an alias for yay -Syu, which in and of itself, at least if I understood it correctly, is basically just pacman -Syu and from what I’ve read on the arch wiki -Sy is heavily discouraged.

        • hottari@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          9 months ago

          yay in the example was used to install an AUR; not to update the system which is what you are talking about. And the discouragement you speak of -Sy applies only to pacman upgrades, not AUR helpers. The only reason the y is discouraged in the wiki when installing a package is because it fetches updated data from the repos which might lag the rest of the system (and potentially the resulting dependencies if any). Most of the time it is not a concern as most (quality) software is made to be backwards compatible anyway.

      • Possibly linux
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        5
        ·
        9 months ago

        But then you stuck with arch. I’ve never had any software that wasn’t a flatpak or in the Debian repos. I use Fedora.

        • hottari@lemmy.ml
          link
          fedilink
          arrow-up
          10
          arrow-down
          1
          ·
          edit-2
          9 months ago

          I would say you are stuck on Fedora too, what is your point?

          I’ve never had any software that wasn’t a flatpak or in the Debian repos.

          There are quite a number of them, hence the reason for OP’s meme.

          • Possibly linux
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            2
            ·
            9 months ago

            Really? I honestly have never had that problem. Can you name a few? (I’m completely serious. Don’t take this as sarcasm)

            • hottari@lemmy.ml
              link
              fedilink
              arrow-up
              5
              arrow-down
              1
              ·
              9 months ago

              There are so many software devs that package AURs because Arch has made it easy for them to do so. No need to give examples if you are totally fine with your brand of distro.

              But whether you’ll hit the minor snag OP memes about depends on your software needs.