[FZH] yum 坏了,

CyrusYzGTt cyrushmh at fedoraproject.org
Sat Mar 31 13:22:36 UTC 2012


插件問題,你先禁用 presto再試試。。我在f16的yum-axelget也出現這個問題到
現在不知道怎麼修復。。
于 2012年03月30日 22:29, Yu Chen 写道:
> F17 刚才yum update 了一下,出来下面的信息,然后就不动了。
>
> 有同学碰到过这样的问题吗?有没有办法修好啊?
>
>
> Transaction Summary
> ================================================================================
> Install              ( 1 Dependent package)
> Upgrade  14 Packages
>
> Total download size: 17 M
> 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'
>
> ~ yu
> --
> Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese



More information about the Chinese mailing list