Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2012 13:17:41 +0200
From:      Polytropon <freebsd@edvax.de>
To:        shiaha.com@gmail.com
Cc:        Web webmaster <web.webmaster20@gmail.com>, questions@freebsd.org
Subject:   Re: problem
Message-ID:  <20120813131741.ab1c4c5f.freebsd@edvax.de>
In-Reply-To: <CAHuiZ2HCm6TJUsFE5o9Ba1N6=pU3buxZo-0%2ByHzSHuAKy5P7mA@mail.gmail.com>
References:  <CAHuiZ2HCm6TJUsFE5o9Ba1N6=pU3buxZo-0%2ByHzSHuAKy5P7mA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



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