Closed ghost closed 10 years ago
Did you not notice the actual error message?
==> ERROR: Running makepkg as root is a BAD idea and can cause permanent, catastrophic damage to your system. If you wish to run as root, please use the --asroot option.
You're invoking aurget
with sudo
, which means you're running it (and therefore makepkg
) as root. Don't do that.
I would also recommend you spend some time with the AUR/ABS wiki pages and build some things manually before using a helper.
Perhaps I am doing something wrong, but I am unable to use aurget to install anything from AUR. I always get this error: failed to build, skipping. I have configured aurget as best as I could which included which includes having the base-devel properly installed, creating a local builds directory, editing aurgetrc to include the system packages directory for packages to be stored and worked on, but something doesn't seem right. aurget always asks me to manually edit the PKGBUILD before installing and since everything usually appears fine I save it as-is and then it fails to install. I have a mid 2012 13" Macbook Pro model 9,2 dual-booting OS X Mavericks and Arch Linux. I only recently installed Arch and everything is fully up to date.
Here is my input and the output for trying to install mbpfan-git. [brittany@arch ~]$ sudo aurget -Sy mbpfan-git [sudo] password for brittany: :: Searching AUR...
Targets (1): mbpfan-git-v1.7.1-1
Proceed with installation? [Y/n] y :: Retrieving taurball from AUR... :: Building package... Edit mbpfan-git's PKGBUILD before building? [Y/n] n /etc/makepkg.conf: line 108: /home/brittany/packages: Is a directory ==> ERROR: Running makepkg as root is a BAD idea and can cause permanent, catastrophic damage to your system. If you wish to run as root, please use the --asroot option. warning: package mbpfan-git failed to build, skipping [brittany@arch ~]$
Apparently now the setup for aurget is incorrect as it shows the makepkg.conf error for line 108.
I can't seem to figure out how to install AUR packages manually either so this is very frustrating. My MBP fan isn't working properly even with applesmc module activated. My MBP gets hot and has on occasion became hot enough to easily have shut down on it's own. I need this package among othe AUR packages but I just can't seem to get this working.