проблема
MacPorts не может найти никаких портов. Пример:
sudo port install wget
Error: Port wget not found
Похожие вопросы
В этом посте, пытаясь установить coreutils через MacPorts: «Ошибка: coreutils порта не найдены», @ Different55 предложила диагностику sync
и selfupdate
, как и @ mm49307 в этом посте: порт Macports не найден
синхронизировать
sudo port -v sync
Password:
---> Updating the ports tree
Synchronizing local ports tree from
rsync://rsync.macports.org/macports/release/tarballs/ports.tar
rsync: failed to connect to rsync.macports.org: No route to host (65)
rsync error: error in socket IO (code 10) at
/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-
51/rsync/clientserver.c(106) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzvl --delete-after --
include=/ports.tar --include=/ports.tar.rmd160 --exclude=*
rsync://rsync.macports.org/macports/release/tarballs/ /opt/local/var
/macports/sources/rsync.macports.org/macports/release/tarba
lls
Exit code: 10
Error: Synchronization of the local ports tree failed doing rsync
port sync failed: Synchronization of 1 source failed
Selfupdate
sudo port -v selfupdate
Password:
---> Updating MacPorts base sources using rsync
rsync: failed to connect to rsync.macports.org: No route to host (65)
rsync error: error in socket IO (code 10) at
/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-
51/rsync/clientserver.c(106) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzvl --delete-after
rsync://rsync.macports.org/macports/release/tarballs/base.tar
/opt/local/var/macports/sources/rsync.macports.org/macports/
release/tarballs
Exit code: 10
Среда
Версия для MacPorts
port -v
MacPorts 2.4.1
Версия ОС
system_profiler SPSoftwareDataType
Software:
System Software Overview:
System Version: macOS 10.12.5 (16F73)
Kernel Version: Darwin 16.6.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: *****************
User Name: ******* (*******)
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
Time since boot: 7 days 23:42
Прокси-переменные
echo $https_proxy
http://proxyout.***.***:8080
echo $http_proxy
http://proxyout.***.***:8080
Настройки прокси
Вопрос
Как мне заставить MacPorts работать?