pkgrm without removing the dependent packages


 
Thread Tools Search this Thread
Operating Systems Solaris pkgrm without removing the dependent packages
# 1  
Old 09-30-2008
pkgrm without removing the dependent packages

Hi all,

Is there any option to remove a package without removing the dependent packages....
ie, i need to remove a package, while trying to remove by using pkgrm command it says as some dependent packages also will get removed, i dont want to remove those dependent packages.
# 2  
Old 10-06-2008
Hi,

pkgrm has a switch -a which specifies an admin file that decides on the action to be taken in case of dependencies.. the file is located at /var/sadm/install/admin

hope this helps you
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Error when removing Sendmail packages in Solaris 11.2

Hi, I would like to completely remove the Sendmail packages from Solaris 11.2. I know how to disable Sendmail but as stated, I would like the packages to be removed from the system. I tried to remove the two packages (SUNWsndmu and SUNWsndmr) by using pkgrm. It doesn't work that well because I... (2 Replies)
Discussion started by: tubiman
2 Replies

2. Solaris

Is ntpdate command dependent on ntpd?

Hi, Could someone Please clarify me here: Is ntpdate command a part of ntpd, i mean does ntpdate command a dependent on ntpd? and can ntpdate be run in absence of ntpd service. (5 Replies)
Discussion started by: aksijain
5 Replies

3. Solaris

Solaris 10 - removing packages when files have been deleted

Is there any way to do this? Files/directory have been deleted but pkginfo reports the packages still there. Is there any way to clean this out? (2 Replies)
Discussion started by: paulfoel
2 Replies

4. Slackware

Context dependent symlinks

Ive got multiple PCs, sharing an NFS mounted home dir. For certain apps I would like to keep the config files host specific. Easy solution is to create symlinks to local folders for configs. Ideally I would still want the .config files to reside in the user home folder. Is it possible to... (2 Replies)
Discussion started by: agentrnge
2 Replies

5. Slackware

Find Slackware Packages - packages.acl.org.ua

Hi! Let me introduce a project for find and download Slackware packages and browse Slackware repositories. The site provides following features: * Large, daily updated database with RPM, DEB, TGZ, TXZ packages for well-known repositories of the Slackware, Fedora, CentOS, RHEL, Debian,... (2 Replies)
Discussion started by: lystor
2 Replies

6. Solaris

failsafe removing packages

hey i need to remove a package has my system will not boot up now. when i go into failsafe and mount the root onto /a if i run pkgrm -R /a SUNWvolu it says it does no exist, i een tried to pkginfo -R /a to see if i could see any packages, but it no packages are returned. as failsafe is... (1 Reply)
Discussion started by: dshakey
1 Replies

7. UNIX for Advanced & Expert Users

Automate Script using pkgrm/pkgadd commands

This is my first post so hello to all of you! I have a script in bash-3.00 that needs to execute the following: pkgrm (to remove an existing package) pkgadd -d ( to install a new package) The problem is that both commands prompt me to answer either y,n or q in order to proceed with... (13 Replies)
Discussion started by: Insight
13 Replies

8. 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

9. UNIX for Dummies Questions & Answers

pkgrm

Hello, How can I list the installed packages on my Solaris 10 ? Regards :confused: (7 Replies)
Discussion started by: XNOR
7 Replies

10. Shell Programming and Scripting

Editor dependent error?

Hi all, i did typed the following code in vi and executed it. #!/bin/sh //notice the blank line here. DATA=test echo "$DATA" There was no problem. I then deleted the file using the rm command. I used ultraedit typed in the same file. , FTP it in and i got the following output :... (2 Replies)
Discussion started by: new2ss
2 Replies
Login or Register to Ask a Question