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
mailstats(8)						      System Manager's Manual						      mailstats(8)

NAME
mailstats - Displays statistics about mail traffic SYNOPSIS
mailstats [-o] [-C cffile [-f stfile] FLAGS
Do not display the name of the mailer in the output. Use cffile as the name of the sendmail "cf" file instead of /var/adm/sendmail/send- mail.cf. Use stfile as the input statistics file instead of /var/adm/sendmail/sendmail.st. DESCRIPTION
The mailstats command reads the information in the /var/adm/sendmail/sendmail.st file (or in the file specified with the -f flag), formats it, and writes it to standard output. Note also that you can change the location of the sendmail.st file by editing its pathname in the sendmail.cf file. EXAMPLES
The format of the information is shown in the following example, in which the first field (M) contains a number that indicates the position of that mailer in the sendmail.cf file, starting at 0 (zero). For example, the first mailer in the sendmail.cf file corresponds to the number 0 in the mailstats display, the second mailer corresponds to the number 1, and so on. Statistics from Thu Feb 17 11:20:01 2000 M msgsfr bytes_from msgsto bytes_to msgsrej msgsdis Mailer 1 50 77K 1 3K 0 0 local 6 43 59K 58 99K 0 0 smtp ============================================================ T 93 136K 59 102K 0 0 The fields in the report have the following meanings: Indicates the position of the mailer in the sendmail.cf file. Indicates the number of messages received by the local machine from the indicated mailer. Indicates the number of bytes in the messages received by the local machine from the indicated mailer. Indicates the number of messages sent from the local machine using the indicated mailer. Indicates the number of bytes in the messages sent from the local machine using the indicated mailer. Indicates the number of rejected messages. Indicates the number of discarded messages. Indicates the name of the mailer. If sendmail transmits mail directly to a file, such as the dead.letter file or an alias target, the message and byte counts are credited to the prog mailer, as defined in the sendmail.cf file. However, mailstats will still default to var/adm/sendmail/sendmail.st. FILES
Specifies the command path Contains system statistics Contains configuration information for sendmail RELATED INFORMATION
Commands: sendmail(8) delim off mailstats(8)
All times are GMT -4. The time now is 10:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy