Bug 458589
Summary: | Traceback trying to yum install source rpm. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mat Booth <mat.booth> |
Component: | yum | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | ffesti, james.antill, katzj, pmatilai, tim.lauridsen |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | yum-3.2.19 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-09-03 13:57:10 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mat Booth
2008-08-10 15:38:28 UTC
We fixed yum to not install .src.rpm's in 3.2.17 at the latest, so this bug is fixed now. Are you sure? That's the version I'm using and is the version that generates the traceback I posted above... You're right, this is the fix (in upstream now): diff --git a/yum/__init__.py b/yum/__init__.py index 16a56b2..3e547f5 100644 --- a/yum/__init__.py +++ b/yum/__init__.py @@ -2672,7 +2672,7 @@ class YumBase(depsolve.Depsolve): # do this: but it's not a config file sort of thing if po.arch not in rpmUtils.arch.getArchList(): self.logger.critical(_('Cannot add package %s to transaction. Not a - return result + return tx_return # everything installed that matches the name installedByKey = self.rpmdb.searchNevra(name=po.name) And this is available in 3.2.19 |