O MacPorts não consegue encontrar portas. Exemplo:
sudo port install wget
Error: Port wget not found
Neste post, tentando instalar coreutils via MacPorts: “Error: Port coreutils não encontrados” , @ Different55 sugeriu o diagnóstico de sync
e selfupdate
, assim como @ mm49307 neste post: Porta do Macport não encontrada
sincronização
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
autoatualização
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
Versão MacPorts
port -v
MacPorts 2.4.1
Versão do SO
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
Variáveis proxy
echo $https_proxy
http://proxyout.***.***:8080
echo $http_proxy
http://proxyout.***.***:8080
Configurações de proxy
Como faço para que o MacPorts funcione?