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
YAST2(8)						       System configuration							  YAST2(8)

NAME
YaST2 - universal configuration utility SYNOPSIS
yast2 [ options ] [ module ] [ module specific options ] yast2 --install <package> [ <package> [ ... ] ] DESCRIPTION
YaST2 is used to configure the system. It can configure a common hardware (sound cards, printers, keyboards, mice), network connections (network cards, ISDN cards, modems, DSL connections), network clients and services (NFS, NIS), as well as a general system options (lan- guage, partitioning, software, bootloader). YaST2 comes with three frontends: GTK , QT and ncurses. All frontends are functionally equivalent. The correct frontend is selected auto- matically based on the available components and the current environment (the DISPLAY variable). Use yast2 alone to launch the YaST2 Control Center from which you can select a particular configuration module or use yast2 <module> to launch the module directly. OPTIONS
--qt Run YaST in the QT graphical frontend --gtk Run YaST in the GTK graphical frontend --ncurses Run YaST in the ncurses text-mode frontend -g, --geometry Default window size (QT frontend only). -h, --help Print a usage and exit. -i, --install <package> [ <package> [ ... ] ] Install an RPM package. The package can be a single short package name (e.g. gvim) which will be installed with dependency checking, or the full path to an rpm package (e.g /tmp/gvim.rpm) which will be installed without dependency checking. --remove <package> [ <package> [ ... ] ] Remove an RPM package. The package can be short package names (e.g. gvim) which will be removed with dependency checking. -l, --list List all available modules. To obtain usage info about a module, use "yast module help". MODULES WITH COMMAND LINE INTERFACE
This is a list of YaST modules currently supporting command line interface: answering_machine, bootloader, ca_mgm, dhcp-server, dns, dns-server, fax, firewall, groups, host, http-server, idedma, inetd, irda, ker- beros-client, keyboard, lan, language, ldap, mail, mouse, nfs, nfs_server, nis, nis_server, ntp-client, power-management, powertweak, printer, profile-manager, proxy, remote, routing, runlevel, samba-client, samba-server, security, sound, sysconfig, tftp-server, timezone, tv, users To obtain a list of basic commands for using a YaST module with support for command line interface, use: yast2 module help To get more comprehensive information about the commands available for a YaST module, use: yast2 module longhelp To get information about the commands available for a YaST module in a XML formatted file, use: yast2 module xmlhelp xmlfile= <filename> To get information about a specific command of a YaST module, use: yast2 module command help To start an interactive console in which you can execute commands of a YaST module, use yast2 module interactive FILES
/var/log/YaST2/* Logs /etc/sysconfig/yast2, $HOME/.yast2/yast2 Configures the preferred GUI. EXIT STATUS
0 Successful program execution. 1 Too few arguments. 5 Error in arguments. 16 Generic module error. > 16 Module specific error codes. AUTHOR
Michal Svec <msvec@suse.cz> - manual page Jakub Friedl <jfriedl@suse.cz> - manual page SEE ALSO
Documentation in /usr/share/doc/packages/yast2*. yast2 January 2003 YAST2(8)
All times are GMT -4. The time now is 08:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy