I’m on Manjaro, and accidentally upgraded my D compilers to those that have the AI slop contributions. I uninstalled them from Pacman, I wonder if I can do it via Pacman, or have to do it manually (LDC has a (very) temporary install script, meaning it tricks the terminal session into believing it’s the reference compiler DMD, which is not ideal, want a permanent solution, as this one conflicts with GUI editors and the package manager).

  • klankin@piefed.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 hours ago

    Its a bit of a sidestep from pacman, but nix package manager can be installed on almost any Linux device, and you can pin dependencies to an exact git hash if you want (with flakes)

  • imecth@fedia.io
    link
    fedilink
    arrow-up
    7
    ·
    5 hours ago

    Getting an old package will work for a while, but sooner or later dependencies will start to break and then you’ll be back to square 1. At that point you’ll need to rebuild it, and when that fails you’ll need to start adding patches… and this is just one package. there’s an increasing amount of slop in linux, including the kernel itself, i’m afraid if you have a purist attitude you’re gonna want to start looking at other projects like freebsd.

    • ZILtoid1991@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      ·
      5 hours ago

      Yeah I know, if I had the knowledge and energy, I’d fork the Linux kernel, while removing most if not all the slop contributions. As for the compiler(s), I have plans of forking, and adding my own improvements upon the language too (fixing opApply, etc).

  • esc@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    5 hours ago

    Go to archlinux archive, download required version (or look it up in local pacman cache), install it with pacman -U ..., add package to IgnorePkg in /etc/pacman.conf.

    manjaro

    just move from it on the next computer, it is not in any way more ‘stable’ than regular arch, and it had a lot of problems both historically and has a lot of them still.

    • ZILtoid1991@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      5 hours ago

      Yeah, I was thinking of moving onto CachyOS, the new Manjaro, but I’m too lazy to do so on my thinkpad. Maybe I’ll do it on my desktop the moment I really cannot remain on Win10 for my main OS.

  • 6️⃣9️⃣4️⃣2️⃣0️⃣@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 hours ago

    I have bad news for you: there are AI slop contributions in more than just the D compiler package. You’re fighting an uphill battle.

    I don’t know anything about the D compiler specifically, but in general, pacman doesn’t support partial system upgrades. If the package has no dependencies (or has very stable dependencies) you may be OK with the older package.

    All that said, if you still have the old package, you can reinstall it with:

    pacman -U /var/cache/pacman/pkg/<old_pkg_name>.pkg.tar.zst
    

    You’ll also have to add the package name to your IgnorePkg list in /etc/pacman.conf.

  • just_another_person@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    6 hours ago

    See here

    Then if you want to lock that specific version, go to /etc/pacman.conf and add the base package name to the ignore list so it doesn’t just go and get updated on the next upgrade run.