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 Sorry about my newbie question. Best regards. Marcos Matthew Miller wrote: >On Wed, Jul 13, 2005 at 05:03:37PM +0200, Hans-Peter Jansen wrote: > > >>The yum libraries do not seem to be available on your system >>for this version of python: 2.4 (#1, Mar 22 2005, 21:42:42) >>[GCC 3.3.5 20050117 (prerelease) (SUSE Linux)] >> >> > > >How useful is it really to have this version information here? > >Since this is only triggered by an import error, how about a more specific >message? Well, and since not necessarily an error with the yum module >itself, a message which is also more general: > > There was a problem importing one of the Python modules > required to run yum. The error leading to this problem was: > > No module named libxml2mod > > Please install a package which provides this module, or > verify that the module is installed correctly. > > >Optionally, if the version information is really helpful, add: > > It's possible that the above module doesn't match the > current version of Python, which is: 2.3.4 (#1, Feb 2 2005, 12:11:53) > [GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.dulug.duke.edu/pipermail/yum/attachments/20050713/e4c30dd1/attachment.htm