On 2009-7-10 11:42, Ryan Schmidt wrote: > > On Jul 9, 2009, at 18:05, Frank Schima wrote: > >> On Jul 9, 2009, at 4:58 PM, Phil M. wrote: >> >>> Phil-Meaghers-Computer:~ Phil$ sudo port selfupdate >>> Password: >>> DarwinPorts base version 1.400 installed >>> Error: /opt/local/bin/port: selfupdate failed: couldn't open >>> "/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate1/base/config/dp_version": >>> no such file or directory >>> >>> Any other ideas? >> >> That's a really old version. Since you had no ports installed, it's >> best to remove your version [1] and reinstall the latest version [2]. >> >> >> [1] <http://trac.macports.org/wiki/FAQ#HowdoIremoveoruninstallMacPorts> >> [2] <http://www.macports.org/install.php> > > > For a MacPorts installation this old, it may be easiest to delete it and > start over, like Frank showed. You can use "port installed" to get a > list of what's currently installed, and use that to reinstall your ports > after you remove and reinstall MacPorts. If that's not too inconvenient > for you, it has the greatest chance of quick success. > > However, the current version of MacPorts, 1.7.1, should be able to > upgrade any older version. I'm not sure why it can't in your case, Phil. > If you'd like to pursue why, it says you don't have the file > /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate1/base/config/dp_version. > Do you? If not, how much of that path do you have?
The old version's selfupdate code is failing because there isn't a dp_version file in 1.7.1 (see #17420). I'll add one back to trunk so that a more useful error message will be produced in this situation. - Josh _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
