Issues downloading stable opensuse repo.

Hi,

I was having some connection issues downloading from opensuse stable repo: http://download.opensuse.org/distribution/openSUSE-stable/repo/oss/
The download fails at the different stages throughout

Here are some of the errors I get
[SUSE-REPO|http://download.opensuse.org/distribution/openSUSE-stable/repo/oss?ssl_verify=no] Valid metadata not found at specified URL
History:

Or

91mFile ‘./x86_64/libntirpc3_2-3.2+git0.8d07e25a7-lp152.3.2.x86_64.rpm’ not found on medium ‘http://download.opensuse.org/distribution/openSUSE-stable/repo/oss?ssl_verify=no

The current repo can be downloaded properly however. http://download.opensuse.org/distribution/openSUSE-current/repo/oss/

Sorry, but it is rather unclear to me what you are doing. You say you are “downloading”, but I see no command (or tool) that you use.

Also you post some URLs of repositories. Normaly one does not "download from them, but add repositories (with YaST > Software > repository Management or zypper ar) to one’s repo list. After that one can install software from it.

So please explain what you are doing, or maybe better explain what your goal is.

Hi,

These are the commands I am using in my Dockerfile
ARG SUSE_PKG_REPO_URL=http://download.opensuse.org/distribution/openSUSE-stable/repo/oss
ARG GANESHA_PKG_REPO_URL=https://download.opensuse.org/repositories/home:/glusterfs:/SLES15-nfs-ganesha-2.7/SLE_15/

RUN zypper refresh && zypper ar -C -G -f ${SUSE_PKG_REPO_URL}?ssl_verify=no SUSE-REPO
&& zypper ar -C -G -f ${GANESHA_PKG_REPO_URL}?ssl_verify=no GANESHA-REPO
&& zypper clean --all

RUN zypper install -l -y nfs-ganesha-vfs
&& zypper rr SUSE-REPO
&& zypper rr GANESHA-REPO
&& zypper clean --all

I believe the final command is failing.

Please use Code-Tags, easier to read:
https://forums.opensuse.org/showthread.php/536143-Using-Code-Tags-Around-Your-Paste

Errors:
1)

[SUSE-REPO|["]http://download.opensuse.org/distrib...ssl_verify=no]](http://download.opensuse.org/distribution/openSUSE-stable/repo/oss?ssl_verify=no) Valid metadata not found at specified URL
History:
 - File  './repodata/ee17b27ef91d0fb16ac7311f04afe362fe2efeb1a90ff4d97811237ff14e7bec-primary.xml.gz'  not found on medium  'http://download.opensuse.org/distribution/openSUSE-stable/repo/oss?ssl_verify=no'
 - Can't provide ./repodata/ee17b27ef91d0fb16ac7311f04afe362fe2efeb1a90ff4d97811237ff14e7bec-primary.xml.gz

[91mFile './x86_64/libntirpc3_2-3.2+git0.8d07e25a7-lp152.3.2.x86_64.rpm'  not found on medium  'http://download.opensuse.org/distribution/openSUSE-stable/repo/oss?ssl_verify=no'

[b]Commands

ARG SUSE_PKG_REPO_URL=http://download.opensuse.org/distribution/openSUSE-stable/repo/oss
ARG GANESHA_PKG_REPO_URL=https://download.opensuse.org/repositories/home:/glusterfs:/SLES15-nfs-ganesha-2.7/SLE_15/

RUN zypper refresh && zypper ar -C -G -f ${SUSE_PKG_REPO_URL}?ssl_verify=no SUSE-REPO 
               && zypper ar -C -G -f ${GANESHA_PKG_REPO_URL}?ssl_verify=no GANESHA-REPO \
               && zypper clean --all

RUN zypper install -l -y nfs-ganesha-vfs \
        && zypper rr SUSE-REPO \
        && zypper rr GANESHA-REPO \
        && zypper clean --all

I know next to nothing about Docker. I would not have bothered you when you had had that in your title.

RUN is similar to a shell command. the args inside ${} are replaced with their corresponding values so its just equivalent to running these on terminal


 zypper refresh && zypper ar -C -G -f http://download.opensuse.org/distribution/openSUSE-stable/repo/oss?ssl_verify=no SUSE-REPO 
               && zypper ar -C -G -f https://download.opensuse.org/repositories/home:/glusterfs:/SLES15-nfs-ganesha-2.7/SLE_15/?ssl_verify=no GANESHA-REPO \
               && zypper clean --all

zypper install -l -y nfs-ganesha-vfs \
        && zypper rr SUSE-REPO \
        && zypper rr GANESHA-REPO \
        && zypper clean --all 

@hcvv hey. Any ideas what might be the issue. I posted the bash equivalent of what is failing.

download.opensuse.org redirects requests: MirrorBrain - openSUSE Wiki You may try and switch to MirrorCache - openSUSE Wiki

**erlangen:~ #** zypper lr -E 
#  | Alias                | Enabled | GPG Check | Priority | URI 
---+----------------------+---------+-----------+----------+--------------------------------------------------------------------------------------------- 
 6 | Packman              | Yes     | (r ) Yes  |   90     | https://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/ 
18 | non-oss              | Yes     | (r ) Yes  |   99     | https://mirrorcache-eu.opensuse.org/tumbleweed/repo/non-oss/ 
20 | oss                  | Yes     | (r ) Yes  |   99     | https://mirrorcache-eu.opensuse.org/tumbleweed/repo/oss/ 
27 | update               | Yes     | (r ) Yes  |   99     | https://mirrorcache-eu.opensuse.org/update/tumbleweed/ 
 8 | chrome               | Yes     | (r ) Yes  |  100     | https://dl.google.com/linux/chrome/rpm/stable/x86_64 
13 | home_kukuk_qmapshack | Yes     | (r ) Yes  |  100     | https://mirrorcache-eu.opensuse.org/repositories/home:/kukuk:/qmapshack/openSUSE_Tumbleweed/ 
14 | jalbum               | Yes     | (  ) No   |  100     | https://jalbum.net/download/software/yumrepo/ 
17 | myrepo               | Yes     | (  ) No   |  100     | dir:/home/karl/Downloads/myrepo 
**erlangen:~ #**

See also MirrorCache - openSUSE Wiki