VS-Code Arch Linux not working with dfu-util

Hi,

I’ve successfully installed dfu-util using the command sudo pacman -S dfu-util, however, I haven’t been able to run PlatfromIO: Build within vs-code as I get the error

PackageManager: Installing tool-dfuutil @ 1.9.190708
Error: Could not find a version that satisfies the requirement '1.9.190708' for your system 'linux_x86_64'
The terminal process terminated with exit code: 1

Any clue how to solve this this issue? FYI an odd thing I noticed is that my Arch dfu-util version number is 0.9 but PlatformIO is requiring 1.9.*, which seems weird.

Thanks for any help

PlatformIO will always use the tools from its internal package repository and not the system-installed tools. Otherwise this whole cross-platform and system-independent setup would be useless :sweat_smile:.

Looking at the pacakge repository

There is the tool-dfuutil-linux_x86_64-1.9.190708.tar.gz file though (and also a more updated tool-dfuutil-linux_x86_64-1.9.200310.tar.gz one). Have you made sure to update your PlatformIO core and platforms? (pio platform update and pio upgrade for that). What versions do you have installed? (pio --version and pio platform list)