curious: yum-presto prevents from updating in F17 by yum?

Joachim Backes joachim.backes at rhrk.uni-kl.de
Thu Mar 29 16:21:17 UTC 2012


Hi,

somebody has seen this too: "yum update" fails:

----------------------- snip -----------------------------------------
sudo yum update --exclude=NetworkManager*
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'


----------------------- snip -----------------------------------------

/Workaround: UNinstalling yum-presto helps/

-- 
Joachim Backes <joachim.backes at rhrk.uni-kl.de>

http://www.rhrk.uni-kl.de/~backes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4750 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.fedoraproject.org/pipermail/test/attachments/20120329/8220dc6a/attachment.p7s>


More information about the test mailing list