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, ... _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"