Sponsored Content
Operating Systems Solaris Error when removing Sendmail packages in Solaris 11.2 Post 302939466 by jlliagre on Wednesday 25th of March 2015 04:55:01 PM
Old 03-25-2015
The main issue is you are running a legacy SVR4 packaging command which is only supported to handle legacy packages which sendmail is not.

The supported way to remove a Solaris package under Solaris 11 and newer is:
Code:
pkg uninstall <package> ...

In that particular case, you would also need to remove the smtp-notify package which depends on sendmail.

You can run this command to see if no other dependency is present on you machine:
Code:
# pkg uninstall -n sendmail smtp-notify

Note that the -n tell pkg not to actually remove any package (trial run)

If you are fine with removing sendmail, simply run the command without the -n option.
Code:
# pkg uninstall sendmail smtp-notify

This User Gave Thanks to jlliagre For This Post:
 

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 8 Packages necessary for Floppy Access

I'm a newbie to Unix, but am working with some people that are more knowledgable than I, and we're all stumped. We are working to secure (Information Assurance) a Command & Control System that uses a Solaris 8 Application server. As part of this process, we are attempting to minimize the... (0 Replies)
Discussion started by: roygoodwin
0 Replies

2. Solaris

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. (1 Reply)
Discussion started by: judi
1 Replies

3. Solaris

Gnome Packages on Solaris 10 u6

If my system is supposed to be a pure oracle database server can i remove all the GNOME packages from the system ? Currently system is installed with Everything+OEM and i want the image to be as small as possible remove the unnecessary softwares from it so that its a master image for other servers.... (2 Replies)
Discussion started by: fugitive
2 Replies

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

5. Solaris

Solaris 10 packages

can one install packages from different Solaris 10 subversion on a SPARC? (if we don't have the install media for exact same Solaris10.) (3 Replies)
Discussion started by: orange47
3 Replies

6. UNIX for Dummies Questions & Answers

Solaris packages and installation query

Hi, Need a small help Bash$> pkginfo | grep -i compress system SUNWbzip The bzip compression utility system SUNWgzip The GNU Zip (gzip) compression utility system SUNWzip The Info-Zip (zip)... (9 Replies)
Discussion started by: mohtashims
9 Replies

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

8. Solaris

Installing packages in Solaris 11

I want to install EMCpower (EMC Powerpath package) in Solaris 11. At most of the places, I can see procedure to install packages which comes with repository. This is third party tool, I have downloaded it to /var/tmp. How should I install it ? root@orapdps11 # pkg publisher PUBLISHER ... (4 Replies)
Discussion started by: solaris_1977
4 Replies

9. Solaris

Solaris 10 packages

Hi all, Does anyone know where you can get solaris 10 packages these days? It seems that sunfreeware have now started charging you to download them, which is good. I have found opencsw, but that seems to rely on you hooking the machine into the interenet and at the moment I am trying to... (3 Replies)
Discussion started by: callmebob
3 Replies

10. Solaris

How to install .p51 packages in Solaris 11.4?

Does anyone know how to install a package that comes in a p5i file in Solaris 11.4? The first thing the Oracle documentation says is to "launch packagemanager". Well they removed packagemanager from 11.4 (and you can't install it yourself). I want a package from... (7 Replies)
Discussion started by: Michele31416
7 Replies
GPT-UNINSTALL(8)					User Contributed Perl Documentation					  GPT-UNINSTALL(8)

NAME
gpt-uninstall - Uninstall any GPT package. SYNOPSIS
gpt-uninstall [--force --help -name ] pkgname-flavor-pkgtype DESCRIPTION
gpt-uninstall will uninstall a package from the system. OPTIONS
-force This will force actions to take place. -native Use native package manager (Only works with rpm). pkgname-flavor-pkgtype Expression describing the packages that should be removed. -help Print a brief help message and exits. -man Prints the manual page and exits. -version Prints the version of GPT and exits. EXAMPLES
gpt-uninstall -name=foo removes all flavors and package types with the name "foo". gpt-uninstall foo Also removes all flavors and package types with the name "foo". gpt-uninstall 'foo-*-*' A third way of typing the same uninstall. Note the single quotes. gpt-uninstall '*-noflavor-*' Remove all of the packages with a 'noflavor' build flavor. gpt-uninstall '*-*-*' Remove all packages. Note that files generated by gpt-postinstall will not be removed BUGS
Currently the flavor check that gpt-uninstall uses only works if the flavor is installed by gpt-build. And so for example: gpt-uninstall foo-gcc32-* will not work. The work around is to uninstall the packages individually using something like: gpt-uninstall -name=foo -flavor=gcc32 -pkgtype=pgm Or use a wild card for the flavor to uninstall all flavors of the package. gpt-uninstall foo-*-* SEE ALSO
gpt-install(8) gpt-query(8) gpt-verify(8) gpt-postinstall(8) AUTHOR
Michael Bletzinger <mbletzin.ncsa.uiuc.edu> and Eric Blau <eblau.ncsa.uiuc.edu> perl v5.14.2 2012-04-30 GPT-UNINSTALL(8)
All times are GMT -4. The time now is 03:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy