| Summary: | yum-presto prevents from updating F17: "bad operand type for unary -: 'str'" , yummain.py", line 321 , "/usr/lib/yum-plugins/presto.py", line 198 | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Joachim Backes <joachim.backes> | |
| Component: | yum-presto | Assignee: | Jonathan Dieter <jdieter> | |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 17 | CC: | aahrend, awilliam, aydindem, collura, elad, fry.futurateam, james.antill, jdieter, jreiser, mads, meanpt, michael, mikhail.v.gavrilov, mwesten, pwouters, renault, robatino, shnurapet, stefw, tla | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | yum-presto-0.7.3-1.fc17 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 808288 (view as bug list) | Environment: | ||
| Last Closed: | 2012-04-12 03:20:32 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
yum-presto-0.7.3-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/yum-presto-0.7.3-1.fc17 My apologies, this was a particularly bone-headed bug. Hopefully the fix will make it into -testing ASAP. yum-presto-0.7.3-1.fc17 solves my problem. Many Thanks. Fix works for me as well. Package yum-presto-0.7.3-1.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing yum-presto-0.7.3-1.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-4862/yum-presto-0.7.3-1.fc17 then log in and leave karma (feedback). *** Bug 808241 has been marked as a duplicate of this bug. *** yes after ran yum downgrade yum-presto to go from yum-presto-0.7.2-1.fc17.noarch back to yum-presto-0.7.1-2.fc17.noarch to get yum working again then got the yum-presto-0.7.3-1.fc17.noarch test fix http://koji.fedoraproject.org/koji/buildinfo?buildID=310413 then was able to install updates just fine :') thanks made a handy dupicate for search ease: https://bugzilla.redhat.com/show_bug.cgi?id=808288 thanks again for fix :') *** Bug 808177 has been marked as a duplicate of this bug. *** If you're running into this bug when trying to update yum-presto, run: yum --disablepresto update yum-presto *** Bug 808312 has been marked as a duplicate of this bug. *** *** Bug 808343 has been marked as a duplicate of this bug. *** *** Bug 808381 has been marked as a duplicate of this bug. *** *** Bug 808564 has been marked as a duplicate of this bug. *** *** Bug 771573 has been marked as a duplicate of this bug. *** *** Bug 808288 has been marked as a duplicate of this bug. *** This was introduced in a package which never got out of updates-testing, so it is not a Beta blocker. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers *** Bug 808700 has been marked as a duplicate of this bug. *** *** Bug 808607 has been marked as a duplicate of this bug. *** *** Bug 808595 has been marked as a duplicate of this bug. *** *** Bug 809031 has been marked as a duplicate of this bug. *** Fix works for me as well with yum-presto.noarch 0.7.3-1.fc17. Many thanks for pointing out the yum --disablepresto update yum-presto command! *** Bug 809879 has been marked as a duplicate of this bug. *** yum-presto-0.7.3-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Unable to run "yum update" for the moment: sudo yum update Loaded plugins: langpacks, presto, refresh-packagekit Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package mesa-dri-drivers.i686 0:8.0.1-7.fc17 will be updated ---> Package mesa-dri-drivers.x86_64 0:8.0.1-7.fc17 will be updated ---> Package mesa-dri-drivers.i686 0:8.0.1-9.fc17 will be an update ---> Package mesa-dri-drivers.x86_64 0:8.0.1-9.fc17 will be an update ---> Package mesa-dri-filesystem.i686 0:8.0.1-7.fc17 will be updated ---> Package mesa-dri-filesystem.x86_64 0:8.0.1-7.fc17 will be updated ---> Package mesa-dri-filesystem.i686 0:8.0.1-9.fc17 will be an update ---> Package mesa-dri-filesystem.x86_64 0:8.0.1-9.fc17 will be an update ---> Package mesa-libGL.i686 0:8.0.1-7.fc17 will be updated ---> Package mesa-libGL.x86_64 0:8.0.1-7.fc17 will be updated ---> Package mesa-libGL.i686 0:8.0.1-9.fc17 will be an update ---> Package mesa-libGL.x86_64 0:8.0.1-9.fc17 will be an update ---> Package mesa-libGL-devel.x86_64 0:8.0.1-7.fc17 will be updated ---> Package mesa-libGL-devel.x86_64 0:8.0.1-9.fc17 will be an update ---> Package mesa-libGLES.i686 0:8.0.1-7.fc17 will be updated ---> Package mesa-libGLES.x86_64 0:8.0.1-7.fc17 will be updated ---> Package mesa-libGLES.i686 0:8.0.1-9.fc17 will be an update ---> Package mesa-libGLES.x86_64 0:8.0.1-9.fc17 will be an update ---> Package mesa-libGLU.i686 0:8.0.1-7.fc17 will be updated ---> Package mesa-libGLU.x86_64 0:8.0.1-7.fc17 will be updated ---> Package mesa-libGLU.i686 0:8.0.1-9.fc17 will be an update ---> Package mesa-libGLU.x86_64 0:8.0.1-9.fc17 will be an update ---> Package mesa-libGLU-devel.x86_64 0:8.0.1-7.fc17 will be updated ---> Package mesa-libGLU-devel.x86_64 0:8.0.1-9.fc17 will be an update --> Finished Dependency Resolution Dependencies Resolved ==================================================================================================================================================== Package Arch Version Repository Size ==================================================================================================================================================== Updating: mesa-dri-drivers i686 8.0.1-9.fc17 fedora 12 M mesa-dri-drivers x86_64 8.0.1-9.fc17 fedora 11 M mesa-dri-filesystem i686 8.0.1-9.fc17 fedora 23 k mesa-dri-filesystem x86_64 8.0.1-9.fc17 fedora 23 k mesa-libGL i686 8.0.1-9.fc17 fedora 147 k mesa-libGL x86_64 8.0.1-9.fc17 fedora 147 k mesa-libGL-devel x86_64 8.0.1-9.fc17 fedora 472 k mesa-libGLES i686 8.0.1-9.fc17 fedora 39 k mesa-libGLES x86_64 8.0.1-9.fc17 fedora 39 k mesa-libGLU i686 8.0.1-9.fc17 fedora 185 k mesa-libGLU x86_64 8.0.1-9.fc17 fedora 179 k mesa-libGLU-devel x86_64 8.0.1-9.fc17 fedora 90 k Transaction Summary ==================================================================================================================================================== Upgrade 12 Packages Total download size: 24 M Is this ok [y/N]: y Downloading Packages: Setting up and reading Presto delta metadata Processing delta metadata 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 321, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 229, in main return_code = base.doTransaction() File "/usr/share/yum-cli/cli.py", line 547, in doTransaction problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb) File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2147, in downloadPkgs self.plugins.run('predownload', pkglist=pkglist) File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 187, in run func(conduitcls(self, self.base, conf, **kwargs)) File "/usr/lib/yum-plugins/presto.py", line 633, in predownload_hook (problems, more) = downloadPkgs(conduit, pinfo, download_pkgs) File "/usr/lib/yum-plugins/presto.py", line 321, in downloadPkgs delta = getDelta(po, presto, conduit, conf_mp) File "/usr/lib/yum-plugins/presto.py", line 198, in getDelta conduit.info(5, -("Could not find delta rpm for package %s.%s.") TypeError: bad operand type for unary -: 'str' Workaround: Uninstall yum-presto and run "yum update" agaian. Version-Release number of selected component (if applicable): yum-presto.noarch 0:0.7.2-1.fc17 How reproducible: Always Steps to Reproduce: 1.see description 2. 3. Actual results: see description Expected results: Additional info: