I just wanted to upgrade my older MacPorts version

Ryan Schmidt ryandesign at macports.org
Thu Mar 7 20:26:56 UTC 2024


On Mar 7, 2024, at 06:30, Martin wrote:

> I was running an older MacPorts version on my High Sierra and wanted to upgrade the version just installing the newest one (MacPorts-2.9.1-10.13-HighSierra.pkg) existing for my iMac. I did it and and it was made with getting no errors or warnings. 

That should have successfully updated MacPorts base. 

> However, after this installation I only see that there appeared a new directory called /opt/local/var/, but the existing executables are still the old ones (the ones existing in the old  /opt/local/bin directory. 

/opt/local/var has always been part of MacPorts.

Are you saying that "port version" shows an earlier number than 2.9.1? If so, install the pkg again and note any error messages. 

> And when I try to run “sudo port selfupdate”  I get the following error:
> 
> --->  Updating MacPorts base sources using rsync
> Error: Error synchronizing MacPorts sources: command execution failed
> Please run `port -v selfupdate' for details.
> Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed
> 

There should be more information about why rsync failed. Probably it is a problem specific to your computer (e.g. restrictive antivirus software) or network (e.g. restrictive corporate network). If you can't fix your computer so that it can talk to rsync servers, see the section "Alternatives for syncing the ports tree without rsync:" at https://trac.macports.org/wiki/howto


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20240307/a46065fd/attachment.htm>


More information about the macports-users mailing list