Bug 919125 - specifying bad relative location for a package hangs its download
Summary: specifying bad relative location for a package hangs its download
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: librepo
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Mlcoch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-07 16:36 UTC by Ales Kozumplik
Modified: 2014-09-30 23:41 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-04-20 19:28:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ales Kozumplik 2013-03-07 16:36:42 UTC
The following code hangs on the h.download(PKG) line:

#! /usr/bin/python

import librepo

PKG="""pakchois-0.4-5.x86_64.rpm"""
MIRROR="""https://mirrors.fedoraproject.org/metalink?repo=fedora-17&arch=x86_64"""
# PKG="Packages/p/pakchois-0.4-5.x86_64.rpm"

if __name__ == "__main__":
    h = librepo.Handle()
    destdir="./"

    h.setopt(librepo.LRO_MIRRORLIST, MIRROR)
    h.setopt(librepo.LRO_REPOTYPE, librepo.LR_YUMREPO)
    h.setopt(librepo.LRO_DESTDIR, destdir)
    h.download(PKG)

Note that if correct relative location of the package is specified (PKG) the package is downloaded as expected.

Comment 1 Ales Kozumplik 2013-03-08 09:42:08 UTC
Related curl issue: bug 919127.

I suspect this could be a blocker of the current bug too.

Comment 2 Fedora End Of Life 2013-04-03 17:52:58 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 3 Fedora Update System 2013-04-08 14:40:32 UTC
librepo-0.0.2-3.20130408git720d68d.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/librepo-0.0.2-3.20130408git720d68d.fc19

Comment 4 Fedora Update System 2013-04-20 19:28:58 UTC
librepo-0.0.2-3.20130408git720d68d.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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