something's not right

Ryan Schmidt ryandesign at macports.org
Mon Nov 24 06:30:47 PST 2014


On Nov 24, 2014, at 8:23 AM, Dan Johnson wrote:

> See this:
> 
> 	http://rdj999.blogspot.com/2014/11/eek-macports-is-down.html
> 
> I found that after making a mirror the default, 'port -d selfupdate' restored 'rsync.macports.org' as the default, so I had to re-edit 'sources.conf' to undo that "helpful fix" before I could continue.
> 
> That's probably a MacPorts bug. Someone should report it. ;)

It is unexpected that you listed both rsync.macports.org and sea.us.rsync.macports.org in your sources.conf since they both (should) provide the same thing. You should only list one of them. You can leave the other, commented out, if you like.

Still, the file responsible for changing the sources.conf is src/upgrade_sources_conf_default.tcl.in. It begins with the following comment block:


#!@TCLSH@
#
# $Id: upgrade_sources_conf_default.tcl.in 119629 2014-05-02 20:09:11Z cal at macports.org $
#
# Upgrade sources.conf for a given prefix (passed as the first and only
# argument).
#
# For an rsync: repository, if it is the standard MacPorts one and not
# already tagged, then make it default, if another wasn't already default.
# For a file:// respository, if it is an svn checkout from the MacPorts
# server, then make it default if another hasn't already been tagged.
#


So, clearly, the intention was that if you already specified a default, which you did, then it should not change anything else to be the default. So the fact that it did change something else to be default does sound like a bug.



More information about the macports-users mailing list