pkgsrc-Users archive

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

Re: [PATCH] fix OS release identification in pkg_install on aix



On Fri, 19 Feb 2016, Joerg Sonnenberger wrote:
On Fri, Feb 19, 2016 at 12:37:04AM -0600, J Raynor wrote:
pkg_install doesn't correctly identify the OS release on aix, leading
to the following warning when installing a package:
Right, it was puzzling and noone could ever tell me to properly identify
the AIX version :)

The 'oslevel' command is probably what you want. In AIX 4.3 it will only function without any arguments. In later versions of AIX you can use the '-r' or '-s' flags to get more or less information. However, all versions support simply issuing "oslevel" and getting back a standard version string.

The meaning of each field in the version string is explained by IBM here:

http://tinyurl.com/j44e99q

Sorry for butting-in, I hope this helps.

-Swift


Home | Main Index | Thread Index | Old Index