DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2nd January 2011
claytonl claytonl is offline
Port Guard
 
Join Date: Jan 2011
Posts: 12
Default FETCH_CMD="ftp -A $1" fails. Why?

I wasn't able to fetch files for ports without -A on ftp. I'm not too sure why FETCH_CMD="ftp -A $1" doesn't work, but the exact same command (ftp -A $1) in a script that FETCH_CMD is led to works. Any ideas?
Reply With Quote
  #2   (View Single Post)  
Old 2nd January 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

You are forced to use active mode either due to your choice of server or your particular network infrastructure.

Your command fails because it does not fit the shell command used by pkg_add. See the second sentence for the environment variable in the man page.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to replace "ectags" with "ctags"? fender0107401 OpenBSD Packages and Ports 5 16th April 2013 10:01 AM
Firefox 3.5.5 FAILS with pf v4.6 and "flags S/FSRA" s2scott OpenBSD Security 0 16th November 2009 10:03 PM
Fixed "xinit" after _7 _8, "how" here in case anyones' "X" breaks... using "nvidia" jb_daefo Guides 0 5th October 2009 09:31 PM
"Thanks" and "Edit Tags". diw Feedback and Suggestions 2 29th March 2009 12:06 AM
Scripted sysinstall fails with "Command 'system' failed" PeterSteele FreeBSD Installation and Upgrading 0 13th November 2008 11:31 PM


All times are GMT. The time now is 09:47 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick