Добрый день. Подскажите где копать.
Система
FreeBSD freebsd.local 9.1-RELEASE /usr/obj/usr/src/sys/GENERIC i386При запуске pkg_add -r возникает ошибки:
root@freebsd:/usr/home/user # pkg_add -rv mc
scheme: [ftp]
user: []
password: []
host: [ftp.freebsd.org]
port: [0]
document: [/pub/FreeBSD/ports/i386/packages-9.1-release/Latest/mc.tbz]
---> ftp.freebsd.org:21
looking up ftp.freebsd.org
connecting to ftp.freebsd.org:21
<<< 220 beastie.tdk.net FTP server (Version 6.00LS) ready.
>>> USER anonymous
<<< 331 Guest login ok, send your email address as password.
>>> PASS user@freebsd.local
<<< 230 Guest login ok, access restrictions apply.
>>> PWD
<<< 257 "/" is current directory.
>>> CWD pub/FreeBSD/ports/i386/packages-9.1-release/Latest
<<< 550 pub/FreeBSD/ports/i386/packages-9.1-release/Latest: No such file or directory.
>>> CWD pub
<<< 250 CWD command successful.
>>> CWD FreeBSD
<<< 250 CWD command successful.
>>> CWD ports
<<< 250 CWD command successful.
>>> CWD i386
<<< 250 CWD command successful.
>>> CWD packages-9.1-release
<<< 550 packages-9.1-release: No such file or directory.
>>> QUIT
<<< 221 Goodbye.
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.1-re...: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.1-re...' by URL
pkg_add: 1 package addition(s) failed
И ведь действительно такой папки на фтп даже нет.
Ну и если напрямую ставить:
root@freebsd:/usr/home/user # pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-re...
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-re...... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-re...... Done.
Все нормально проходит. Только надо на фтп заходить и искать пакет.