When that happened, did the IDE application become completely unresponsive as reported by @Merlin513?:
I can provide you with instructions for a workaround:
- Start Arduino IDE.
- When you see the "Updates are available for some of your libraries" notification, click the "INSTALL MANUALLY" button instead of the "UPDATE ALL" button.
Library Manager will open, with a list of the updatable libraries. - Click the "UPDATE" button on the first of the entries in Library Manager for a library you wish to update.
- Wait for the update to finish, as indicated by the appearance of a "Successfully installed library ..." notification.
- Repeat steps (2)-(3) until you have updated all the libraries you wish to update.
Please let me know whether the problem of the update hanging still occurs when you use that procedure.
I also experience this problem sometimes. Unfortunately it seems to only occur intermittently and under specific conditions, which makes it difficult to investigate. For example, I experience it when I use the IDE with my ridiculous 32 GB collection of 90 different boards platforms installed, but when I switch to a more realistic environment with only a dozen platforms then I can no longer reproduce the fault.
And when I enable the debug logging that would give me some idea of what is happening, I can no longer reproduce the fault.
And when I run the same commands with Arduino CLI directly (which is the tool that actually performs the library updates for Arduino IDE under the hood), I can no longer reproduce the fault.
A very difficult to pin down bug! I have made multiple attempts at investigating it, but previously I didn't take it very seriously because we had never received any reports from users who were affected. However, now we have your report, as well as a couple of others over the last six months (1, 2), so maybe something has changed that makes it more likely to occur?
I find that when I update each of the libraries separately using the procedure I described in my previous reply, instead of all in one go as occurs when you click the "UPDATE ALL" button in the notification, I never encounter the update process hang. So I think that we at least have a reliable workaround for the bug.