SUSE / Portus

Authorization service and frontend for Docker registry (v2)
http://port.us.org/
Apache License 2.0
3k stars 470 forks source link

Repository 'ruby' is invalid. #2299

Open rushins opened 4 years ago

rushins commented 4 years ago

hello

getting error Ruby error while deploy latest release

Repository 'ruby' is invalid.

any clue ?

rushins commented 4 years ago

looks like the Dockerfile is pointing to wrong URL Ruby files which is invalid . i

have updated Dockerfile with the following URL and itworked.

https://download.opensuse.org/repositories/devel:/languages:/go/openSUSE_Leap_15.0/devel:languages:go.repo

https://download.opensuse.org/repositories/devel:/languages:/ruby/openSUSE_Leap_15.2/devel:languages:ruby.repo

Jean-Baptiste-Lasselle commented 4 years ago

IAM

Wondering

How your clipboard

can automatically add

markdown formated typos

but I can tell that if you search in opened and closed issues lasselle, or ruby, you will find a lot of infos about whats under the hood, of that symptom (the ruby prblem in your Dockerfile)

Eventually, you might end up wondering how running a simple rails app can be this complicated, and be interested in https://github.com/pokusio/portus-build-from-source/releases/tag/0.0.1

Regards

hemna commented 4 years ago

I get the same error

Repository 'ruby' is invalid.
[ruby|https://download.opensuse.org/repositories/devel:/languages:/ruby/openSUSE_Leap_15.0] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'ruby' because of the above error.
Some of the repositories have not been refreshed because of an error.
munnaeebd commented 4 years ago

repo 15.0 is not working . I have added and changed the following lines

vi Dockerfile

RUN sed -i 's/15.0/15.1/g' /etc/zypp/repos.d/*
RUN zypper addrepo https://download.opensuse.org/repositories/devel:/languages:/ruby/openSUSE_Leap_15.1/devel:languages:ruby.repo && \
    zypper addrepo https://download.opensuse.org/repositories/devel:/tools/openSUSE_Leap_15.1/ devel:tools &&

I am not sure if all the problem is solved or not. installation is going on.

Jean-Baptiste-Lasselle commented 4 years ago

I am not sure if all the problem is solved or not. installation is going on.

@munnaeebd And I am not sure, if you are going to read a message somewhere around here... ;)

leleobhz commented 4 years ago

Hello.

I'm also affected.

siredmar commented 4 years ago

Same error here

mehrdad2000 commented 4 years ago

RUN sed -i 's/15.0/15.1/g' /etc/zypp/repos.d/* RUN zypper addrepo https://download.opensuse.org/repositories/devel:/languages:/ruby/openSUSE_Leap_15.1/devel:languages:ruby.repo && \ zypper addrepo https://download.opensuse.org/repositories/devel:/tools/openSUSE_Leap_15.1/ devel:tools &&

This solution resolved issue but need to improve on Dockerfile.

stale[bot] commented 3 years ago

Thanks for all your contributions! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

vuhuythanh1995 commented 2 years ago

Same error here. Repository 'ruby' is invalid and Repository 'devel:tools' is invalid.

budi471 commented 2 years ago

Repository 'ruby' is invalid. [ruby|https://download.opensuse.org/repositories/devel:/languages:/ruby/openSUSE_Leap_15.1] Valid metadata not found at specified URL Please check if the URIs defined for this repository are pointing to a valid repository. Skipping repository 'ruby' because of the above error. Some of the repositories have not been refreshed because of an error.