Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 2004 11:09:16 -0600
From:      Nathan Kinkade <nkinkade@ub.edu.bz>
To:        Adam <adam@jamradar.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: pkg_add Not Working
Message-ID:  <20041229170916.GI3644@gentoo-npk.bmp.ub>
In-Reply-To: <002001c4edc3$89652790$1bb099a6@PANASONIULSWMR>
References:  <002001c4edc3$89652790$1bb099a6@PANASONIULSWMR>

next in thread | previous in thread | raw e-mail | index | archive | help

--o7gdRJTuwFmWapyH
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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..
>=20
> Does anyone have an idea what is wrong?
>=20
> # 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-se=
rver-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

--o7gdRJTuwFmWapyH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFB0uS8O0ZIEthSfkkRAkz1AKDWVzH1heeHaEC8kGaMu6AXpephggCgwSx4
B7M8LJJbmyyqw+SRuvsNCJg=
=anKb
-----END PGP SIGNATURE-----

--o7gdRJTuwFmWapyH--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041229170916.GI3644>