[Yum] yum error before upgrade of Fedora

Hans-Peter Jansen hpj at urpla.net
Wed Jul 13 20:10:50 UTC 2005


Am Mittwoch, 13. Juli 2005 19:32 schrieb Marcos Roberto Silva:
> What am I doing wrong?
>
> [root at Marcos marcos]# patch -p0 < yum-import-error-fix2.diff
> can't find file to patch at input line 3
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
>
> |--- bin/yum.py.orig    2005-06-30 09:26:32.296304798 +0200
> |+++ bin/yum.py 2005-06-30 10:08:45.730858194 +0200
>
> --------------------------
> File to patch:
> [root at Marcos marcos]# exit

patch cannot locate a bin/yum.py file. Are you inside a yum source tree?

cd yum-2.3.4
patch -p0 < yum-import-error-fix2.diff

should work (also for older 2.3 versions). 

You might also try yum-import-exception.diff from my last message, 
though. It has the highest possibility of getting merged (I think).

Pete



More information about the Yum mailing list