Packer: any way to auto-No to edit files?
I never edit the files Packer asks whether or not edit. Is there a way to "auto No" every time it asks?
Thanks!
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- 83o7aq
I never edit the files Packer asks whether or not edit. Is there a way to "auto No" every time it asks?
Thanks!
9 comments
Please read your PKGBUILDs when installing software from the AUR. There is a lot off horribleness going around.
I'm also lazy with reading the PKGBUILDs. I sometimes read them, but not always. Have you got some examples of nastiness in these files? What should I look for in them?
Malicious stuff is pretty rare but possible. The main thing you want to look out for is bad errors like placing files in /home and make sure the
source=()array contains places you trust.fman once included its own repository and added its own PGP key into the archlinux keyring implicitly.
https://aur.archlinux.org/cgit/aur.git/commit/?h=fman&id=9ab706867f7938818d4366a0a973ff51cae74512
But have no idea what to look for!
It's all about learning to read and write PKGBUILDs. You don't want the package to mess with
/home. Check sources. Check the files they fetch. Checksums in place? PGPKeys seems correct?That said. The whole point of Linux is to do whatever you like.
There aught to be a way to do this, even if it's ill advised.
Sure, but I'll leave that up to someone that actually uses packer.
It is not advised like others have said but if you really want to, you can alias "packer -S" to "packer -S --noconfirm". Then it will install without asking anything.