Portus icon indicating copy to clipboard operation
Portus copied to clipboard

Repository 'ruby' is invalid.

Open rushins opened this issue 4 years ago • 11 comments

hello

getting error Ruby error while deploy latest release

Repository 'ruby' is invalid.

any clue ?

rushins avatar Apr 24 '20 23:04 rushins

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

rushins avatar Apr 25 '20 00:04 rushins

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

Jean-Baptiste-Lasselle avatar Apr 26 '20 23:04 Jean-Baptiste-Lasselle

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.

hemna avatar Apr 30 '20 01:04 hemna

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.

munnaeebd avatar Apr 30 '20 08:04 munnaeebd

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... ;)

Jean-Baptiste-Lasselle avatar May 01 '20 00:05 Jean-Baptiste-Lasselle

Hello.

I'm also affected.

leleobhz avatar May 15 '20 03:05 leleobhz

Same error here

siredmar avatar Jun 17 '20 09:06 siredmar

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.

mehrdad2000 avatar Aug 11 '20 08:08 mehrdad2000

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.

stale[bot] avatar Dec 25 '20 13:12 stale[bot]

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

vuhuythanh1995 avatar Nov 11 '21 10:11 vuhuythanh1995

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.

budi471 avatar Apr 07 '22 18:04 budi471