Description of problem: tried to install file based rpm Version-Release number of selected component: yum-3.4.3-137.fc20 Additional info: reporter: libreport-2.2.2 cmdline: /usr/bin/python /bin/yum install intel-linux-graphics-installer-1.0.5-20.intel20141.x86_64.rpm executable: /bin/yum kernel: 3.14.3-200.fc20.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: drpm.py:131:__init__:AttributeError: FakeRepository instance has no attribute 'deltarpm_percentage' Traceback (most recent call last): File "/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 355, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 261, in main return_code = base.doTransaction() File "/usr/share/yum-cli/cli.py", line 670, in doTransaction problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb) File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2388, in downloadPkgs self.plugins.run('predownload', pkglist=pkglist) File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run func(conduitcls(self, self.base, conf, **kwargs)) File "/usr/lib/yum-plugins/axelget.py", line 418, in predownload_hook downloaded_drpm_pkgs = download_drpm(conduit, pkglist) File "/usr/lib/yum-plugins/axelget.py", line 179, in download_drpm presto = DeltaInfo(conduit._base, pkgs, adderror) File "/usr/lib/python2.7/site-packages/yum/drpm.py", line 131, in __init__ perc = po.repo.deltarpm_percentage AttributeError: FakeRepository instance has no attribute 'deltarpm_percentage' Local variables in innermost frame: adderror: <function adderror at 0x49fc488> index: 0 self: <yum.drpm.DeltaInfo instance at 0x5d4dea8> reposize: {} pinfo: {} oldrpms: {} pkgs: [<YumUrlPackage : intel-linux-graphics-installer-1.0.5-20.intel20141.x86_64 (0x2d30ad0)>] ayum: <weakproxy at 0x2980940 to YumBaseCli at 0x298eb90> po: <YumUrlPackage : intel-linux-graphics-installer-1.0.5-20.intel20141.x86_64 (0x2d30ad0)>
Created attachment 896536 [details] File: backtrace
Created attachment 896537 [details] File: environ
This is a bug in yum-axelget. Probably before passing pkgs to DeltaInfo constructor, it should filter out local packages, as it is done in yum's downloadPkgs() - http://yum.baseurl.org/gitweb?p=yum.git;a=blob;f=yum/__init__.py;h=ac014356c283b411a94f2a64c5a901792f9e3806;hb=HEAD#l2431 You can workaround this by running yum with --noplugins option.
Another user experienced a similar problem: tried to install the latest Maxthon Browser rpm from the maxthon site reporter: libreport-2.2.3 cmdline: /usr/bin/python /bin/yum install maxthon-browser-stable-1.0.5.3-1.x86_64.rpm executable: /bin/yum kernel: 3.16.3-200.fc20.x86_64 package: yum-3.4.3-152.fc20 reason: drpm.py:131:__init__:AttributeError: FakeRepository instance has no attribute 'deltarpm_percentage' runlevel: N 5 type: Python uid: 0
This bug should be fixed already on version 1.0.5.1 of yum-axelget, can you verify if he really has the yum-axelget package installed? and if yes, what release?
This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.