Bug 908986
| Summary: | When trying to download a kernel-debuginfo package by `stap-prep` for using systemtap. Yum throws a Python Exception. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Prudhvi Krishna Surapaneni <p> |
| Component: | yum | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | admiller, ffesti, packaging-team-maint, tim.lauridsen, zpavlas |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-27 02:31:04 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Reproduced, I hope I'll fix it soon.. This bug was probably introduced when switching do Yum's downloader. Strangely, without the --resolve option (should be transparent to download code), everything runs fine. yum-utils-1.1.31-9.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/yum-utils-1.1.31-9.fc18 Package yum-utils-1.1.31-9.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing yum-utils-1.1.31-9.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-2178/yum-utils-1.1.31-9.fc18 then log in and leave karma (feedback). Actually, with this update i see other problems in Yum
[root@beta-tauri ~]# stap-prep
Need to install the following packages:
kernel-debuginfo-3.7.6-201.fc18.x86_64
updates-debuginfo/18/x86_64/metalink | 13 kB 00:00:00
updates-debuginfo | 3.1 kB 00:00:00
updates-testing-debuginfo/18/x86_64/metalink | 12 kB 00:00:00
updates-testing-debuginfo | 3.1 kB 00:00:00
(1/2): updates-debuginfo/primary_db | 357 kB 00:00:00
(2/2): updates-testing-debuginfo/primary_db | 549 kB 00:00:00
--> Running transaction check
---> Package kernel-debuginfo.x86_64 0:3.7.6-201.fc18 will be installed
--> Processing Dependency: kernel-debuginfo-common-x86_64 = 3.7.6-201.fc18 for package: kernel-debuginfo-3.7.6-201.fc18.x86_64
--> Running transaction check
---> Package kernel-debuginfo-common-x86_64.x86_64 0:3.7.2-204.fc18 will be updated
--> Processing Dependency: kernel-debuginfo-common-x86_64 = 3.7.2-204.fc18 for package: kernel-debuginfo-3.7.2-204.fc18.x86_64
---> Package kernel-debuginfo-common-x86_64.x86_64 0:3.7.6-201.fc18 will be an update
--> Running transaction check
---> Package kernel-debuginfo.x86_64 0:3.7.2-204.fc18 will be updated
--> Finished Dependency Resolution
Traceback (most recent call last):
File "/bin/yumdownloader", line 273, in <module>
util = YumDownloader()
File "/bin/yumdownloader", line 73, in __init__
self.main()
File "/bin/yumdownloader", line 98, in main
self.exit_code = self.downloadPackages(opts)
File "/bin/yumdownloader", line 206, in downloadPackages
rpmfn = os.path.basename(pkg.remote_path)
File "/usr/lib/python2.7/site-packages/yum/packages.py", line 836, in _remote_path
return self.relativepath
File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 110, in __getattr__
val = val[varname] # a lot we should preload at __init__.
ValueError: unknown header tag
problem downloading rpm(s) kernel-debuginfo-3.7.6-201.fc18.x86_64
Prudhvi Krishna Surapaneni.
yum-utils-1.1.31-9.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. This seems to be an old, unrelated bug. "yumdownloader --resolve" fails when one of the dependent packages is an update. AIUI, this never worked. Fixed upstream. yum-utils-1.1.31-10.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/yum-utils-1.1.31-10.fc18 Package yum-utils-1.1.31-10.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing yum-utils-1.1.31-10.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-2677/yum-utils-1.1.31-10.fc18 then log in and leave karma (feedback). yum-utils-1.1.31-10.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: When trying to download a kernel-debuginfo package by `stap-prep` for using systemtap. Yum throws a Python Exception. Traceback (most recent call last): File "/bin/yumdownloader", line 273, in <module> util = YumDownloader() File "/bin/yumdownloader", line 73, in __init__ self.main() File "/bin/yumdownloader", line 98, in main self.exit_code = self.downloadPackages(opts) File "/bin/yumdownloader", line 206, in downloadPackages rpmfn = os.path.basename(pkg.remote_path) AttributeError: TransactionMember instance has no attribute 'remote_path' problem downloading rpm(s) kernel-debuginfo-3.7.5-201.fc18.x86_64 Version-Release number of selected component (if applicable): yum: yum-3.4.3-48.fc18.noarch rpm: rpm-4.10.2-1.fc18.x86_64 systetap: systemtap-2.0-6.fc18.x86_64 kernel: 3.7.5-201.fc18.x86_64 How reproducible: Everytime Steps to Reproduce: 1. Download, systemtap systemtap-runtime systemtap-client systemtap-devel systemtap-sdt-devel 2. run stap-devel Actual results: [root@beta-tauri ~]# stap-prep Need to install the following packages: kernel-debuginfo-3.7.5-201.fc18.x86_64 --> Running transaction check ---> Package kernel-debuginfo.x86_64 0:3.7.5-201.fc18 will be installed --> Processing Dependency: kernel-debuginfo-common-x86_64 = 3.7.5-201.fc18 for package: kernel-debuginfo-3.7.5-201.fc18.x86_64 --> Running transaction check ---> Package kernel-debuginfo-common-x86_64.x86_64 0:3.7.2-204.fc18 will be updated --> Processing Dependency: kernel-debuginfo-common-x86_64 = 3.7.2-204.fc18 for package: kernel-debuginfo-3.7.2-204.fc18.x86_64 ---> Package kernel-debuginfo-common-x86_64.x86_64 0:3.7.5-201.fc18 will be an update --> Running transaction check ---> Package kernel-debuginfo.x86_64 0:3.7.2-204.fc18 will be updated ---> Package kernel-debuginfo.x86_64 0:3.7.6-201.fc18 will be an update --> Processing Dependency: kernel-debuginfo-common-x86_64 = 3.7.6-201.fc18 for package: kernel-debuginfo-3.7.6-201.fc18.x86_64 --> Running transaction check ---> Package kernel-debuginfo-common-x86_64.x86_64 0:3.7.2-204.fc18 will be updated ---> Package kernel-debuginfo-common-x86_64.x86_64 0:3.7.2-204.fc18 will be updated ---> Package kernel-debuginfo-common-x86_64.x86_64 0:3.7.5-201.fc18 will be an update --> Processing Dependency: kernel-debuginfo-common-x86_64 = 3.7.5-201.fc18 for package: kernel-debuginfo-3.7.5-201.fc18.x86_64 ---> Package kernel-debuginfo-common-x86_64.x86_64 0:3.7.6-201.fc18 will be an update --> Finished Dependency Resolution Traceback (most recent call last): File "/bin/yumdownloader", line 273, in <module> util = YumDownloader() File "/bin/yumdownloader", line 73, in __init__ self.main() File "/bin/yumdownloader", line 98, in main self.exit_code = self.downloadPackages(opts) File "/bin/yumdownloader", line 206, in downloadPackages rpmfn = os.path.basename(pkg.remote_path) AttributeError: TransactionMember instance has no attribute 'remote_path' problem downloading rpm(s) kernel-debuginfo-3.7.5-201.fc18.x86_64 Expected results: Downloading and installing kernel-debuginfo-`uname -r` Additional info: I have fedora-debuginfo repository enabled in my yum.repos.d/fedora.repo