I do a minimal installation and install yum. But : $ yum update Traceback (most recent call last): File "/usr/bin/yum", line 22, in ? import yummain File "yummain.py", line 30, in ? File "yumcomps.py", line 4, in ? File "comps.py", line 5, in ? ImportError: No module named libxml2
$ rpm -q --requires yum /bin/sh /bin/sh /bin/sh /sbin/chkconfig /sbin/service /usr/bin/python config(yum) = 2.0-1 gettext python rpm-python >= 4.2 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
The yum rpm miss libxml2-python dependency.
$ rpm -i libxml2-python-2.5.8-3.i386.rpm libxml2-2.5.8-3.i386.rpm
And yum work fine :-)
There is no component for yum in bugzilla ("Red Hat Rawhide" and "Red Hat Linux Beta").
On Sun, 2003-08-10 at 00:00, Féliciano Matias wrote:
I do a minimal installation and install yum. But : $ yum update Traceback (most recent call last): File "/usr/bin/yum", line 22, in ? import yummain File "yummain.py", line 30, in ? File "yumcomps.py", line 4, in ? File "comps.py", line 5, in ? ImportError: No module named libxml2
<grumble> Thanks - I'll get this one fixed pronto.
$ rpm -i libxml2-python-2.5.8-3.i386.rpm libxml2-2.5.8-3.i386.rpm
And yum work fine :-)
There is no component for yum in bugzilla ("Red Hat Rawhide" and "Red Hat Linux Beta").
you can file them at https://devel.linux.duke.edu/bugzilla/ or wait until someone makes a yum component in rh bugzilla.
either way I'll find them.
-sv
On Sun, 2003-08-10 at 00:09, seth vidal wrote:
On Sun, 2003-08-10 at 00:00, Féliciano Matias wrote:
I do a minimal installation and install yum. But : $ yum update Traceback (most recent call last): File "/usr/bin/yum", line 22, in ? import yummain File "yummain.py", line 30, in ? File "yumcomps.py", line 4, in ? File "comps.py", line 5, in ? ImportError: No module named libxml2
<grumble> Thanks - I'll get this one fixed pronto.
well, actually, this one is fixed - in the yum from http://linux.duke.edu/yum/ - should be fixed in yum-2.0.1 due out soonish.
-sv
Le dim 10/08/2003 à 06:09, seth vidal a écrit :
you can file them at https://devel.linux.duke.edu/bugzilla/ or wait until someone makes a yum component in rh bugzilla.
I hope this will append soon.
$ rpm -q -i -p yum-2.0-1.noarch.rpm [...] Packager : Red Hat, Inc. http://bugzilla.redhat.com/bugzilla [...]
Or RedHat should do a better use of this field :-)
either way I'll find them.
-sv
On Sun, Aug 10, 2003 at 12:12:08AM -0400, seth vidal wrote:
On Sun, 2003-08-10 at 00:09, seth vidal wrote:
On Sun, 2003-08-10 at 00:00, Féliciano Matias wrote:
I do a minimal installation and install yum. But : $ yum update Traceback (most recent call last): File "/usr/bin/yum", line 22, in ? import yummain File "yummain.py", line 30, in ? File "yumcomps.py", line 4, in ? File "comps.py", line 5, in ? ImportError: No module named libxml2
<grumble> Thanks - I'll get this one fixed pronto.
well, actually, this one is fixed - in the yum from http://linux.duke.edu/yum/ - should be fixed in yum-2.0.1 due out soonish.
Apparently it's also fixed in the Rawhide version, I see the following in our spec Changelog: * Wed Jul 23 2003 Nalin Dahyabhai nalin@redhat.com - require libxml2-python, because yum does And the spec file contains the libxml2-python requires ...
Daniel