Platform details:
OS: Raspberry OS 10 / Buster (32-bit)
User: Default "pi"
Arduino IDE: 1.8.15, downloaded (not installed via apt or snap)
Primary symptom: Trying to load a sketch to known working Nano Connect results in error "An error occured while uploading the sketch"
Additional symptoms: Nano Connect serial port disappears, removable storage popup comes up
Fix: run $ sudo /home/pi/.arduino15/packages/arduino/hardware/mbed_rp2040/2.4.1/post_install.sh
Thanks to YouTuber "an Erik"