macports


Macport self update failed


ginnyweasley:~ s66$ sudo port selfupdate
Password:
---> Updating MacPorts base sources using rsync
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed
I have tried to redownload macports and it still does not seem to work. I have also tried it without sudo and it still does not work. Does anyone have a solution to this problem? thanks.
I had that problem too. Even, like you, I re-downloaded the distribution and reinstalled.
That is until I read the manpage and tried the '-d' flag so
sudo port -d selfupdate
I tried it and surprisingly didn't find a command failing but successful completion. I didn't see any ports updated, but perhaps the error we saw were occurred after the ports tree was updated.
If it doesn't work, try it anyway, it'll at least point you in the right direction.
I had the same problem after upgrading to Yosemite, but since I found this post, I did not reinstall macports - I ran "sudo port -d selfupdate", had errors with c compiler failing, so I updated Xcode, ran "sudo port clean expat" after restarting, then ran "sudo port -d selfupdate" and all was well - thx you!

Related Links

How do I make libgc work in Mac OS X?
500 OOPS: vsftpd: not configured for standalone, must be started from inetd
Mac Ports Update Failing
Macports ncurses error when trying to upgrade [closed]
macports: list out my own ports
why does macports “--set ipython ipython32” fail?
Prevent MacPorts from installing pre-built package?
Wine is extremely slow, how do I find out why?
Problems with macports
Where can I view tools or packages availble in Homebrew
See what has been installed via MacPorts
Installing a php extension with Macports
Lost ability to run as sudo following MacPorts upgrade
Error: Failed to install atk with mac ports
How to replace MacPort's libiconv with Mac's default 64-bit version?
Cannot install YUM in MacOS

Categories

HOME
macos-sierra
plesk
matrix
writefile
website
dji-sdk
azure-mobile-services
impala
mithril.js
tweepy
kurento
roku
match
rangy
buffer
sonata
fresco
nest-api
asciimath
gravity
ini
unrar
background-color
marquee
amazon-cloudtrail
ninject
mdns
guice
objectmapper
netbios
publishing
knights-tour
sca
om-next
devtools
gnu-classpath
landscape
redgate
jade4j
spring-restcontroller
grails-spring-security
jqgrid-asp.net
oracle-bmcs
react-intl
dredd
qvtkwidget
md5-file
lightning-workbench
portability
connect-direct
tablespace
livereload
livecycle
p6spy
always-on-top
android-4.2-jelly-bean
piping
fiber
android-syncadapter
accessibilityservice
currency-exchange-rates
cortana
ajax4jsf
deeplink
in-app-billing
largenumber
kotlin-android-extensions
jolie
famo.us
flurry-analytics
smacss
maven-central
distributed-r
forio-contour
forceclose
cpu-time
lsa
django-settings
revmob
ember-table
indesign-server
notin
html-frames
contextswitchdeadlock
gprof
jquery-dialog
viewpagerindicator
struts2-s2hibernate
netstream
dynamic-c
glassfish-esb
office-automation
fork-join
regression-testing
outlook-2007-addin
ppc
projectpier
processors
tso
isapi-redirect

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App