On 7/24/23 23:05, Andrei Borzenkov wrote:
On 25.07.2023 04:13, David C. Rankin wrote:
On 7/22/23 04:37, David C. Rankin wrote:
sudo zypper addrepo https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
Adding an alias to the end of the above command fails.
Show where instructions that you claimed to have followed tell to do so.
The actual repo url should be provide and not a link to the metadata.
If you followed the instructions you had the repo definition with the correct URL.
As stated in my very first e-mail in this thread: $ zar https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo brave Adding repository 'brave' ...................................................................................[done] Repository 'brave' successfully added URI : https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo Enabled : Yes GPG Check : Yes Autorefresh : Yes Priority : 99 (default priority) Repository priorities in effect: (See 'zypper lr -P' for details) 90 (raised priority) : 1 repository 99 (default priority) : 17 repositories Retrieving repository 'brave' metadata .....................................................................[error] Repository 'brave' is invalid. [brave|https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo] Valid metadata not found at specified URL History: - [brave|https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo] Repository type can't be determined. Please check if the URIs defined for this repository are pointing to a valid repository. Skipping repository 'brave' because of the above error. Could not refresh the repositories because of errors. and for completeness again: $ type zar zar is aliased to `zaddrepo' and $ type zaddrepo zaddrepo is a function zaddrepo () { [ -z $1 -o -z $2 ] && { printf "error: insufficient arguments.\n"; printf "usage: zar URL Alias\n"; return 1 }; if [ $UID -eq 0 ]; then zypper ar -k -f "$1" "$2" && zypper ref "$2"; else sudo zypper ar -k -f "$1" "$2" && sudo zypper ref "$2"; fi } -- David C. Rankin, J.D.,P.E.