by capchap » Wed Aug 13, 2014 9:11 pm
what is the intention behind pacman -g --asroot >> PKGBUILD
not knowing what it would do to existing PKGBUUILD file (knowing that >> means redirect with append
i tried pacman -g --asroot >> trialrun
the command produced the following error
$this->bbcode_second_pass_quote('', '[')root@Jalepeno php]# pacman -g --asroot >> trialrun
pacman: unrecognized option '--asroot'
I checked pacman --help as well as man pacman and there isnt any --asroot options
I presume --asroot means just what it says, run the command as root. but if i'm logged in as root, then the command is unnecessary?
running the command with --asroot removed produces invalid option.
Possibly because man pacman says -g is associated with -S or -U (-R shouldn't apply as it is for 'remove')
I also tried
pacman -Sg >> trialrun
pacman -S -g >> trialrun
both produced the same error "Invalid option"
I've read man pages on pacman and need to know a little more about what the command is trying to do in order to figure out what the syntax might be.