Sorry to answer so late, but I don't receive any notification, if anyone answers to my posts!
For example it occures with the library "SD". The original version is installed in "/opt/arduino-1.8.x/...", while the updates are in "${HOME}/arduino/libraries".
The behavior disappeared after removing the library files in the directory "/opt/arduino-1.8.x/...".