News for hackers. Stuff that matters.
Re:Firefox-patch-bin, librewolf-fix-bin AUR packages contain... by nilamo on Friday July 18, 2025 @03:25PM (#44608798)
Plenty of package managers (such as `yay`) install from AUR by default.
Re:Firefox-patch-bin, librewolf-fix-bin AUR packages contain... by bee_rider on Friday July 18, 2025 @04:11PM (#44609257)
On one hand, the distro developers can’t really prevent people from, say, hitting their computers with a sledgehammer or something. So to some extent, the users have to be trusted.

But, maybe it would be best not to have “yay” available. Using something like AUR without reading the package build files is… pretty bad, right? And it is bad for the community, because if there is a convention of doing that sort of thing, it makes the AUR a good target for attacking.

Re:Firefox-patch-bin, librewolf-fix-bin AUR packages contain... by akerl_ on Friday July 18, 2025 @05:56PM (#44610252)
Yay is a 3rd party package manager. The 1st party package manager does not interact with the AUR.

Yay itself is in the AUR. You have to go out of your way to install it.

The Archlinux docs on AUR helpers lead with a red warning: https://wiki.archlinux.org/title/AUR_helpers

Re:Firefox-patch-bin, librewolf-fix-bin AUR packages contain... by bee_rider on Friday July 18, 2025 @08:34PM (#44611413)
Oh, I thought it was a package from the repo. (I didn’t use any of those third party package managers, just stuck to manually doing everything when using the AUR, which was fine because I used it sparingly).
Re:Firefox-patch-bin, librewolf-fix-bin AUR packages contain... by johnisgood on Saturday July 19, 2025 @03:59AM (#44613498)
No, and these AUR helpers are not even official packages in the official repository.
Re:Firefox-patch-bin, librewolf-fix-bin AUR packages contain... by thedanbob on Friday July 18, 2025 @06:57PM (#44610708)
> But, maybe it would be best not to have “yay” available. Using something like AUR without reading the package build files is… pretty bad, right? And it is bad for the community, because if there is a convention of doing that sort of thing, it makes the AUR a good target for attacking.

I don't remember how yay works but paru (another AUR package manager) displays the pkgbuild file before it will install.

Re:Firefox-patch-bin, librewolf-fix-bin AUR packages contain... by johnisgood on Friday July 18, 2025 @03:42PM (#44608976)
yay is a package manager that has been made for AUR. yay is not the official package manager for Arch Linux, pacman is, and it does not support AUR. yay is not installed on Arch Linux by default, its official package manager, pacman, is. AUR is for unofficial 3rd party packages, i.e. "use at your own risk". It has always been the case.
Re:Firefox-patch-bin, librewolf-fix-bin AUR packages contain... by IlikeKitties on Friday July 18, 2025 @03:56PM (#44609094)
Yes, it is "use at your own risk" but most arch users just install from it without giving it a second thought, because availability of packages in the AUR is the one thing Arch is good at.
Re:Firefox-patch-bin, librewolf-fix-bin AUR packages contain... by johnisgood on Friday July 18, 2025 @04:01PM (#44609163)
N=1 but I rarely install from AUR and I have been using Arch Linux for decades. Using "yay" is akin to doing "curl | sh". You should inspect the PKGBUILD at the very least, and I do not believe "most users" is correct.
Re:Firefox-patch-bin, librewolf-fix-bin AUR packages contain... by diggan on Friday July 18, 2025 @04:02PM (#44609168)
> most arch users just install from it without giving it a second thought

I'm not sure that's true. Neither I nor most people I know who use Arch (granted, most of them are professional software developers) install software from the internet willy-nilly and without reviewing anything, if by AUR or "curl | bash", especially when on their main computers.

Re:Firefox-patch-bin, librewolf-fix-bin AUR packages contain... by Hackbraten on Friday July 18, 2025 @04:01PM (#44609161)
> most arch users just install from it without giving it a second thought

Citation needed.

Re:Firefox-patch-bin, librewolf-fix-bin AUR packages contain... by akerl_ on Friday July 18, 2025 @05:55PM (#44610246)
Those users are going to learn some hard lessons, either in this incident or a future one.

Archlinux is a distro that’s designed for the user to control their own system, and the AUR is clear about what it is and the nature of the packages in it.

Re:Firefox-patch-bin, librewolf-fix-bin AUR packages contain... by johnisgood on Friday July 18, 2025 @06:41PM (#44610586)
Oh, and by the way, not sure how people miss these:

> Warning: AUR packages are user-produced content. These PKGBUILDs are completely unofficial and have not been thoroughly vetted. Any use of the provided files is at your own risk.

This is from https://wiki.archlinux.org/title/Arch_User_Repository.

> Warning: AUR helpers are not supported by Arch Linux. You should become familiar with the manual build process in order to be prepared to troubleshoot problems.

This is from https://wiki.archlinux.org/title/AUR_helpers.

"yay" is one of the most common AUR helpers, it requires two confirmations from what I counted. One of them is to inspect the PKGBUILD file, the other one is just to proceed.

Re:Firefox-patch-bin, librewolf-fix-bin AUR packages contain... by homebrewer on Friday July 18, 2025 @07:17PM (#44610882)
It's also good at being fairly simple and transparent, and having the only sane package format in existence (along with Alpine's apkbuild which is basically the same thing), but okay.