pkg_add doesn't work in gnome default terminal

FreeBSD 8.1, Gnome 2.3.x, latest Xorg port, fresh portsnap and portmaster updates.

I'm kind of a newbie, but I'm pretty resourceful. I've gotten this far. My user is added to both wheel and operators. Gnome starts, I can log in. I can even go into the ports tree and do a [cmd=]make install clean[/cmd] on anything and things install well. But when I try doing any [cmd=]sudo pkg_add -r <whatever>[/cmd] it stalls, no error, it just stars blinking at me. I do a control-c and try it again and it does the same thing.

pkg_add works fine when I don't boot into X.

Anyone have any clues?

Thank you! And hello, name's Michael. :p
 
Check if you are keeping needed environment variables in your sudoers (it should contain examples of such variables, by default).
 
sodoers

Edited the file to enable "pkg_*" to be used. Still no go. I can even try it as "su" and get the same result. I'm stumped. Everything else seems to work fine in terminal, just not pkg_add.

Thanks for the tip, though; I needed a few tweaks to sudors without knowing it.
 
Ok, just figured it out. Turns out to be simple.

Code:
export FTP_PASSIVE_MODE=yes

Problem solved. Thanks all!
 
Back
Top