Dear Hans, now, in the source tree, the patch was done but the error continues. See the output when I call yum: [root@Marcos yum-2.3.4]# patch -p0 < yum-import-error-fix2.diff patching file bin/yum.py [root@Marcos yum-2.3.4]# yum The yum libraries do not seem to be available on your system for this version of python 2.4.1 (#1, May 16 2005, 15:19:29) [GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] Please make sure the package you used to install yum was built for your install of python. [root@Marcos yum-2.3.4]# Thanks, Marcos Hans-Peter Jansen wrote: >Am Mittwoch, 13. Juli 2005 19:32 schrieb Marcos Roberto Silva: > > >>What am I doing wrong? >> >>[root@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@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 >_______________________________________________ >Yum mailing list >Yum@xxxxxxxxxxxxxxxxxxxx >https://lists.dulug.duke.edu/mailman/listinfo/yum > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.dulug.duke.edu/pipermail/yum/attachments/20050713/3257e76f/attachment.htm