arduino-cli icon indicating copy to clipboard operation
arduino-cli copied to clipboard

Automatic library install can't be performed in this case

Open VladimirVecera opened this issue 2 years ago • 1 comments
trafficstars

Describe the problem

Unable to update libraries. There is no duplication in the /libraries/ folder.

Failed to install library: TinyGSM:0.11.7.
Error: 3 INVALID_ARGUMENT: The library TinyGSM has multiple installations:
- Z:\Arduino\libraries\TinyGSM
- Z:\Arduino\libraries\TinyGSM
- Z:\Arduino\libraries\TinyGSM
Automatic library install can't be performed in this case, please manually remove all duplicates and retry.
Failed to install library: Servo:1.2.1.
Error: 3 INVALID_ARGUMENT: The library Servo has multiple installations:
- Z:\Arduino\libraries\Servo
- Z:\Arduino\libraries\Servo
- Z:\Arduino\libraries\Servo
Automatic library install can't be performed in this case, please manually remove all duplicates and retry.
Failed to install library: RadioLib:6.1.0.
Error: 3 INVALID_ARGUMENT: The library RadioLib has multiple installations:
- Z:\Arduino\libraries\RadioLib
- Z:\Arduino\libraries\RadioLib
- Z:\Arduino\libraries\RadioLib
Automatic library install can't be performed in this case, please manually remove all duplicates and retry.

To reproduce

I don't know what to say about that :/

Expected behavior

I want to update and can't.

Arduino IDE version

2.1.1

Operating system

Windows

Operating system version

10

Additional context

Additional reports

  • https://forum.arduino.cc/t/ide-2-1-falsely-reports-duplicate-libraries-when-auto-updating-libs/1131901

Issue checklist

  • [X] I searched for previous reports in the issue tracker
  • [X] I verified the problem still occurs when using the latest nightly build
  • [X] My report contains all necessary details

VladimirVecera avatar Jul 01 '23 10:07 VladimirVecera

Hi @VladimirVecera. Is there anything special about your Z:\ drive (e.g., a network drive, a RAM drive) or about any of the folders of the path of these three libraries (e.g., a symlink/symbolic link, a junction point, a soft link, a hard link)?

per1234 avatar Jul 02 '23 04:07 per1234