Skip to content

[BUG] Forces AUR installation, and installs packages without review #1783

Description

@vasi

Describe the bug

AUR has been having a number of security issues lately. Users are wary of it, and should at least be reading PKGBUILD files carefully.

But when installing ML4W:

  • The preflight-arch.sh script prompts me to choose an AUR helper. There's no option to skip using AUR.
  • The installer then installs a bunch of packages, some of which come from AUR. In my case, these were hyprsysteminfo and python-pywalfox. These are installed with --noconfirm, so there's no prompt for approval no notification these are coming from AUR, and no chance to read the PKGBUILD.
  • Both the above packages have gone through multiple changes of maintainer recently. The PKGBUILDs look fine as of now, but I don't trust brand new maintainers.

Steps to reproduce

1.Start with Arch, with no AUR helper installed
2. In a terminal, install the stable ML4W release: bash <(curl -s https://ml4w.com/os/stable)
3. You'll be asked for an AUR helper
4. Packages from AUR will be installed without confirmation

Expected behavior

There's a few things that could be done here. From easiest to hardest:

  1. Allow the user to select "none" for the AUR helper. Just skip the packages that are only available in AUR, those two packages are not critical for ML4W.
  2. Offer to show the user AUR packages before installing them, and let them read the PKGBUILD. yay offers flags for this already.
  3. Hardcode a version of these packages to install, which is known to be good. Update it only a few weeks after a new release, so we can be pretty sure someone has checked it by then.
  4. Establish more stable maintainership of these packages, and get them into Arch extras, or at least Chaotic-AUR.

Screenshots

No response

Distribution

Arch Linux

If Other, specify

No response

Additional context

Thanks for looking into this! I appreciate all y'all are doing, I know maintaining software is hard.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions