Originally posted by: makath99
I am trying to install samba v4 using the AIX yum package manager.
yum was installed from the AIX toolbox, and installed ok. The yum repositories can be queried and used by the yum manager.
When I try to install samba, I get quite a few unresolved dependencies and samba fails to install. I have attempted to install some of them manually/individually, and have had mixed success.
One of the packages it requires is dbus. Here's the output from dbus deplist:
root:e360_test:/:# yum deplist dbus
Finding dependencies:
package: dbus.ppc 1.12.16-1
dependency: /usr/bin/env
Unsatisfied dependency
dependency: expat >= 2.2.4
provider: expat.ppc 2.2.9-1
dependency: libX11.a(shr4.o)
Unsatisfied dependency
dependency: libX11.a(shr_64.o)
Unsatisfied dependency
dependency: libc.a(shr.o)
Unsatisfied dependency
dependency: libc.a(shr_64.o)
Unsatisfied dependency
dependency: libexpat.a(libexpat.so.1)
provider: expat.ppc 2.2.9-1
dependency: libgcc >= 6.3.0-1
provider: libgcc.ppc 8.3.0-1
dependency: libgcc_s.a(shr.o)
provider: libgcc6.ppc 6.3.0-1
provider: libgcc.ppc 8.3.0-1
dependency: libpthread.a(shr_xpg5.o)
Unsatisfied dependency
dependency: libpthread.a(shr_xpg5_64.o)
Unsatisfied dependency
Note the dependencies like /usr/bin/env. This is installed and is part of bos.rte.shell
root:e360_test:/:# lslpp -w /usr/bin/env
File Fileset Type
----------------------------------------------------------------------------
/usr/bin/env bos.rte.shell File
For libX11.a, I installed the X11 packages required to install this library (even though this LPAR doesn't need them, grrrr):
root:e360_test:/:# lslpp -w /usr/lib/libX11.a
File Fileset Type
----------------------------------------------------------------------------
/usr/lib/libX11.a X11.base.lib Symlink
dbus deplist still fails. I did some googling and found that perhaps my virtual package AIX-rpm was out of date. So I updated it:
root:e360_test:/:# rpm -qa | grep AIX
AIX-rpm-7.2.4.0-7.ppc
root:e360_test:/:# updtvpkg
Please wait...
root:e360_test:/:# rpm -qa | grep AIX
AIX-rpm-7.2.4.0-8.ppc
deplist still fails:
root:e360_test:/:# yum deplist dbus
Finding dependencies:
package: dbus.ppc 1.12.16-1
dependency: /usr/bin/env
Unsatisfied dependency
dependency: expat >= 2.2.4
provider: expat.ppc 2.2.9-1
dependency: libX11.a(shr4.o)
Unsatisfied dependency
dependency: libX11.a(shr_64.o)
Unsatisfied dependency
dependency: libc.a(shr.o)
Unsatisfied dependency
dependency: libc.a(shr_64.o)
Unsatisfied dependency
dependency: libexpat.a(libexpat.so.1)
provider: expat.ppc 2.2.9-1
dependency: libgcc >= 6.3.0-1
provider: libgcc.ppc 8.3.0-1
dependency: libgcc_s.a(shr.o)
provider: libgcc6.ppc 6.3.0-1
provider: libgcc.ppc 8.3.0-1
dependency: libpthread.a(shr_xpg5.o)
Unsatisfied dependency
dependency: libpthread.a(shr_xpg5_64.o)
Unsatisfied dependency
root:e360_test:/:#
Libc.a also installed:
root:e360_test:/:# ls -l /usr/lib/libc.a
lrwxrwxrwx 1 bin bin 19 Feb 18 11:50 /usr/lib/libc.a -> /usr/ccs/lib/libc.a
root:e360_test:/:#
root:e360_test:/:# lslpp -w /usr/lib/libc.a
File Fileset Type
----------------------------------------------------------------------------
/usr/lib/libc.a bos.rte.libc Symlink
This is just one of many. Something wrong here no doubt. I have tried it on two different LPARs with exactly the same result.
Current levels:
root:e360_test:/:# lslpp -L rpm.rte
Fileset Level State Type Description (Uninstaller)
----------------------------------------------------------------------------
rpm.rte 4.13.0.11 C F RPM Package Manager
root:e360_test:/:# oslevel -s
7200-04-01-1939
root:e360_test:/:# yum --version
3.4.3
Installed: yum-3.4.3-7.noarch at 2020-02-20 03:21
Built : None at 2019-03-04 11:12
Committed: Sangamesh Mallayya <sangamesh.swamy@in.ibm.com> at 2019-03-05
root:e360_test:/:#
Any help greatly appreciated. Thanks.