Originally posted by: mbojaczko
Hello, On AIX 7.1 the yum.sh script ends with "Yum installation failed.". At the end of the script i get this...
Installing the packages...
Preparing... ################################# [100%]
file /opt/freeware/64/lib from install of gdbm-1.8.3-5.ppc conflicts with file from package libjpeg-6b-6.ppc
file /opt/freeware/64 from install of gdbm-1.8.3-5.ppc conflicts with file from package libjpeg-6b-6.ppc
Yum installation failed.
Any help on this would be great. Below is what I see on the ftp site for these two packages..
Index of ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gdbm/
Up to higher level directory
Name Size Last Modified
File:gdbm-1.12-1.aix6.1.ppc.rpm 191 KB 10/30/2017 12:00:00 AM
File:gdbm-1.8.0-5.aix4.3.ppc.rpm 20 KB 4/17/2001 12:00:00 AM
File:gdbm-1.8.3-1.aix5.1.ppc.rpm 41 KB 11/24/2004 12:00:00 AM
File:gdbm-1.8.3-2.aix5.1.ppc.rpm 55 KB 12/15/2004 12:00:00 AM
File:gdbm-1.8.3-3.aix5.2.ppc.rpm 56 KB 9/8/2009 12:00:00 AM
File:gdbm-1.8.3-4.aix5.2.ppc.rpm 56 KB 9/9/2009 12:00:00 AM
File:gdbm-1.8.3-5.aix5.2.ppc.rpm 56 KB 9/11/2009 12:00:00 AM
File:gdbm-devel-1.12-1.aix6.1.ppc.rpm 46 KB 10/30/2017 12:00:00 AM
File:gdbm-devel-1.8.0-5.aix4.3.ppc.rpm 21 KB 4/17/2001 12:00:00 AM
File:gdbm-devel-1.8.3-1.aix5.1.ppc.rpm 22 KB 11/24/2004 12:00:00 AM
File:gdbm-devel-1.8.3-2.aix5.1.ppc.rpm 22 KB 12/15/2004 12:00:00 AM
File:gdbm-devel-1.8.3-3.aix5.2.ppc.rpm 22 KB 9/8/2009 12:00:00 AM
File:gdbm-devel-1.8.3-4.aix5.2.ppc.rpm 22 KB 9/9/2009 12:00:00 AM
File:gdbm-devel-1.8.3-5.aix5.2.ppc.rpm 22 KB 9/11/2009 12:00:00 AM
Index of ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/libjpeg/
Up to higher level directory
Name Size Last Modified
File:libjpeg-6b-5.aix4.3.ppc.rpm 166 KB 12/3/2002 12:00:00 AM
File:libjpeg-6b-6.aix5.1.ppc.rpm 261 KB 3/1/2004 12:00:00 AM
File:libjpeg-6b-7.aix6.1.ppc.rpm 630 KB 4/26/2018 12:03:00 PM
File:libjpeg-devel-6b-5.aix4.3.ppc.rpm 87 KB 12/3/2002 12:00:00 AM
File:libjpeg-devel-6b-6.aix5.1.ppc.rpm 87 KB 3/1/2004 12:00:00 AM
File:libjpeg-devel-6b-7.aix6.1.ppc.rpm 88 KB 4/26/2018 12:03:00 PM
And here is the output of yum.sh...
bash-4.2# ./yum.sh
Attempting download of rpm.rte & yum_bundle.tar ...
Installing rpm.rte at the latest version ...
This may take several minutes depending on the number of rpms installed...
+-----------------------------------------------------------------------------+
Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...
SUCCESSES
---------
Filesets listed in this section passed pre-installation verification
and will be installed.
Selected Filesets
-----------------
rpm.rte 4.13.0.4 # RPM Package Manager
<< End of Success Section >>
+-----------------------------------------------------------------------------+
BUILDDATE Verification ...
+-----------------------------------------------------------------------------+
Verifying build dates...done
FILESET STATISTICS
------------------
1 Selected to be installed, of which:
1 Passed pre-installation verification
----
1 Total to be installed
+-----------------------------------------------------------------------------+
Installing Software...
+-----------------------------------------------------------------------------+
installp: APPLYING software for:
rpm.rte 4.13.0.4
cpio: Cannot reset modification time for "/opt/freeware/lib/saveoldrpm/oldrpm/lib/librpm.so"
cpio: chown() failed on "/opt/freeware/lib/saveoldrpm/oldrpm/lib/librpm.so"
cpio: Cannot reset modification time for "/opt/freeware/lib/saveoldrpm/oldrpm/lib/librpm.so.0"
cpio: chown() failed on "/opt/freeware/lib/saveoldrpm/oldrpm/lib/librpm.so.0"
cpio: Cannot reset modification time for "/opt/freeware/lib/saveoldrpm/oldrpm/lib/librpmbuild.so"
cpio: chown() failed on "/opt/freeware/lib/saveoldrpm/oldrpm/lib/librpmbuild.so"
cpio: Cannot reset modification time for "/opt/freeware/lib/saveoldrpm/oldrpm/lib/librpmbuild.so.0"
cpio: chown() failed on "/opt/freeware/lib/saveoldrpm/oldrpm/lib/librpmbuild.so.0"
2344 blocks
. . . . . << Copyright notice for rpm.rte >> . . . . . . .
Licensed Materials - Property of IBM
5765H4000
Copyright International Business Machines Corp. 2000, 2018.
Copyright The Regents of the University of California, 1990, 1993, 1994.
Copyright Tom Dyas <tdyas@eden.rutgers.edu>, 1998.
Copyright W. L. Estes <wlestes@uncg.edu>, 1998.
Copyright Free Software Foundation, Inc., 1999-2014.
Copyright The Internet Society (1998).
Copyright Red Hat, Inc., 1998-2003, 2005, 2007, 2009-2011.
Copyright Red Hat Software, 1995-2002.
Copyright Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>, 2004.
Copyright System Design and Research, 2003.
All rights reserved.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
. . . . . << End of copyright notice for rpm.rte >>. . . .
##################################################################
This version of rpm installs files under the path /usr/opt/rpm.
More detailed information on new changes can be found in
/usr/opt/rpm/README file.
##################################################################
Converting old database format db1 to new database format db3.
Successfully converted old database format to new format.
Please wait...error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
Successfully updated the Kernel Authorization Table.
Successfully updated the Kernel Role Table.
Successfully updated the Kernel Command Table.
Successfully updated the Kernel Device Table.
Successfully updated the Kernel Object Domain Table.
Successfully updated the Kernel Domains Table.
Finished processing all filesets. (Total time: 42 secs).
+-----------------------------------------------------------------------------+
Summaries:
+-----------------------------------------------------------------------------+
Installation Summary
--------------------
Name Level Part Event Result
-------------------------------------------------------------------------------
rpm.rte 4.13.0.4 USR APPLY SUCCESS
rpm.rte 4.13.0.4 ROOT APPLY SUCCESS
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
error: incorrect format: unknown tag
Extracting yum_bundle.tar ...
x ca-certificates-2016.10.7-2.aix6.1.ppc.rpm, 214726 bytes, 420 media blocks.
x curl-7.52.1-1.aix6.1.ppc.rpm, 533288 bytes, 1042 media blocks.
x db-4.8.24-3.aix6.1.ppc.rpm, 2897799 bytes, 5660 media blocks.
x gdbm-1.8.3-5.aix5.2.ppc.rpm, 56991 bytes, 112 media blocks.
x gettext-0.19.7-1.aix6.1.ppc.rpm, 4036762 bytes, 7885 media blocks.
x glib2-2.14.6-2.aix5.2.ppc.rpm, 1686134 bytes, 3294 media blocks.
x pysqlite-1.1.7-2.aix6.1.ppc.rpm, 51749 bytes, 102 media blocks.
x python-2.7.10-1.aix6.1.ppc.rpm, 23333701 bytes, 45574 media blocks.
x python-devel-2.7.10-1.aix6.1.ppc.rpm, 15366474 bytes, 30013 media blocks.
x python-iniparse-0.4-1.aix6.1.noarch.rpm, 37912 bytes, 75 media blocks.
x python-pycurl-7.19.3-1.aix6.1.ppc.rpm, 162093 bytes, 317 media blocks.
x python-tools-2.7.10-1.aix6.1.ppc.rpm, 830446 bytes, 1622 media blocks.
x python-urlgrabber-3.10.1-1.aix6.1.noarch.rpm, 158584 bytes, 310 media blocks.
x readline-6.1-2.aix6.1.ppc.rpm, 489547 bytes, 957 media blocks.
x sqlite-3.15.2-1.aix6.1.ppc.rpm, 3570302 bytes, 6974 media blocks.
x yum-3.4.3-5.aix6.1.noarch.rpm, 1380725 bytes, 2697 media blocks.
x yum-metadata-parser-1.1.4-2.aix6.1.ppc.rpm, 62283 bytes, 122 media blocks.
Checking whether any of the rpms from yum_bundle are already installed ...
ca-certificates-2016.10.7-2 will be installed ...
curl-7.27.0-1 is installed. Updating to curl-7.52.1-1 ...
db-4.8.24-3 will be installed ...
gdbm-1.8.3-5 will be installed ...
gettext-0.10.40-6 is installed. Updating to gettext-0.19.7-1 ...
Package glib2-2.14.6-2 is already installed
pysqlite-1.1.7-2 will be installed ...
python-2.7.10-1 will be installed ...
python-devel-2.7.10-1 will be installed ...
python-iniparse-0.4-1 will be installed ...
python-pycurl-7.19.3-1 will be installed ...
python-tools-2.7.10-1 will be installed ...
python-urlgrabber-3.10.1-1 will be installed ...
Skipping readline-6.1-2 as higher version is already installed.
Please make sure these packages are from the Toolbox as there is no guarantee that
third party packages are compatible with Toolbox packages.
sqlite-3.15.2-1 will be installed ...
yum-3.4.3-5 will be installed ...
yum-metadata-parser-1.1.4-2 will be installed ...
Installing the packages...
Preparing... ################################# [100%]
file /opt/freeware/64/lib from install of gdbm-1.8.3-5.ppc conflicts with file from package libjpeg-6b-6.ppc
file /opt/freeware/64 from install of gdbm-1.8.3-5.ppc conflicts with file from package libjpeg-6b-6.ppc
Yum installation failed.
If the failure was due to a space issue, increase the size of /opt and re-run yum.sh
or install the downloaded packages from /tmp/yum-20180928095832 manually.
Another reason for failure could be mixing of Toolbox packages and packages from other sources.
Here are some libjpeg releated files I found...
bash-4.2# whereis libjpeg
libjpeg: /usr/lib/libjpeg.a
bash-4.2# ls -la /usr/lib/libjpeg.a
lrwxrwxrwx 1 root system 32 Oct 29 2015 /usr/lib/libjpeg.a -> ../../opt/freeware/lib/libjpeg.a
bash-4.2# ls -la /opt/freeware/lib/libjpeg.a
-rwxr-xr-x 1 root system 527001 Feb 12 2004 /opt/freeware/lib/libjpeg.a
Here is the file from the CPIO error...
bash-4.2# cd /opt/freeware/lib/saveoldrpm/oldrpm/lib/
bash-4.2# ls -la librpmbuild.so*
lrwxrwxrwx 1 root system 20 Sep 28 10:00 librpmbuild.so -> librpmbuild.so.0.0.0
lrwxrwxrwx 1 root system 20 Sep 28 10:00 librpmbuild.so.0 -> librpmbuild.so.0.0.0
-rwxr-xr-x 1 root system 199091 Dec 14 2015 librpmbuild.so.0.0.0
bash-4.2#
Thanks, Mike