---------- Forwarded message ---------- From: mudongliang <mudongliangabcd@outlook.com> To: arch-general@archlinux.org Cc: Date: Fri, 11 Sep 2015 15:28:59 +0800 Subject: [arch-general] PKGBUILD ERROR I got the following errors in "yaourt -S sublime-text-dev" :
sublime-text-dev 3.3083-2 (2015-07-07 21:14) ( Unsupported package: Potentially dangerous ! ) ==> Edit PKGBUILD ? [Y/n] ("A" to abort) ==> ------------------------------------ ==> y
Please add $VISUAL to your environment variables for example: export VISUAL="vim" (in ~/.bashrc) (replace vim with your favorite editor)
==> Edit PKGBUILD with: vim
==> ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system. Unable to read PKGBUILD
Waiting for help.Thank you all! - mudongliang
I guess you run `sudo yaourt -S sublime-text-dev` which is not correct.
You needn't run `yaourt` with sudo. yaourt will ask for password when it needs Try to run `yaourt -S sublime-text-dev` --- YANG