On 2020-11-17 20:23, Ryan Schmidt wrote:
On Nov 17, 2020, at 20:04, Jim DeLaHunt wrote:
Hi, folks:
In doing my daily `sudo port selfupdate` on 16 November UTC, I encountered a
warning which is new to me:
"Warning: No port […portname…] found in index"
In redoing `sudo port selfupdate`, this warning did not reoccur.
What is the significance of this warning? What, if anything, should I do about
it?
…[elided]…
MacPorts uses a file on your computer called PortIndex to know what ports exist. When you run
"port info" or "sudo port install" or any other command that refers to a port,
MacPorts looks the port up in the index.
When you sync or selfupdate, you receive updated Portfiles from our server, and
you receive a PortIndex that we generated on our server for your OS version.
Yesterday we had server problems that caused some of the PortIndex files we
generated to be empty or incomplete, which would cause the warnings you
experienced. The consequence is that you would not be able to install or
upgrade those ports at that time. It has no effect on ports you have already
installed.
We solved the server problem later in the day, so if you synced or selfupdated
after we fixed it, that would have given you a correct PortIndex again.
See https://trac.macports.org/ticket/61507
Thank you for the explanation, Ryan. Thank you also for all the work you
do to keep MacPorts running.
Now, the error message and the explanation are in the list archives. If
the problem happens again, maybe people will find this thread, and be
informed.
Best regards,
—Jim DeLaHunt