Unix/Linux Go Back    


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

Issue with installing rpm in AIX 6.1

AIX


Tags
aix 6.1, git, unix

Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 01-14-2013
gaugeta gaugeta is offline
Registered User
 
Join Date: Jan 2013
Last Activity: 8 January 2014, 5:37 AM EST
Posts: 15
Thanks: 5
Thanked 0 Times in 0 Posts
Issue with installing rpm in AIX 6.1

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:


Code:
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.
ar: 0707-113 The fopen system call failed on file /opt/freeware/lib/libiconv.a.
ar: Cannot open or remove a file containing a running program.
ar: 0707-113 The fopen system call failed on file /opt/freeware/lib/libiconv.a.

But when I gave the rpm -qa command the package is listed as libiconv-1.14-1 but does not work correctly.

How can I correctly install this rpm.
Sponsored Links
    #2  
Old Unix and Linux 01-14-2013
rbatte1 rbatte1 is offline Forum Staff  
Moderator
 
Join Date: Jun 2007
Last Activity: 14 April 2015, 5:23 AM EDT
Location: Lancashire, UK
Posts: 2,179
Thanks: 713
Thanked 391 Times in 348 Posts
IBM

Did you use fuser to try to work out what was using the file? There could be lots, just a few, a single or nothing (i.e. it was transient)


Code:
/usr/sbin/fuser /opt/freeware/lib/libiconv.a

I hope that this helps,
Robin
Liverpool/Blackburn
UK
The Following User Says Thank You to rbatte1 For This Useful Post:
gaugeta (01-15-2013)
Sponsored Links
    #3  
Old Unix and Linux 01-15-2013
gaugeta gaugeta is offline
Registered User
 
Join Date: Jan 2013
Last Activity: 8 January 2014, 5:37 AM EST
Posts: 15
Thanks: 5
Thanked 0 Times in 0 Posts
@rbatte1:Thanks for the reply.
It seems the there was some issue with with LIBPATH variable which was solved after re-setting it.
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Unix or Linux Image More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Installing rpm in centos 6 zeeshan047 Red Hat 1 06-29-2012 03:54 PM
installing rpm from ISO manoj.solaris Red Hat 1 03-27-2012 04:56 PM
Installing rpm packages messi777 Red Hat 8 06-18-2011 10:00 AM
Installing database through RPM atul.saxena Shell Programming and Scripting 0 04-06-2006 03:29 AM
Issue while installing a Application on AIX apu78 AIX 8 01-23-2006 08:21 AM



All times are GMT -4. The time now is 07:34 PM.