1 (edited by john.blue 2013-10-07 03:13:57)

Topic: FreeBSD "pkg_add -r bash_static" fails

# pkg_add -r bash_static
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports … tatic.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports … static.tbz' by URL

It appears that "bash_static" is no longer a valid package:

# ftp
ftp> open
(to) ftp.freebsd.org
Trying 193.162.146.4:21 ...
Connected to ftp.freebsd.org.
220 beastie.tdk.net FTP server (Version 6.00LS) ready.
Name (ftp.freebsd.org:john.blue): anonymous
331 Guest login ok, send your email address as password.
Password:
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd pub/FreeBSD/ports/amd64/packages-9.2-release/All
250 CWD command successful.
ftp> ls bash*
229 Entering Extended Passive Mode (|||56685|)
150 Opening ASCII mode data connection for '/bin/ls'.
-rw-r--r--  1 1006  1006  1128182 Aug 12 10:31 bash-4.2.45.tbz
-rw-r--r--  1 1006  1006   136320 Aug 13 03:21 bash-completion-2.1,1.tbz
-rw-r--r--  1 1006  1006  1147190 Aug 13 03:24 bash-devel-4.2.45_1.tbz
-rw-r--r--  1 1006  1006  1508412 Aug 13 03:24 bash-static-4.2.45.tbz
-rw-r--r--  1 1006  1006  1515468 Aug 13 03:33 bash-static-devel-4.2.45_1.tbz
-rw-r--r--  1 1006  1006    48195 Aug 13 03:22 bashburn-2.1.2_3.tbz
-rw-r--r--  1 1006  1006   371057 Jul 10 04:11 bashc-3.2.33.0.tbz
226 Transfer complete.
ftp> exit
221 Goodbye.

If this is the case, what is recommend to be used instead?  Additionally, (as an fyi type of question) what makes the static package different or preferred as opposed to the regular bash package?

Thanks!

2

Re: FreeBSD "pkg_add -r bash_static" fails

Try 'bash-static' instead.

3 (edited by john.blue 2013-10-10 03:50:56)

Re: FreeBSD "pkg_add -r bash_static" fails

ZhangHuangbin wrote:

Try 'bash-static' instead.

Yup, that make a difference.  In my notes I wrote an underscore.  *sigh*

Thanks!