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).
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)
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.
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).
Go to archlinux archive, download required version (or look it up in local pacman cache), install it with
pacman -U ..., add package toIgnorePkgin/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.
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.
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.zstYou’ll also have to add the package name to your
IgnorePkglist in/etc/pacman.conf.See here
Then if you want to lock that specific version, go to
/etc/pacman.confand add the base package name to the ignore list so it doesn’t just go and get updated on the next upgrade run.


