pkg_add Not Working

Nathan Kinkade nkinkade at ub.edu.bz
Wed Dec 29 09:09:37 PST 2004


On Wed, Dec 29, 2004 at 10:29:05AM -0600, Adam wrote:
> I'm trying to add packages over my network connection.  I can
> anonymously FTP into ftp.freebsd.org so I know my FTP connection is
> working.  In the manual for pkg_add it said that I may have a problem
> with FTP firewall but I have none set up.  It also said to enter
> something in my environment variable for passive ftp firewall but I
> don't know where it is..
> 
> Does anyone have an idea what is wrong?
> 
> # pkg_add -r mysql-server-4.1.7
> Error: FTP Unable to get
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/mysql-server-4.1.7.tbz:
> File unavailable (e.g., file not found, no access) pkg_add: unable to
> fetch
> 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/mysql-server-4.1.7.tbz'
> by URL

The error you are getting means just what it says: "File unavailable".
Meaning, it doesn't exist on that server in that location.  FTP is
working fine.  You can verify this by logging into ftp.freebsd.org
manually and checking for that file at path specified.  Try fetching the
package manually from:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/All/mysql-server-4.1.7.tbz

The environment variable you are talking about regarding passive FTP is:

FTP_PASSIVE_MODE

I believe that is set to "YES" by default.

Nathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041229/52c1bddf/attachment.bin


More information about the freebsd-questions mailing list