Re:Arch Linux AUR Repository Found to Contain Malware
by jdlyga on Tuesday July 10, 2018 @04:39PM
(#17501939)
This is exactly what we've been preparing for. Don't use yaourt, and read those diffs. I know a lot of people don't do this, but it's important.
[ Parent
| on HN ]
Re:Arch Linux AUR Repository Found to Contain Malware
by CodyReichert on Tuesday July 10, 2018 @04:56PM
(#17502074)
Yeah it's funny, my first thought was since I started using Arch, the most common thing I hear people say is that packages from AUR should be considered unsafe until you've read the PKGBUILD, at least. It's a good thing it gets brought up so much, unfortunately.
Re:Arch Linux AUR Repository Found to Contain Malware
by tyfon on Tuesday July 10, 2018 @06:30PM
(#17502782)
Even yaourt defaults to prompting you to read all the packages scripts and displays a red WARNING UNSAFE when the package is unmaintained as this one was.
It has options to configure it to do everything automatically, but you have to actively go in and set it so.
Re:Arch Linux AUR Repository Found to Contain Malware
by exegete on Wednesday July 11, 2018 @07:01PM
(#17510918)
yaourt sources the PKGBUILD before it allows you to review it, which is why it is considered unsafe.
Re:Arch Linux AUR Repository Found to Contain Malware
by thsowers on Tuesday July 10, 2018 @05:55PM
(#17502548)
What would you recommend over yaourt?
Re:Arch Linux AUR Repository Found to Contain Malware
by cosmojg on Tuesday July 10, 2018 @07:28PM
(#17503107)
I love yay[1]. It has few dependencies, integrates well with pacman, has a useful search function, and is incredibly easy to use. I recommend using the binary version (yay-bin[2]) available in the AUR since it doesn't require compilation and has the fewest dependencies of any AUR helper.
Re:Arch Linux AUR Repository Found to Contain Malware
by blarg1 on Wednesday July 11, 2018 @04:20AM
(#17505291)
#!/bin/bash
set -e
if [ -z "$1" ]; then echo "No package name specified."; exit; fi
mkdir -p $1
cd $1
wget -q "https://aur.archlinux.org/cgit/aur.git/snapshot/$1.tar.gz"
tar xzf $1.tar.gz
cd $1
makepkg -sf
read -n 1 -s -p "Press any key to continue..."
echo -e "\n"
sudo pacman -U --noconfirm --needed $1*pkg.tar.xz
Re:Arch Linux AUR Repository Found to Contain Malware
by thsowers on Thursday July 12, 2018 @08:07PM
(#17519626)
Now _that's_ a package manager!
Re:Arch Linux AUR Repository Found to Contain Malware
by syrak on Tuesday July 10, 2018 @06:02PM
(#17502597)
aurman. More choices can be found here https://wiki.archlinux.org/index.php/AUR_helpers
Re:Arch Linux AUR Repository Found to Contain Malware
by bscphil on Tuesday July 10, 2018 @08:32PM
(#17503457)
I like and use auracle. It's basically a rewrite / redo of cower, the core of pacaur, by the same developer. Pacaur was the most popular alternative to Yaourt, but is now discontinued.
Re:Arch Linux AUR Repository Found to Contain Malware
by Phelinofist on Wednesday July 11, 2018 @07:36AM
(#17506107)
cower from falconindy