IDE Keeps wanting to update the same library, but says it's already installed/up to date

IDE Version: 2.0.2
Date: 2022-11-17T11:52:32.665Z
CLI Version: 0.29.0 [76251df9]
Linux version FYI

for the last week IDE updater wants to update MFRC522@1.4.10 however, it states "Already installed MFRC522@1.4.10. Is there a reason for this behavior, something i'm missing, author error or version issue?

Do you have somewhere a duplicate of the library?

If you enable verbose output during compilation under file -> preferences in the IDE, you will find some lines containing the word candidates and lines telling you which library the IDE used.

That should reveal duplicate libraries.

1 Like

I had the same issue a while ago.

I few days ago I posted what I did to fix it, on another thread:
Updating libs issue - Software / Arduino IDE 2.0 - Arduino Forum

But it had to do with searching through all of the libraries in your:
/libraries folder for any other libraries that have the same name property within their library.properties file. I used global search in sublime-text editor, but have also used grep

Some of them may be obvious, like same name, but with something at the end like -master or the like. Others may be more subtle like directory names like arduino_12345 (or some other number), where Arduino 1.x may have tried to install a library, had a failure and left that directory...

1 Like

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