Bug 808343

Summary: yum error while updating
Product: [Fedora] Fedora Reporter: frywalker <fry.futurateam>
Component: 0xFFFFAssignee: Seth Vidal <skvidal>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: bkabrda, dwmw2, ffesti, james.antill, maxamillion, pmatilai, tla, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-30 08:43:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description frywalker 2012-03-30 08:00:11 UTC
Description of problem: 'yum update' generate an blocked error


Version-Release number of selected component (if applicable): yum-3.4.3-18.fc17.noarch


How reproducible: do a 'yum update' with or whithout parameters


Steps to Reproduce:
1. 'yum update'
2. 'y' to accept
3. error !
  
Actual results:

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'




Expected results:

'downloading packages' -> 'installing packages' -> 'verifying packages'


Additional info:
no ctrl-c possible, thread blocked, need to process to free 'yum' in root mode

Comment 1 frywalker 2012-03-30 08:03:26 UTC
ls /etc/yum.repos.d/

adobe-linux-x86_64.repo  fedora-updates-testing.repo  rpmfusion-free-updates-testing.repo  rpmfusion-nonfree-updates-testing.repo
fedora-chromium.repo     rpmfusion-free-rawhide.repo  rpmfusion-nonfree-rawhide.repo       rpm-sphere.repo
fedora.repo              rpmfusion-free.repo          rpmfusion-nonfree.repo
fedora-updates.repo      rpmfusion-free-updates.repo  rpmfusion-nonfree-updates.repo

Comment 2 Bohuslav "Slavek" Kabrda 2012-03-30 08:27:08 UTC
Experiencing this as well. This is probably just a typo, the minus sign should be underscore (it is supposed to translate the string, right?).

Comment 3 Zdeněk Pavlas 2012-03-30 08:43:30 UTC

*** This bug has been marked as a duplicate of bug 808130 ***