<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=""><div><blockquote type="cite" class=""><div class="">On Jun 2, 2022, at 10:19 PM, Ryan Schmidt <<a href="mailto:ryandesign@macports.org" class="">ryandesign@macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On Jun 2, 2022, at 20:44, Craig Treleaven wrote:<br class=""><br class=""><blockquote type="cite" class="">I’m a port maintainer…but I’m having a user problem. For some weeks now, ‘sudo port selfupdate’ has not been properly updating my local ports tree(s) on my main Mac. About 2 weeks ago, I was going to post a question about this but then I ran ‘sudo port -d selfupdate’ and it seemed that all the missed updates were now caught up. I put it down to gremlins in the ether but then I noticed recently that I had no outdated ports when I knew that there should be several. I tried ’sudo port -d sync’ with the same result, ie no updates.<br class=""><br class="">Obviously, ’sudo port selfupdate’ has worked flawlessly for me for quite a few years. TTBOMK, I haven’t changed anything relevant on my side. I’m overdue to update my OS version (I’m on 10.15.7). <br class=""><br class="">I’ve pasted the debug log from ’sudo port -d sync’ in case that shows something useful:<br class=""><br class=""><a href="https://paste.macports.org/69b104de0e93" class="">https://paste.macports.org/69b104de0e93</a><br class=""><br class="">BTW, I have another older Mac that also has MacPorts installed. ’sudo port selfupdate’ continues to work as expected on that machine.<br class=""><br class="">Suggestions on what’s wrong and how to fix it?<br class=""></blockquote><br class="">From that log, looks like you have two sources configured: the standard rsync one, which looks like it updated ok, and one you created at <a href="file:///Users/craigtreleaven/mp/macports-ports" class="">file:///Users/craigtreleaven/mp/macports-ports</a>, which looks like it contains a full collection of ports and did not get updated on that sync.<br class=""><br class="">Presumably <a href="file:///Users/craigtreleaven/mp/macports-ports" class="">file:///Users/craigtreleaven/mp/macports-ports</a> is the one marked as default in sources.conf so any ports present there (which is presumably all of them) override those in the rsync tarball, which is why nothing is shown as outdated. So there's no reason for your sources.conf to continue to list the rsync tarball since those ports won't be used. You can delete the things related to ports in /opt/local/var/macports/sources too. (The ones related to base can stay, or will be recreated when you selfupdate.)<br class=""><br class="">What is <a href="file:///Users/craigtreleaven/mp/macports-ports?" class="">file:///Users/craigtreleaven/mp/macports-ports?</a> Is it a git clone of the macports-ports repository? Ours or your fork? What happens if you try to update it with git manually? Is there an error? Or is perhaps a branch other than master checked out?<br class=""><br class=""></div></div></blockquote></div><br class=""><div class="">Hi Ryan:</div><div class=""><br class=""></div><div class="">I seem to have it fixed. I guessed that PortIndex (in <span style="font-family: Monaco; font-size: 10px;" class="">/Users/craigtreleaven/mp/macports-ports</span>) might be damaged so I moved it aside temporarily and ran ’sudo port -d sync’. After it chugged away, it reported a whole bunch of ports were outdated. </div><div class=""><br class=""></div><div class="">In the past, I’ve had to blow away my git clone (not fork) from time to time when I messed up something. That’s the reason I’ve kept both the standard MacPorts-installed tree and the git clone. Is there any harm in having both?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class="">Craig</div></body></html>