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

Switched from Ubuntu problems Installing gedit on mac via macports. “Gtk-WARNING **: cannot open display:”
Macport self update fail mountain lion. Earlier it was working fine
How to get the size of the installed package via MacPort?
Why won't mariadb listen on port 3306 after a macports update?
MacPorts is not installing
Edit sources of a port before installing
Osgviewer cow does not view a cow?
Error installing libstdcxx with macports
Instructing Macports to download, but not install, dependencies for a port
homebrew uninstall/move macports UNDO [closed]
installing sets/groups/collections of ports using macports
How to get MacPorts to install something without updating all existing packages
macports on mac os x mountain lion
Mac port errors on OSX Mountain Lion
Macports warning when installing automake: Warning: Deactivate forced. Proceeding despite dependencies
Macports Selfupdate

Categories

HOME
oracle
typelite
applescript
softlayer
subdomain
nsview
slider
openfoam
cdi
u-boot
polymer-2.x
clickable-image
amazon-elb
jodatime
sonata
xsl-fo
http-authentication
significance
opam
node-webkit
activeadmin
android-permissions
bosun
quantitative-finance
tracing
marquee
basex
dotcms
premake
rust-cargo
devtools
polyml
formsauthenticationticket
jade4j
variable-variables
reset
resampling
vb.net-to-c#
ejml
flipkart
robust
google-prediction
latexml
ipp-protocol
gcal
amazon-elastic-beanstalk
mongodb-aggregation
http4s
bigdecimal
s-function
data-management
openseadragon
cdo.message
jtag
dojo-build
flush
cryptojs
in-app-billing
enaml
gql
karma-coverage
componentart
unidata
incron
htmltidy
famo.us
utf8-decode
sql-function
xulrunner
boolean-algebra
proxy-server
particle-swarm
colon
ggts
mousemotionlistener
codahale-metrics
tnt4j
bcdedit
simplecov
delphi-prism
winsxs
upshot
css-friendly
digiflow
git-log
aptitude
eaccelerator
reliability
tabbarcontroller
mysqli-multi-query
accumulator
datagridcolumn
downloadfile

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App