Mailinglist Archive: opensuse (794 mails)

< Previous Next >
Re: [opensuse] zypper addrepo - http:// vs. https://
24.11.2017 23:17, Per Jessen пишет:
Per Jessen wrote:

Andrei Borzenkov wrote:

24.11.2017 12:03, Per Jessen пишет:
I'm sure someone has a quick explanation:

a) zypper
addrepo
'https://download.opensuse.org/repositories/Virtualization:containers/openSUSE_Leap_42.3/Virtualization:containers.repo'

This fails:

Download (curl) error
for
'https://download.opensuse.org/repositories/Virtualization:containers/openSUSE_Leap_42.3/Virtualization:containers.repo':
Error code: Bad URL
Error message: Protocol http not supported or disabled in libcurl


b) zypper
addrepo
'https://download.opensuse.org/repositories/Virtualization:/containers/openSUSE_Leap_42.3/Virtualization:containers.repo'

Works fine. (notice the extra slash between 'Virtualization:'
and 'container'.


https://forums.opensuse.org/showthread.php/527052-Cached-files-in-home-cache-kioexec-krun-_-How-to-avoid?p=2838516#post2838516

Let me quote:

That openSUSE download server still does not support https, is indeed
server problem.
It does follow 301 redirection, but zypper explicitly restricts
redirection to https only in this case. Note that error message
says "Protocol http not supported or disabled in libcurl", not https

Thanks for digging that out, Andrei.

I was too fast. It doesn't quite explain it though.

Why does a) fail and b) work?



Did you read follow-up posts?

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups