Sponsored Content
Operating Systems AIX Install RPM from NIM LPP without smitty Post 302900459 by n.i.b on Wednesday 7th of May 2014 02:54:46 AM
Old 05-07-2014
Install RPM from NIM LPP without smitty

I want to install single RPM from LPP on NIM system without doing it interactively (with single non-interactive command), so I 'got' that command from smitty this way:


# smitty nim > Install and Update Software > Install Software

Code:
Select the LPP_SOURCE containing the install images

> RPMS_AIX53          resources       lpp_source

Software to Install [F4]

Code:
  sudo
    @@R:sudo-1.6.9p23-2 1.6.9p23-2
>   @@R:sudo-1.6.9p23-2noldap 1.6.9p23-2noldap

Code:
* LPP_SOURCE             RPMS_AIX53
* Software to Install   [@@R:sudo-1.6.9p23-2noldap 1.6.9p23-2noldap]

After pressing F6 now I get the command.


Code:
+--------------------------------------------------------------------------+
|                           SHOW COMMAND STRING                            |
|                                                                          |
| Press Enter or Cancel to return to the                                   |
| application.                                                             |
|                                                                          |
|   /usr/lpp/bos.sysmgt/nim/methods/c_sm_nim cust  -l 'RPMS_AIX53' -o '@@R |
|   :sudo-1.6.9p23-2noldap 1.6.9p23-2noldap' -f '' -f '' -f '' -f 'c' -f ' |
|   N' -f 'g' -f 'X' -f '' -f ''                                           |
|                                                                          |
| F1=Help                 F2=Refresh              F3=Cancel                |
| F8=Image                F10=Exit                Enter=Do                 |
+--------------------------------------------------------------------------+

... but when I type this command in terminal, I get this error:

Code:
# /usr/lpp/bos.sysmgt/nim/methods/c_sm_nim cust  -l 'RPMS_AIX53' -o '@@R:sudo-1.6.9p23-2noldap 1.6.9p23-2noldap' -f '' -f '' -f 'Y' -f 'c' -f 'N' -f 'g' -f 'X' -f '' -f ''
0042-001 nimclient: processing error encountered on "c003s1154":
   0042-175 c_showres: An unexpected result was returned by the "/usr/lib/instl/sm_inst" command:

0042-231 c_sm_nim:  Unable to generate the formatted list of software
to install.

What am I doing wrong?
 

10 More Discussions You Might Find Interesting

1. AIX

Linux install from NIM

Has anyone ever done this and is it easy to do with SLES9/10? All I can find so far is this link http://www-941.ibm.com/collaboration/wiki/display/Wikip5/16Jan07+Using+NIM+to+Install+VIO+and+Linux Can you still use all the feature of autoyast etc? TIA. (1 Reply)
Discussion started by: backslash
1 Replies

2. AIX

NIM install hangs on LED 0608

Hi guys, I am trying to install a new machine via nim but it is hanging on 0608 => it should be a network issue here the situation hoping you will be able to help: server NIM on a subnet/IP 10.36.12.64 client on 161.43.56.25 the ping test is successful but when I launch the isntall it... (9 Replies)
Discussion started by: touny
9 Replies

3. Shell Programming and Scripting

How to install expect rpm?

Hi , I am tryin to install expect rpm on my linux machine. I have the source file expect-5.42.1-1.src.rpm I am doin this rpm -ivh expect-5.42.1-1.src.rpm But I am gettin this error warning: expect-5.42.1-1.src.rpm: V3 DSA signature : NOKEY, key ID db42a60e error: cannot... (1 Reply)
Discussion started by: eamani_sun
1 Replies

4. SuSE

How to install .src.rpm ? ( source rpm )

Hi, I have got few RPM's from rpmfind.net ( mainly gcc ). But it seems to be src files instead of the image. so I think we have to build the src files according to target machine using rpmbuild. Can any one help me with 1) Various options of rpm build that have to be taken care 2)... (3 Replies)
Discussion started by: Sivaswami
3 Replies

5. AIX

AIX 5.1 install bos.sysmgt.nim.master failed

I was trying to install bos.sysmgt.nim.master on AIX 5.1 with a mounted NFS source, but it failed: # installp -agXd /nfs/aix51cd1 bos.sysmgt.nim.master installp: APPLYING software for: bos.sysmgt.nim.master 5.1.0.50 restore: 0511-123 The volume on... (0 Replies)
Discussion started by: ezlee
0 Replies

6. UNIX for Dummies Questions & Answers

RPM uninstall/install

Running FC5 on a Dell desktop. When I compile a LaTex file, it goes fine but only outlines blank boxes where figs should be. When I send the figs.eps and Tex file to a friend, his compiles and imbeds the fig. in the text of the DVI output using my files without add'nl control cards. I conclude... (1 Reply)
Discussion started by: blann
1 Replies

7. UNIX for Dummies Questions & Answers

