# Remove gst-editing-services on pacman distros
if [ -e /usr/bin/pacman ]; then
if pacman -Qq gst-editing-services &> /dev/null; then
echo '! found gst-editing-services package, known to break wine prefix creation !'
read -rp " Uninstall it?"$'\n> N/y : ' _gst_editing_services;
if [[ "$_gst_editing_services" =~ [yY] ]]; then
sudo pacman -R gst-editing-services
fi
fi
fi
error: failed to prepare transaction (could not satisfy dependencies)
:: removing gst-editing-services breaks dependency 'gst-editing-services' required by rygel
Failed at this step due to rygel dependency:
error: failed to prepare transaction (could not satisfy dependencies) :: removing gst-editing-services breaks dependency 'gst-editing-services' required by rygel
Just needs some error handling.