From owner-freebsd-questions@FreeBSD.ORG Wed Dec 29 16:57:44 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C747E16A4CE for ; Wed, 29 Dec 2004 16:57:44 +0000 (GMT) Received: from smtpauth08.mail.atl.earthlink.net (smtpauth08.mail.atl.earthlink.net [209.86.89.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 918FD43D1D for ; Wed, 29 Dec 2004 16:57:44 +0000 (GMT) (envelope-from algould@datawok.com) Received: from [206.255.31.21] (helo=yoda.datawok.com) by smtpauth08.mail.atl.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 4.34) id 1Cjh8q-0003cX-0l; Wed, 29 Dec 2004 11:57:44 -0500 From: "Andrew L. Gould" To: freebsd-questions@freebsd.org Date: Wed, 29 Dec 2004 10:58:48 -0600 User-Agent: KMail/1.6.2 References: <002001c4edc3$89652790$1bb099a6@PANASONIULSWMR> In-Reply-To: <002001c4edc3$89652790$1bb099a6@PANASONIULSWMR> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200412291058.48430.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69563f9fea00a6dd62bcd87b3faf15507648d719188ce5951f7d350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 206.255.31.21 cc: Adam Subject: Re: pkg_add Not Working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 16:57:44 -0000 On Wednesday 29 December 2004 10:29 am, 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/Lat >est/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/La >test/mysql-server-4.1.7.tbz' by URL Reading the error message, we discover that the file mysql-server-4.1.7.tbz cannot be found at the url ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest. If you visit that site on your internet browser, you'll find the following packages for mysql server 4.1*: mysql41-server.tbz Therefore, the command would be: pkg_add -r mysql41-server In fact, if you look in /usr/ports/databases, you'll find that the port is called mysql41-server. If you want the more recent packages (with version numbers in the names), review the packages at: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/All/ It's here that you'll find mysql-server-4.1.7.tbz To get this package, use the following command (beware of wordwrap): pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/All/mysql-server-4.1.7.tbz Note that the -r option is not used when a specific location and package file are given. Best of luck, Andrew Gould