logoalt Hacker News

anthonjtoday at 12:46 PM4 repliesview on HN

I cringed hard when some people started to make pacman wrappers that could install from AUR directly.

I've installed stuff from the aur before but most of the times I prefer to skip the middleman and just navigate to the project website. A premade pkgbuild is not convenient enough to take the risk of typoquatting or the tactical npm or pip dependency.


Replies

OJFordtoday at 1:15 PM

`yay` (one such wrapper) shows me the PKGBUILD diff on every update. The first time I install something I verify the URL, and check any install script etc. seems sensible; the vast majority of subsequent updates are changes to just version number & checksum. A typosquat attack would be very obvious.

(It's a bit vulnerable to it on first install, but so is 'just navigate to the project website [and click download]'.)

show 2 replies
Grombobuloustoday at 1:08 PM

For me, this tradeoff isn’t worth it. I didn’t switch to Linux so that I can waste time going to websites and clicking “download” to update my programs like a Windows user.

The pacman wrappers you mention are crazy, though.

show 1 reply
pixelpoettoday at 1:13 PM

> typoquatting

Perfect demonstration!

mqustoday at 1:39 PM

This sounds like your update process is quite involved then. Or do you just not do it?

show 1 reply