Problem installing YUM on AIX

Rodrigo Belli <[email protected]> Thu, 18 May 2017 14:23:34 +0000
Newsgroups gmane.linux.rpm.yum
Message-ID <CAE37BNgDNgo9Tgt4iBo9eyA_Ya5n3N7MbcsYV7YhM0Fp0pRJUg@mail.gmail.com>
--===============1397091810866257472==
Content-Type: multipart/alternative; boundary="001a11435ed8fec450054fcd26b2"

--001a11435ed8fec450054fcd26b2
Content-Type: text/plain; charset="UTF-8"

Hello, I'm starting with AIX and YUM and when tryed to use yum the problem
below was shown:

server:/tmp/yum/bundle$ yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   Could not load module
/opt/freeware/lib/python2.7/site-packages/rpm/_rpmmodule.so.
        Dependent module /opt/freeware/lib64/libpython2.7.a(libpython2.7.so)
could not be loaded.
        The module has an invalid magic number.
Could not load module
/opt/freeware/lib/python2.7/site-packages/rpm/_rpmmodule.so.
        Dependent module
/opt/freeware/lib/python2.7/site-packages/rpm/_rpmmodule.so could not be
loaded.

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.7.13 (default, Jan 16 2017, 14:19:45) [C]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://yum.baseurl.org/wiki/Faq

Please, could anyone help me?

Thanks in advance!

Rodrigo

--001a11435ed8fec450054fcd26b2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello, I&#39;m starting with AIX and YUM and when tryed to=
 use yum the problem below was shown:<div><br></div><div><div><font face=3D=
"monospace">server:/tmp/yum/bundle$ yum</font></div><div><font face=3D"mono=
space">There was a problem importing one of the Python modules</font></div>=
<div><font face=3D"monospace">required to run yum. The error leading to thi=
s problem was:</font></div><div><font face=3D"monospace"><br></font></div><=
div><font face=3D"monospace">=C2=A0 =C2=A0Could not load module /opt/freewa=
re/lib/python2.7/site-packages/rpm/_rpmmodule.so.</font></div><div><font fa=
ce=3D"monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 Dependent module /opt/freeware=
/lib64/libpython2.7.a(<a href=3D"http://libpython2.7.so">libpython2.7.so</a=
>) could not be loaded.</font></div><div><font face=3D"monospace">=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 The module has an invalid magic number.</font></div><d=
iv><font face=3D"monospace">Could not load module /opt/freeware/lib/python2=
.7/site-packages/rpm/_rpmmodule.so.</font></div><div><font face=3D"monospac=
e">=C2=A0 =C2=A0 =C2=A0 =C2=A0 Dependent module /opt/freeware/lib/python2.7=
/site-packages/rpm/_rpmmodule.so could not be loaded.</font></div><div><fon=
t face=3D"monospace"><br></font></div><div><font face=3D"monospace">Please =
install a package which provides this module, or</font></div><div><font fac=
e=3D"monospace">verify that the module is installed correctly.</font></div>=
<div><font face=3D"monospace"><br></font></div><div><font face=3D"monospace=
">It&#39;s possible that the above module doesn&#39;t match the</font></div=
><div><font face=3D"monospace">current version of Python, which is:</font><=
/div><div><font face=3D"monospace">2.7.13 (default, Jan 16 2017, 14:19:45) =
[C]</font></div><div><font face=3D"monospace"><br></font></div><div><font f=
ace=3D"monospace">If you cannot solve this problem yourself, please go to</=
font></div><div><font face=3D"monospace">the yum faq at:</font></div><div><=
font face=3D"monospace">=C2=A0 <a href=3D"http://yum.baseurl.org/wiki/Faq">=
http://yum.baseurl.org/wiki/Faq</a></font></div></div><div><br></div><div>P=
lease, could anyone help me?</div><div><br></div><div>Thanks in advance!</d=
iv><div><br></div><div>Rodrigo</div><div><br></div></div>

--001a11435ed8fec450054fcd26b2--

--===============1397091810866257472==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Yum mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum

--===============1397091810866257472==--