Describe the bug
The Arch setup script PX4-Autopilot/Tools/setup/arch.sh attempts to install yay from the default repositories. That package does not, however, exist (it is only in AUR). Since the package is not found, none of the other packages are installed either, and also the setup script does not terminate, but carries on without the packages installed.
This is confusing, as it is difficult for the user to understand what failed - especially if yay is already installed, in which case the gazebo is installed as expected.
To Reproduce
Steps to reproduce the behavior:
Run the installation script on an Arch system
Expected behavior
All needed packages should be installed, and the script should terminate or be more verbose on failure.
Suggested solution
Remove yay from the package list given to pacman - either require the user to manually install yay, install gazebo from AUR with the script (not using yay), or something else.
Also, improve the verbosity or crash-on-failure behaviour.
Describe the bug The Arch setup script
PX4-Autopilot/Tools/setup/arch.sh
attempts to install yay from the default repositories. That package does not, however, exist (it is only in AUR). Since the package is not found, none of the other packages are installed either, and also the setup script does not terminate, but carries on without the packages installed.This is confusing, as it is difficult for the user to understand what failed - especially if yay is already installed, in which case the gazebo is installed as expected.
To Reproduce Steps to reproduce the behavior:
Expected behavior All needed packages should be installed, and the script should terminate or be more verbose on failure.
Suggested solution Remove yay from the package list given to pacman - either require the user to manually install yay, install gazebo from AUR with the script (not using yay), or something else. Also, improve the verbosity or crash-on-failure behaviour.