I was trying to install kernel-source using the command from https://software.opensuse.org/download.html?project=openSUSE%3ALeap%3A42.1%3AUpdate&package=kernel-source
However, on running
zypper addrepo http://download.opensuse.org/repositories/openSUSE:Leap:42.1:Update/ports/openSUSE:Leap:42.1:Update.repo
i get
File '/repositories/openSUSE:Leap:42.1:Update/ports/openSUSE:Leap:42.1:Update.repo' not found on medium 'http://download.opensuse.org/'
**Abort, retry, ignore? [a/r/i/? shows all options] (a):**
retrying multiple times doesn’t help. Is there a work around to this? Is there another way i can get kernel-source?