I solved that problem by removing the AceButton folder from the libraries folder and restarting the app.
However, every time I start the app (win 11) it seems the software is reinstalling all the files shown in the preferences's URLs manager, mainly: Package_esp32_index.json.
Also, I get the "Updates are available..." message always for the same libraries and when I choose "Install all" I get this:
Failed to update TFT_eSPI. Error: Request install failed with message: 13 INTERNAL: Library install failed: moving extracted archive to destination dir: rename C:\SharedFiles\Arduino\My Projects\libraries\package-2260268436\TFT_eSPI-2.4.72 c:\SharedFiles\Arduino\My Projects\libraries\TFT_eSPI: Access is denied
That is correct. These index files must be downloaded periodically so that the IDE can check for new versions of the boards platforms and libraries you have installed. However, the behavior can be refined by finding the right balance between downloading the files more often than necessary vs being slow to notify users of the availability of important updates.
Work is in progress now to reduce the frequency of these downloads:
If you would like to give it a try, tester builds are available. Details on that are available here:
This type of "Access is denied" error is most often caused by an "on access"/"real time" scan by your antivirus software interfering with the installation process. You can do a quick test to see if that is the case by TEMPORARILY disabling your antivirus for a single update attempt to see if the problem goes away, then turn the antivirus back on.
If the problem doesn't occur with the antivirus off you will need to adjust the settings of your antivirus to put the appropriate file, folder, or process on the "allow list" so it doesn't interfere with updates.
Please be cautious about working without an antivirus. This is only about temporarily disabling it for a quick test. If you don't feel comfortable doing that, fine. You can try going straight to configuring the antivirus to not interfere with the Arduino software.
The problem is being tracked by the Arduino IDE developers here:
(that report happened to be about the a boards platform installation failing with this error, but the the subject matter is similar regardless of whether it is a library or a platform being installed/updated)
It's a folder on my laptop's SSD where all my projects and data is stored. The whole folder is then copied to a Diskstation server using Synology Drive Client app. So, the folder is local.
Done.
On step 7 the msg "Updates are available for some of your libraries" didn't come up. Even closing/opening the IDE few times.
So, I removed the libraries folder and restarted the IDE, curiously enough, the above msg didn't come up either.
Restored the original path in preferences and the msg still didn't came back.
I guess some hung up during the installation process and fixed itself? Who knows...
I'm glad it is working now. Even if it is not so satisfying as finding the real cause of the problem, I guess we can be happy the problem has gone away.
Please let us know if you experience any more problems.