Problem with libgcryptrepo

I keep getting errors while trying to connect to the repo.


**linux-stz5:~ #** zypper addrepo http://download.opensuse.org/repositories/openSUSE:Leap:
42.1/standard/openSUSE:Leap:42.1.repo
File '/repositories/openSUSE:Leap:42.1/standard/openSUSE:Leap:42.1.repo' not found on 
medium 'http://download.opensuse.org/'                                                 
                                                                                       
**Abort, retry, ignore? [a/r/i/? shows all options] (a): **r
File '/repositories/openSUSE:Leap:42.1/standard/openSUSE:Leap:42.1.repo' not found on 
medium 'http://download.opensuse.org/'                                                 
                                                                                       
**Abort, retry, ignore? [a/r/i/? shows all options] (a): **r
File '/repositories/openSUSE:Leap:42.1/standard/openSUSE:Leap:42.1.repo' not found on 
medium 'http://download.opensuse.org/'                                                 
                                                                                       
**Abort, retry, ignore? [a/r/i/? shows all options] (a): **a
Problem encountered while trying to read the file at the specified URI:
ABORT request: Aborting requested by user 

Furthermore, Yast aborts without notification.

That URL is wrong.

http://download.opensuse.org/repositories/openSUSE:Leap:42.1/standard/ gets redirected to http://download.opensuse.org/distribution/leap/42.1/repo/oss/suse/, which doesn’t contain a “openSUSE:Leap:42.1.repo” file.

Try this instead:

zypper addrepo http://download.opensuse.org/distribution/leap/42.1/repo/oss/ repo-oss

But I see no point in trying to add the main openSUSE Leap 42.1 oss repo at all, you should already have it anyway.
And no, it doesn’t contain libgcrypt11, which you apparently are after… :wink: