10-19-2014
As Michael Perzl says on his site (the link you quoted) yum needs rpm version 4.4 and above. AIX uses rpm version 3, so there is no real remedy for this. MP offers a - not ideal, but feasible - remedy: cycle through the packages, listing every prerequisite of each, collect the output into file and use sort and uniq to remove duplicates.
AIX has its own packaging system (installp) and rpm was just included as an effort to "look open", back then in ~2000 with AIX 5 and the "Linux compatibility Initiative". This was more a marketing hype by IBM than a genuine effort to make their product better. It stll is.
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Env: Mdk 8.1
I downloaded the kernel-source-2.4.8-26mdk.i586.rpm
from mandrake. When i try to 'pm -Uv' it, i get an error
that i need to install ncurses-devel. The ncurses that is installed
with mdk 8.1 is ncurses-5.2-16mdk.i586.rpm and the development version that is avail is... (2 Replies)
Discussion started by: progressdll
2 Replies
2. AIX
I downloaded gcc-cplusplus-4.0.0-1.aix5.2.ppc.rpm from IBM AIX Toolbox Download Page - Alphabetical Listing
but:
-bash-3.00# rpm -ivh gcc-cplusplus-4.0.0-1.aix5.2.ppc.rpm
error: gcc-cplusplus-4.0.0-1.aix5.2.ppc.rpm cannot be installed
I can't understand wht kind of error is it... Can be... (1 Reply)
Discussion started by: untamed
1 Replies
3. Linux
Hi,
I have built one RPM last year. now we have another version of that RPM. in previous release we had few extra files then now. so when user upgrade it those files get deleted by RPM package. We want to retain those files.
now for workaround i thought of backing up those file during... (0 Replies)
Discussion started by: ajayyadavmca
0 Replies
4. UNIX for Advanced & Expert Users
Can the root hide some of the results of the above commands from a regular user? i.e. $>rpm and $>sudo rpm will give different results (1 Reply)
Discussion started by: noam128
1 Replies
5. AIX
Posting to hopefully help the next person googling this issue. The perl.prov script in RPM 3.0.5 from the AIX Toolbox for Linux is horribly broken. It fails under the following circumstances:
If a Perl module has improperly-terminated POD, it will skip over valid definitions. This can start... (0 Replies)
Discussion started by: alakaboo
0 Replies
6. Shell Programming and Scripting
How to make RPM not write to RPM database if RPM fails to deploy?
IE I create an rpm spec file that contains the following
if
then
exit 1
fi
My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies
7. Fedora
Hi Guys,
Where would i find the list of distribution codes.
For example.
samba-32bit-3.4.2 -1.1.3.1.x8664.rpm
In above rpm file it is indicated that its release is 1.1.3.1 .
The rpm is meant to be run for opensuse.
Where would i get the linking of release number and distribution.
... (2 Replies)
Discussion started by: pinga123
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
Using Redhat version 6.0, I need nmap so I have downloaded. But it requires many other dependencies, when I try to install it. See below err.msg. Is there any other way to get this installed, or I need to download each of the dependencies.
rpm -Uhv nmap-5.51-2-mdv2011.0.x86_64.rpm... (3 Replies)
Discussion started by: samnyc
3 Replies
9. AIX
Hello,
I was trying to install python on aix and it was taking too long and I closed the terminal.
Now when i issue the command rpm -qa instead of getting all the rpms installed I'm getting the following error.
root:stud -> $ rpm -qa
cannot get shared lock on database
rpmQuery: rpmdbOpen()... (2 Replies)
Discussion started by: gaugeta
2 Replies
10. AIX
I am trying to install an rpm : libiconv-1.14-1.aix5.1.ppc.rpm which is a dependency to install GIT.
While I gave the command I got the foll message:
root:user-> $ rpm -i -v libiconv-1.14-1.aix5.1.ppc.rpm
libiconv-1.14-1
ar: Cannot open or remove a file containing a running program.... (2 Replies)
Discussion started by: gaugeta
2 Replies
LEARN ABOUT CENTOS
makedeltarpm
MAKEDELTARPM(8) System Manager's Manual MAKEDELTARPM(8)
NAME
makedeltarpm - create a deltarpm from two rpms
SYNOPSIS
makedeltarpm [-v] [-V version] [-z compression] [-m mbytes] [-s seqfile] [-r] [-u] oldrpm newrpm deltarpm
makedeltarpm [-v] [-V version] [-z compression] [-s seqfile] [-u] -p oldrpmprint oldpatchrpm oldrpm newrpm deltarpm
DESCRIPTION
makedeltarpm creates a deltarpm from two rpms. The deltarpm can later be used to recreate the new rpm from either filesystem data or the
old rpm. Use the -v option to make makedeltarpm more verbose about its work (use it twice to make it even more verbose).
If you want to create a smaller and faster to combine "rpm-only" deltarpm which does not work with filesystem data, specify the -r option.
makedeltarpm normally produces a V3 format deltarpm, use the -V option to specify a different version if desired. The -z option can be used
to specify a different compression method, the default is to use the same compression method as used in the new rpm.
The -s option makes makedeltarpm write out the sequence id to the specified file seqfile.
If you also use patch rpms you should use the -p option to specify the rpm-print of oldrpm and the created patch rpm. This option tells
makedeltarpm to exclude the files that were not included in the patch rpm but are not byteswise identical to the ones in oldrpm.
makedeltarpm can also create an "identity" deltarpm by adding the -u switch. In this case only one rpm has to be specified. An identity
deltarpm can be useful to just replace the signature header of a rpm or to reconstruct a rpm from the filesystem.
MEMORY CONSIDERATIONS
makedeltarpm normally needs about three to four times the size of the rpm's uncompressed payload. You can use the -m option to enable a
sliding block algorithm that needs mbytes megabytes of memory. This trades memory usage with the size of the created deltarpm. Furthermore,
the uncompressed deltarpm payload is currently also stored in memory when this option is used, but it tends to be small in most cases.
SEE ALSO
applydeltarpm(8) combinedeltarpm(8)
AUTHOR
Michael Schroeder <mls@suse.de>
Jul 2010 MAKEDELTARPM(8)