| Summary: | Software Update Error | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Aydin Demirel <aydindem> |
| Component: | yum-presto | Assignee: | Jonathan Dieter <jdieter> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 17 | CC: | dan.mashal, extras-orphan, james.antill, jdieter, kopano.fedora, robatino, tla |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-30 23:03:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
I have a similar problems. I have tried 3 times but before i go the Error, i had fiddled with yum and eventually run "yum clean all"! Otherwise i have been updating daily without a problem!
Dump: Failed to Process Reequest
Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2451, in _runYumTransaction
rpmDisplay=rpmDisplay)
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 5629, in processTransaction
pkgs = self._downloadPackages(callback)
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 5653, in _downloadPackages
probs = self.downloadPkgs(dlpkgs)
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'
I am able to reproduce this:
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Traceback (most recent call last):
File "/usr/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'
Running yum update --disablepresto -y is a workaround. This happens on f16 and 17. Looks like a duplicate of bug 808130, which is already fixed in updates-testing. Thanks Andre, I'm assuming this will trickle down to F16? *** This bug has been marked as a duplicate of bug 808130 *** Just a heads up that the original bug is *not* the same as bug 808130. And bug 808130 only applies to yum-presto-0.7.2 which was never pushed to Fedora 16. If you're having problems in Fedora 16, it's something different that needs a new bug report. |
When I try to update the latest software updates via software update interface, I'm getting errors. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Select Software Update Interface 2. Push the Update Button 3. Actual results: Traceback (most recent call last): File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2451, in _runYumTransaction rpmDisplay=rpmDisplay) File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 5002, in processTransaction self._doTransaction(callback,display=rpmDisplay) File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 5114, in _doTransaction self.runTransaction( cb=cb ) File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1499, in runTransaction self.skipped_packages, rpmdb_problems, cmdline) File "/usr/lib/python2.7/site-packages/yum/history.py", line 828, in beg self.trans_with_pid(pid) File "/usr/lib/python2.7/site-packages/yum/history.py", line 719, in trans_with_pid VALUES (?, ?)""", (self._tid, pid)) File "/usr/lib/python2.7/site-packages/yum/sqlutils.py", line 168, in executeSQLQmark return cursor.execute(query, params) IntegrityError: trans_with_pkgs.tid may not be NULL Expected results: Normal update proceed. Additional info: