Bug 998464 - [repo] package download error: An Curl handle error: Unsupported protocol
Summary: [repo] package download error: An Curl handle error: Unsupported protocol
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ales Kozumplik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 997658
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-19 11:31 UTC by Ales Kozumplik
Modified: 2014-09-30 23:41 UTC (History)
6 users (show)

Fixed In Version: dnf-0.3.12
Doc Type: Bug Fix
Doc Text:
Clone Of: 997658
Environment:
Last Closed: 2013-09-16 12:42:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ales Kozumplik 2013-08-19 11:31:04 UTC
+++ This bug was initially created as a clone of Bug #997658 +++
Is this ok [y/N]: y
Downloading Packages:
Error Downloading Packages:
  kernel-PAE-3.11.0-0.rc5.git2.1.fc20.i686: Problem with repo 'rawhide': An Curl handle error: Unsupported protocol
  kernel-PAE-devel-3.11.0-0.rc5.git2.1.fc20.i686: Problem with repo 'rawhide': An Curl handle error: Unsupported protocol
  kernel-PAE-modules-extra-3.11.0-0.rc5.git2.1.fc20.i686: Problem with repo 'rawhide': An Curl handle error: Unsupported protocol
  kernel-headers-3.11.0-0.rc5.git2.1.fc20.i686: Problem with repo 'rawhide': An Curl handle error: Unsupported protocol

--- Additional comment from Ales Kozumplik on 2013-08-16 08:49:46 EDT ---

(commit 36492d2 aims to fix the download error ("Unsupported protocol"). If it does not we'll need librepo maintainer's input how to debug this)

--- Additional comment from marianne on 2013-08-19 03:30:55 EDT ---

Same error in fedora 19 with non-kernel-related package 


Is this ok [y/N]: y
Downloading Packages:
using local copy of kmod-VirtualBox-3.10.7-200.fc19.x86_64-4.2.16-1.fc19.7.x86_64
using local copy of kmod-VirtualBox-4.2.16-1.fc19.7.x86_64
Error Downloading Packages:
  openbox-libs-3.5.2-2.fc19.x86_64: Problem with repo 'updates': An Curl handle error: Unsupported protocol
  sssd-client-1.11.0-0.1.beta2.fc19.x86_64: Problem with repo 'updates': An Curl handle error: Unsupported protocol
  sssd-proxy-1.11.0-0.1.beta2.fc19.x86_64: Problem with repo 'updates': An Curl handle error: Unsupported protocol
  sssd-krb5-common-1.11.0-0.1.beta2.fc19.x86_64: Problem with repo 'updates': An Curl handle error: Unsupported protocol
  libipa_hbac-1.11.0-0.1.beta2.fc19.x86_64: Problem with repo 'updates': An Curl handle error: Unsupported protocol
  microcode_ctl-2:2.0-4.fc19.x86_64: Problem with repo 'updates': An Curl handle error: Unsupported protocol
  meanwhile-1.1.0-12.fc19.x86_64: Problem with repo 'updates': An Curl handle error: Unsupported protocol
  sssd-common-1.11.0-0.1.beta2.fc19.x86_64: Problem with repo 'updates': An Curl handle error: Unsupported protocol
  sssd-ldap-1.11.0-0.1.beta2.fc19.x86_64: Problem with repo 'updates': An Curl handle error: Unsupported protocol
  openbox-3.5.2-2.fc19.x86_64: Problem with repo 'updates': An Curl handle error: Unsupported protocol
  sssd-ipa-1.11.0-0.1.beta2.fc19.x86_64: Problem with repo 'updates': An Curl handle error: Unsupported protocol
  python-sssdconfig-1.11.0-0.1.beta2.fc19.noarch: Problem with repo 'updates': An Curl handle error: Unsupported protocol
  sssd-ad-1.11.0-0.1.beta2.fc19.x86_64: Problem with repo 'updates': An Curl handle error: Unsupported protocol
  libfprint-0.5.1-1.fc19.x86_64: Problem with repo 'updates': An Curl handle error: Unsupported protocol
  libsss_idmap-1.11.0-0.1.beta2.fc19.x86_64: Problem with repo 'updates': An Curl handle error: Unsupported protocol
  sssd-krb5-1.11.0-0.1.beta2.fc19.x86_64: Problem with repo 'updates': An Curl handle error: Unsupported protocol
  qrencode-libs-3.4.2-1.fc19.x86_64: Problem with repo 'updates': An Curl handle error: Unsupported protocol
  rdesktop-1.8.0-1.fc19.x86_64: Problem with repo 'updates': An Curl handle error: Unsupported protocol
  sssd-1.11.0-0.1.beta2.fc19.x86_64: Problem with repo 'updates': An Curl handle error: Unsupported protocol

--- Additional comment from Ales Kozumplik on 2013-08-19 03:37:05 EDT ---

poma and marianne, what version of dnf are you running?

--- Additional comment from marianne on 2013-08-19 04:08:16 EDT ---

Last version available as package : 
Installed Packages
Name        : dnf
Arch        : noarch
Epoch       : 0
Version     : 0.3.11
Release     : 1.git7d717c7.fc19
Size        : 1.9 M
Repo        : @System
From repo   : updates
Summary     : Package manager forked from Yum, using libsolv as a dependency resolver
URL         : https://github.com/akozumpl/dnf
License     : GPLv2+ and GPLv2 and GPL
Description : Package manager forked from Yum, using libsolv as a dependency resolver.

Comment 1 Ales Kozumplik 2013-08-19 11:41:00 UTC
What is happening here:

A fix to bug 979042 rests on giving librepo a single URL to download a given package from, even if we are downloading from a mirrorlist (a limitation of the 0.0.5 version of librepo is that it can only take one 'url'). If this given URL happens to be rsync or other protocol not supported by librepo (rsync is currently not supported by yum/urlgrabber for that matter), the above error results.

Resolving bug 979042 removed the librepo limitation and DNF commit 36492d2 resolves this bug by passing all known mirroring URLs to librepo. This should be included with dnf-0.3.12.

Note that rebuilding the current dnf with the current upstream librepo will not help as there are other issues with the upstream librepo. Coordinating with the librepo maintainer.

Comment 2 Ales Kozumplik 2013-08-19 13:01:38 UTC
> Note that rebuilding the current dnf with the current upstream librepo will
> not help as there are other issues with the upstream librepo. Coordinating
> with the librepo maintainer.

bug 998499


Note You need to log in before you can comment on or make changes to this bug.