Bug 1107994 - zypper install fails due to https-to-http redirection
Summary: zypper install fails due to https-to-http redirection
Status: RESOLVED NORESPONSE
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: Download Infrastructure (show other bugs)
Version: unspecified
Hardware: x86-64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Theo Chatzimichos
QA Contact: Lars Vogdt
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-11 11:35 UTC by Sebastian Parschauer
Modified: 2019-02-14 15:34 UTC (History)
7 users (show)

See Also:
Found By: L3
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Parschauer 2018-09-11 11:35:09 UTC
Seems to be the same issue like in bug 1060231 but nobody cared for that one as it has been reported for the wrong assignee.

I have my Leap 42.3 fixes repo configured like this:
> https://download.opensuse.org/repositories/home:/sparschauer:/leap42.3_fixes/openSUSE_Leap_42.3
Local name: fixes

I run
> zypper dup --allow-vendor-change -r fixes
to pull in my temporary fix packages.

zypper output:
> Retrieving package libgvnc-1_0-0-0.6.0-3.1.0.FIX.1099697.x86_64    (1/11), 103,5 KiB (284,2 KiB unpacked)
> Retrieving: libgvnc-1_0-0-0.6.0-3.1.0.FIX.1099697.x86_64.rpm .....................................[error]
Download (curl) error for 'https://download.opensuse.org/repositories/home:/sparschauer:/leap42.3_fixes/openSUSE_Leap_42.3/x86_64/libgvnc-1_0-0-0.6.0-3.1.0.FIX.1099697.x86_64.rpm':
> Error code:  Bad URL
> Error message: Protocol http not supported or disabled in libcurl
> 
> Abort, retry, ignore? [a/r/i/...? shows all options] (a):

Checked in the browser:
> https://download.opensuse.org/repositories/home:/sparschauer:/leap42.3_fixes/openSUSE_Leap_42.3/x86_64/libgvnc-1_0-0-0.6.0-3.1.0.FIX.1099697.x86_64.rpm

It tries to download from http://ftp.icm.edu.pl

Can you please fix that no http mirror is used for https? TIA
Comment 1 Sebastian Parschauer 2018-09-11 11:57:49 UTC
Temporarily fixed by adding
> https://ftp.icm.edu.pl/pub/Linux/opensuse/repositories/home:/sparschauer:/leap42.3_fixes/openSUSE_Leap_42.3/

as the local repo name "fixes2".
Comment 2 Sebastian Parschauer 2018-09-11 12:43:12 UTC
+CC the maintainers for zypper and curl. JFYI in case somebody reports duplicates.
Comment 4 Sebastian Parschauer 2018-09-12 16:39:10 UTC
I switched over to http now as the chosen mirror had slow ping responses the other day. OBS shouldn't suggest to use https if this is not working properly. So we'll have to remember to change to http after copy&paste of the OBS repo URI.
Comment 5 Sebastian Parschauer 2019-02-14 15:34:59 UTC
This is something worked on but rather slowly. The http workaround is working fine. So closing with noresponse for now.