I had an IDE update from 2.3.3 to 2.3.4 and at the same time libraries wanted an update. I agreed to the IDE update, IDE restarted and then 2 libraries update processes came at the same time and wanted to start. ??? Of course they interfered with each other. Waiting did not help. I closed the IDE and then the libraries were installed. I experience this very often that suddenly a window opens twice at the same time for an update of the libraries. You can't seem to get a handle on it.
Thanks for your report. I am not sure I understand correctly what you mean by this. The next time it happens, please take a screenshot of the two windows and post it in a reply here. That will help me to understand how to proceed with the investigation.
I think you understood me correctly. I will remember that if it happens again.
Currently, however, I have to realize that v2.3.3 starts again after restarting the IDE. Although the installation of v2.3.4 was successful and was also in the menu. Is it possible that a Portable IDE 2.x cannot be updated?
The 2.3.4 update installs its own IDE 2.3.4. It does not update the Portable 2.3.3 from which the update was started. Do I have to update the Portable .zip manually?
The updater installs the IDE to a specific location, which would replace the previous installation of Arduino IDE if you had used the installer package. But if you use the ZIP package then the IDE can be in any arbitrary location and it will not be replaced, so you end up with the updated version in the default installer location (C:\Users\<username>\AppData\Local\Programs\Arduino IDE), as well as the previous version at whatever location you extracted the ZIP file.
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.
I can provide you with instructions for a workaround:
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.
I find that when I update each of the libraries separately like this, 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.