RPM install problem

I'm trying to install mysql on a server, but I keep getting an error. Can anyone offer any help? Below I've listed a bunch of info that you might find helpful. Here are the commands I'm using. $ ls MySQL-client-community-5.1.35-0.rhel3.i386.rpm... (2 Replies)
Discussion started by: wsetchell
2 Replies

8. AIX

OS install from NIM fails

Hi Guys, The ping is failing SMS menu on the client to the interface for a network boot from NIM. I checked the cables, they are plugged in and lights are blinking. this is the error i am getting when I am pushing the OS on NIM Command: OK stdout: yes stderr: no ... (2 Replies)
Discussion started by: ithinksgreen
2 Replies

9. AIX

NIM - install up-to-date VIOS ?

Hello, Is it possible to install up-to-date vios in one NIM operation ? For example I have vios v2.1 DVD and current vios version is v2.2.1.3(we update to fixpack v2.2.1.1_FP25 and apply service pack 2.2.1.3-FP25-SP01) I know it's possible if we install AIX using NIM - we just update... (0 Replies)
Discussion started by: vilius
0 Replies

10. AIX

Install software in another directory with smitty install

Hello, I would like to ask if someone knows if is possible to install sofware via smitty or installp in another directorie , or we have to accept the default location? i would like to intall in /opt folder , but smitty installed it in /usr Thanks in advance (4 Replies)
Discussion started by: prpkrk
4 Replies
CheckInstall(8) 					      System Manager's Manual						   CheckInstall(8)

NAME
checkinstall -- Track installation of local software, and produce a binary manageable with your package management software. SYNOPSIS
checkinstall [options] [install command] DESCRIPTION
checkinstall is a program that monitors an installation procedure (such as make install, install.sh ), and creates a standard package for your distribution (currently deb, rpm and tgz packages are supported) that you can install through your distribution's package management system (dpkg, rpm or installpkg). Note that for most useful actions, checkinstall must be run as root. OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes ('-'). A summary of options is included below. All the options that toggle a switch default to activate the option. To force activation or deactivation, call them with '=yes' or '=no'. As an example, to disable stripping use --strip=no. -h --help Show summary of options. --version Show version information. --copyright Show Copyright information --type Choose packaging system. Can be one of 'slackware', 'debian' or 'rpm'. -D Create a Debian package. -R Create a RPM package. -S Create a Slackware Package. --install Toggle installation of the created package. --fstrans Enable/disable filesystem translation. Filesystem translation enabled causes the install to proceed in a temporary directory, thus not actually touching your system. -y --default Accept default answers to all questions. --pkgname Set the package name. --pkgversion Set package version. -A --arch --pkgarch Set package architecture. --pkgrelease Set the package release. --pkglicense Set package license. --pkggroup Set the package group. --pkgsource Set source location --pkgaltsource Set alternate source location --pakdir Where to save the new package. --maintainer Set the package maintainer. Be careful to correctly quote/escape the name, to prevent shell expansion --provides Features provided by this package (currently only on RPM and Deb). --requires Dependencies required by this package. --rpmflags Pass this flags to the rpm installer. --rpmi Use the -i flag when installing a rpm. --rpmu Use the -U flag when installing a rpm. --dpkgflags Pass this flags to the dpkg installer --spec Where the .spec file is located --nodoc Do not include documentation files. -d Set debug level. Must be one of 0, 1 and 2. -si Run an interactive install command --showinstall Toggle interactive install command. -ss Run an interactive Slackware installation script. --showslack Toggle interactive Slackware installation script. --autodoinst Toggle creation of a doinst.sh script. --strip Toggle stripping any ELF binaries found inside the package. --stripso Toggle stripping any ELF libraries (.so) found inside the package. --addso Search for any shared libs and add them to /etc/ld.so.conf --reset-uids Reset perms for all files/dirs to 755 and the owner/group for all dirs to root.root --gzman Compress any man pages found inside the package. --docdir Where to put documentation files. --umask Set the umask value. --exclude Exclude these files/directories from the package. --include Force the inclusion in the package of the files/dirs listed in the argument (a file). --inspect Inspect the package's file list --review-spec Review the spec file before creating a .rpm. --review-control Review the control file before creating a .deb. --newslack Use the new (8.1+) Slackware description format ("--newslack" implies "-S") --with-tar Manually set the path to the tar binary. --deldoc Toggle deletion of doc-pak upon termination. --deldesc Toggle deletion of description-pak upon termination. --delspec Toggle deletion of spec file upon termination. --bk Backup any overwritten files --backup Toggle backup FILES
This program reads its configuration from /etc/checkinstallrc, which can be used to override defaults. Command line arguments override settings in the configuration file. AUTHOR
This manual page was written by Felipe Sateler <fsateler@gmail.com> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. CheckInstall(8)
All times are GMT -4. The time now is 09:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy