Uninstall a relocatable package


 
Thread Tools Search this Thread
Operating Systems AIX Uninstall a relocatable package
# 1  
Old 05-06-2009
Uninstall a relocatable package

Hi,

If a package has been installed at normal location:
installp -u <package_name>
uninstalls the package

However, if that has been installed relocatable, the above command fails.
It requires the relocatable path as the parameter
installp -R <relocation_path> -u <package_name>

To find the relocation path, i have to give:
lslpp -R ALL -l <package_name>
Check from here where the package has been installed and then add the path to the "installp -u" command.

I want to automate the uninstallation of a package. This fails if the package has been installed relocatably.

How do i get around this?

Thanks
# 2  
Old 05-25-2009
Could somebody please help on this?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Can't install rpm package with --prefix in new path.Error: package is not relocatable

Hello, i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm" in /usr/local/ directory. I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't. I did: 1st try: Didn't work sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies

2. UNIX for Dummies Questions & Answers

Relocatable code, Etcetera

I was reading about ELF files and it has lead to Relocatable Code and also P.I.C. I have searched the net like never before and I can't find a whole lot of comprehensive/organized info on this topic. I really can't put together a decent enough question at this point. Is... (2 Replies)
Discussion started by: theKbStockpiler
2 Replies

3. Solaris

how to uninstall the package help

hi i installed wine1.1.2-sol11-i386.pkg.bz2 but wine doesnt work error err:process:start_wineboot failed to start wineboot, err 1359 how can i uninstall that package and how can i fix that error (2 Replies)
Discussion started by: ect1
2 Replies

4. AIX

AIX relocatable package help

Hi, I have created a relocatable AIX package named Test. The USIL is /abc bash-2.05b# lsusil INSTALL PATH = /abc COMMENTS = None Generally if a package gets installed in "/opt/Test" and i want to relocate it to "/abc" it gets installed under "/abc/Test". This happens the way in Solaris,... (2 Replies)
Discussion started by: vibhor_agarwali
2 Replies

5. Linux

Find installed location of a relocatable package

Hi, I am finding the installed location of a package by: rpm -qi <package_name> And then parse the string "Relocations". If i relocate this package during installation with --relocate option , the "Relocations" string still shows the old value. Though the package has been installed on the... (0 Replies)
Discussion started by: vibhor_agarwali
0 Replies

6. Linux

relocatable kernel

Hi, Is relocatable feature available in SLES? If it is can anyone please tell me the kernel version.. ~Nayana. (0 Replies)
Discussion started by: nayana
0 Replies

7. Solaris

install and uninstall package

I'm a newcomer for Solaris. I tried to install Net::FTP package ( a tool perl ) on our sun server 5.9. We used the below command: /usr/bin/perl MakeFilePL make make install How can I uninstall this package ? (1 Reply)
Discussion started by: anhtt
1 Replies

8. Solaris

Unable to uninstall package in Solaris

I am getting the below mentioned error while trying to unistall a package from a 2.8 Solaris box. Please help.. pkgrm: ERROR: unable to determine current run-state Removal of <PDMgr> failed (internal error). No changes were made to the system. (1 Reply)
Discussion started by: chrisanto_2000
1 Replies

9. Solaris

Perl - How to uninstall? Will pkgrm uninstall all versions?

Hello, I'm working on a Solaris 9/Sparc machine and it has the Solaris 10 version of Perl (5.8.8) installed on it, which always requires all kinds of library files that Solaris 9 doesn't come with. I think the best way to do is to uninstall this wrong version and install the correct Solaris 9... (1 Reply)
Discussion started by: alanlh
1 Replies

10. UNIX for Dummies Questions & Answers

uninstall and install a package

Hi, on Red Hat Enterprise Linux AS release 3 (Taroon). How can I : 1-install a package (exemple : compat-gcc-7.3-2.96.128.src.rpm) 2-uninstall (or delete or deinstall) a package (exemple : compat-gcc-7.3-2.96.122). Many thanks before. (6 Replies)
Discussion started by: big123456
6 Replies
Login or Register to Ask a Question