[Yum] Unable to install yum client on AIX
Kir Kolyshkin
kir at openvz.org
Mon Aug 27 18:03:19 UTC 2007
pvsaradhi at gmail.com 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.
More information about the Yum
mailing list