Remove bad repository

I am getting a very long error message from
a bad entry in the repository list. How do I scan the list
and delete this bad repo ?? (find text then delete)
Also, what part of this error message represents the
bad repo name ? Guessing the bold text
Thanks in advance !!
:wink:

An error occurred during repository initialization.
http-download.opensuse.org-5d4c14c6|http://download.opensuse.org/repositories/openSUSE:/Leap:/42.3:/Ports/ports/]
Valid metadata not found at specified URL History: - [http-download.opensuse.org-5d4c14c6|http://download.opensuse.org/repositories/openSUSE:/Leap:/42.3:/Ports/ports/] Repository type can’t be determined.

Hi, looks like you tried to add some ARM repo. Is this on an ARM machine?
Please show:


uname -a
zypper lr -d


In the output you will see a list of repos, incl. URLs, proceeded by an index number. You can remove the repo with the incorrect URL by


zypper rr Index_No_of_Wrong_Repo

1 Like

If you use Yast Software Repositories, you will probably recognize the repo immediately from that β€œ5d4c14c6” part of the repo alias. And you can remove it (or disable it) from there.

1 Like

Please open a terminal and issue the following command, then post the result here between CODE tags (the # button above the web editing window):

zypper lr -d

Thanks everyone.
Was able to remove it.
All is OK now
:wink: