Re: Unable to install yum client on AIX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you Kir for your response.
Installing python on AIX required several other dependencies. I have finally got the python installed. However, I could not find libxml2-python package for AIX. I tried installing yum ignoring this dependency, however, yum client does not work without libxml2-python.
 
Do you know where I could get this libxml2-python package for AIX?
Thank you,
Best Regards,
Saradhi.


 
On 8/27/07, Kir Kolyshkin <kir@xxxxxxxxxx> wrote:
pvsaradhi@xxxxxxxxx wrote:
> Greetings:
>
> I am prototyping YUM tool for RPM package management in my network, it
> works great on Linux machines. My environment also includes other
> flavors of UNIX: AIX, Solaris, and HP-UX. I tried to extend YUM to
> these flavors of UNIX and could not get YUM to install on AIX server
> (I haven't tried other flavors yet, but am guessing I would have
> similar problems).
>
> Following is the output I get when trying to install yum on AIX server:
> AIXSVR:/home/saradhi#rpm -ivh yum-2.0.8-1.noarch.rpm
> error: failed dependencies:
>         /bin/bash   is needed by yum-2.0.8-1
>         /sbin/chkconfig   is needed by yum-2.0.8-1
>         /sbin/service   is needed by yum-2.0.8-1
>         /usr/bin/python   is needed by yum-2.0.8-1
>         libxml2-python is needed by yum-2.0.8-1
>         python is needed by yum-2.0.8-1
>         rpm >= 0:4.1.1 is needed by yum-2.0.8-1
>         rpm-python is needed by yum-2.0.8-1
> AIXSVR:/home/saradhi#
>
> I can download bash and python from IBM site, however I could not
> find /sbin/chkconfig and /sbin/service for AIX.
>
> Could someone please help me resolve this problem.
>
This is because yum rpm package does some post-installation trickery
using the above two (redhat-specific -- that hints me you took this rpm
from some Red Hat or Fedora distro) script.

I guess you have two options here:
1. (after satisfying all the other dependencies) run rpm -ihv --nodeps
--noscripts yum*.rpm to avoid rpm complaining about missing deps, and
not running post-install scripts. This should not affect basic yum
functionality -- will work anyway.
2. Rebuild yum.rpm, removing those deps and removing chkconfig and
service calls from postinstall scripts.
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux