From owner-freebsd-questions@FreeBSD.ORG Mon Aug 13 11:17:49 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23E09106566B for ; Mon, 13 Aug 2012 11:17:49 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id D82638FC0A for ; Mon, 13 Aug 2012 11:17:48 +0000 (UTC) Received: from r56.edvax.de (port-92-195-93-72.dynamic.qsc.de [92.195.93.72]) by mx02.qsc.de (Postfix) with ESMTP id 81CE927650; Mon, 13 Aug 2012 13:17:42 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q7DBHfdV001927; Mon, 13 Aug 2012 13:17:41 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 13 Aug 2012 13:17:41 +0200 From: Polytropon To: shiaha.com@gmail.com Message-Id: <20120813131741.ab1c4c5f.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Web webmaster , questions@freebsd.org Subject: Re: problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 11:17:49 -0000 On Sun, 12 Aug 2012 22:55:08 +0330, Web webmaster wrote: > hi > > Direct Admin and enter the desired installation package gives error > > Command:pkg_add -r gmake perl > > > Error: Unable to get > ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.4-release/Latest/gmake.tbz: > File unavailable (e.g., file not found, no access) > pkg_add: unable to fetch ' > ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.4-release/Latest/gmake.tbz' > by URL > Broken pipe You're running a quite old version (7.4/amd64), but that's not a problem. You need to change the root for fetching the packages to a different path, i. e. ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7-stable/Latest/ See "man pkg_add" for details - PACKAGEROOT has to be set to the mentioned path. There are no 7.4-release packages on the FTP server, but the 7-stable packages should work. You could also use ftp to manually fetch the packages and then install them without the -r flag; note that this case does not involve any dependency resolution! ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7-stable/Latest/gmake.tbz ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7-stable/Latest/perl.tbz If possible, you may consider updating your system to a newer version, 8.3 or 9.0 if it fits your requirements. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...