Dear Ryan, thanks a lot for your email. Answering to your questions… 1) You are right. The directory /opt/local/var has always been part of MacPorts. In fact, I had a backup of the older version and, obviously this directory was still there… The only important difference is that now this /var directory contains a new subdirectory (called /macports), and not existing in the older MacPorts version, that contains the following subdirectories: /build /distfiles /home /incoming /logs /registry /sip-workaround /software /sources and a file called pingtimes. Most of those subdirectories contain a lot of directories and files...
2) After typing "sudo port version” I get the following answer: [iMac-de-Martin:~] xmartin% sudo port version Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'. Version: 2.9.1 3) I have no antivirus at all and in order to check if the problem arises from any restrictive corporate network, I have conected the iMac to my handy network. The result is exactly the same I hope this can help you to find out the way to solve the situation . In any case, thanks for your effort. Martin ____________________________________ Dr. Martin Martinez-Ripoll Research Professor Emeritus xmar...@iqfr.csic.es Dept. of Crystallography & Structural Biology www.xtal.iqfr.csic.es Consejo Superior de Investigaciones Científicas Spanish National Research Council www.csic.es > El 7 mar 2024, a las 21:26, Ryan Schmidt <ryandes...@macports.org> escribió: > > 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 >> <https://github.com/macports/macports-base/releases/download/v2.9.1/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 <https://trac.macports.org/wiki/howto> > >