February 3, 2024, 02:11
Installing VSCODE Reading package lists... Done Building dependency tree... Done Reading state information... Done No apt package "code", but there is a snap with that name. Try "snap install code" E: Unable to locate package code gaedel@gaedel-VirtualBox:~$ snap install code snap "code" is already installed, see 'snap help refresh'
snap install code, you can see in the second-to-last line. But the last line says
snap "code" is already installed, see 'snap help refresh'. So then when I ran the pico_setup.sh file again, you can see in the message it said
No apt package "code", but there is a snap with that name.Since it says the code is already installed, why does the pico_setup.sh say there's no apt package "code" and errors out?
if [[ "$SKIP_VSCODE" == 1 ]]; then echo "Skipping VSCODE" else echo "Installing VSCODE" sudo apt install -y $VSCODE_DEPS # Get extensions code --install-extension marus25.cortex-debug code --install-extension ms-vscode.cmake-tools code --install-extension ms-vscode.cpptools fi