Libraries are updating even when selecting later

Using IDE 2.0.4 and suffering from libraries being updated even when selecting later. There are one or two libraries that I do not want updated as the updates break existing and tested code. It happens so frequently that it is getting really frustrating. There needs to be a check box to specifically not update certain board or library files.
Or at least stop auto-updating when it is not requested.

I feel your pain, I have been there myself with earlier versions of the IDE. My solution was to put the library files in the same folder as the sketch and change the <> to "" around the include files. Sometimes I have to also change that in some of the libraries. Nice thing as the libraries change my code still compiles. I have not tried version 2 as of yet and I am in no hurry to do so.

Hi @lounginghound

Arduino IDE does automatically offer updates to libraries, but it only updates libraries if the user requests it to perform the update.

There was a bug in some of the pre-release versions of Arduino IDE 2.0.0 while it was still in the beta testing phase that caused it to perform unrequested updates specifically of the "built-in" libraries on the first run of a fresh installation under certain conditions. That bug was fixed about a year ago though, before the stable 2.0.0 release was made so this would not affect users of the release versions such as 2.0.4.

It is possible that you are observing some behavior of the IDE that you are interpreting as being caused by an unrequested update, but is really caused by something else. I might be able to explain it if you provide a detailed description of what you are observing.

It is also possible that you did request an update but forgot you did that.

Unless you have a specific reason for using 2.0.4, I recommend you update to the latest version. The reason is that, in addition to many other improvements and fixes, there was a significant reworking of the Library Manager user interface in the 2.1.0 release. You might find that managing your installed libraries is more pleasant with the new UI design.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.