<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Sorry again. In fact, the the problem seems to be the restrictive corporate network. I was able to run what is said in:<div class=""><a href="https://trac.macports.org/wiki/howto/SyncingWithGit" class="">https://trac.macports.org/wiki/howto/SyncingWithGit</a></div><div class=""><br class=""></div><div class="">The “sudo port upgrade outdated” is running, but the question know is, how can I run in the future the equivalent to the older “sudo port selfupdate”?</div><div class=""><br class=""></div><div class="">Thanks again,</div><div class="">Martin<br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">____________________________________</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Dr. Martin Martinez-Ripoll<br class="">Research Professor Emeritus<br class=""><a href="mailto:xmartin@iqfr.csic.es" class="">xmartin@iqfr.csic.es</a><br class="">Dept. of Crystallography & Structural Biology<br class="">www.xtal.iqfr.csic.es<br class="">Consejo Superior de Investigaciones Científicas<br class="">Spanish National Research Council<br class="">www.csic.es</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline"></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">El 8 mar 2024, a las 10:18, <a href="mailto:xmartin@iqf.csic.es" class="">xmartin@iqf.csic.es</a> escribió:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Dear Ryan, thanks a lot for your email. Answering to your questions…<div class=""><br class=""></div><div class="">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:</div><div class="">/build   /distfiles  /home /incoming  /logs  /registry  /sip-workaround   /software  /sources  </div><div class="">and a file called pingtimes.  Most of those subdirectories contain a lot of directories and files... </div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">2) After typing "sudo port version” I get the following answer:</div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[iMac-de-Martin:~] xmartin% sudo port version</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Version: 2.9.1</span></div></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 12px;" class="">3) I have no antivirus at all and in order to </span>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 </div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 12px;" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">I hope this can help you to find out the way to solve the situation . In any case, thanks for your effort.</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Martin</span></div><div class=""><div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">____________________________________</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Dr. Martin Martinez-Ripoll<br class="">Research Professor Emeritus<br class=""><a href="mailto:xmartin@iqfr.csic.es" class="">xmartin@iqfr.csic.es</a><br class="">Dept. of Crystallography & Structural Biology<br class=""><a href="http://www.xtal.iqfr.csic.es" class="">www.xtal.iqfr.csic.es</a><br class="">Consejo Superior de Investigaciones Científicas<br class="">Spanish National Research Council<br class="">www.csic.es</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline"></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<div class=""><br class=""><blockquote type="cite" class=""><div class="">El 7 mar 2024, a las 21:26, Ryan Schmidt <<a href="mailto:ryandesign@macports.org" class="">ryandesign@macports.org</a>> escribió:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class=""><div dir="ltr" class=""></div><div dir="ltr" class="">On Mar 7, 2024, at 06:30, Martin wrote:</div><div dir="ltr" class=""><br class=""></div><blockquote type="cite" class=""><div dir="ltr" class=""><div class="">I was running an older MacPorts version on my High Sierra and wanted to upgrade the version just installing the newest one (<a class="link" href="https://github.com/macports/macports-base/releases/download/v2.9.1/MacPorts-2.9.1-10.13-HighSierra.pkg" target="_top">MacPorts-2.9.1-10.13-HighSierra.pkg</a>) existing for my iMac. I did it and and it was made with getting no errors or warnings. </div></div></blockquote><div class=""><br class=""></div><div class="">That should have successfully updated MacPorts base. </div><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class="">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. </div></div></blockquote><div class=""><br class=""></div><div class="">/opt/local/var has always been part of MacPorts.</div><div class=""><br class=""></div><div class="">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. </div><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class="">And when I try to run “sudo port selfupdate”  I get the following error:</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">--->  Updating MacPorts base sources using rsync</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">Error: Error synchronizing MacPorts sources: command execution failed</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">Please run `port -v selfupdate' for details.</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed</span></div></div><div class=""><br class=""></div>
</div></blockquote><div class=""><br class=""></div>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 <a href="https://trac.macports.org/wiki/howto" class="">https://trac.macports.org/wiki/howto</a><div class=""><br class=""></div><div class=""><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>