1832255 Members
2234 Online
110041 Solutions
New Discussion

Remove Mutt

 
mjos
Super Advisor

Remove Mutt

Hi,
I need to remove mutt software from my server.
I am not able to find when i run an swlist command.

whereis mutt
mutt: /usr/local/bin/mutt /usr/local/share/man/man1/mutt.1

Which is the software that I should remove for de-isntalling mutt from the server.
22 REPLIES 22
sreekanthtm
Trusted Contributor

Re: Remove Mutt

Hi,

# swlist -l product | grep mutt
will give the details.
Then run swremove to remove the s/w

Cheers
mjos
Super Advisor

Re: Remove Mutt

I am not getting anything when i run the below command

# swlist -l product | grep mutt
#
sreekanthtm
Trusted Contributor

Re: Remove Mutt

See output from my server

HPUX# swlist -l product | grep mutt
mutt 1.5.18 mutt

I think the product is not installed OR somebody has removed. But only the files are still present. You can run cleanup to delete those kind of files.
mjos
Super Advisor

Re: Remove Mutt

I think it is installed, thats the reason I am getting the below output.

# /usr/local/bin/mutt -v
Mutt 1.4.2.3i (2007-05-26)
Copyright (C) 1996-2002 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: HP-UX B.11.23 (9000/800)
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE
+USE_FCNTL -USE_FLOCK
-USE_POP -USE_IMAP -USE_GSS -USE_SSL -USE_SASL
+HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
+HAVE_CURS_SET +HAVE_META -HAVE_RESIZETERM
+HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR
+HAVE_ICONV +ICONV_NONTRANS +HAVE_GETSID -HAVE_GETADDRINFO
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to .
To report a bug, please use the flea(1) utility.
Ivan Krastev
Honored Contributor

Re: Remove Mutt

Try with :

swlist -l file | grep mutt

regards,
ivan
sreekanthtm
Trusted Contributor

Re: Remove Mutt

Try to do

#swlist -l fileset | grep -i mutt
#swlist -l file | grep -i mutt

Rgds
Sreekanth
sreekanthtm
Trusted Contributor

Re: Remove Mutt

One more way
Simply start swremove...
This will open the semigraphical window
Go to File --> Search
Search for mutt
And remove

Rgds
Sreekanth
mjos
Super Advisor

Re: Remove Mutt

Sorry, none of the commands gave any output



# swlist -l fileset | grep -i mutt
# swlist -l file | grep -i mutt
#

Is there any other way to remove mutt?
mjos
Super Advisor

Re: Remove Mutt

I want mailx to work but there is some linker which I think is linked to mailx.
Due to this I am unable to send html attachments using mailx

# what /usr/bin/mailx
/usr/bin/mailx:
$Revision: 92453-07 linker linker crt0.o B.11.16.01 030415 $
hpux_rel.c $Revision: 1.179.214.2 $ $Date: 98/12/01 01:29:55 patch id : PHNE_34107 $

Is there any way I can remove the linker?

In another server when I run what mailx, I dont see any linker.
# what /usr/bin/mailx
/usr/bin/mailx:
hpux_rel.c $Revision: 1.179.214.2 $ $Date: 98/12/01 01:29:55 patch id : PHNE_34107 $

mjos
Super Advisor

Re: Remove Mutt

Guru's - any update?
Steven Schweda
Honored Contributor

Re: Remove Mutt

> Is there any other way to remove mutt?

How did you install it? "rm" can be useful.

> I want mailx to work [...]

Is this releated in any way to the original
question?

> Guru's - any update?

Why the apostrophe?
mjos
Super Advisor

Re: Remove Mutt

> Is there any other way to remove mutt?

How did you install it? "rm" can be useful.

From where should i rm...will rm de-install the software completely?

> I want mailx to work [...]

Is this releated in any way to the original
question?

Maybe, because I can see a linker when I execute what mailx while in the other server where mutt is not installed I cant see any linker. I think while installing mutt it must have done some linker setup which I want to remove.

> Guru's - any update?

Why the apostroph
Sorry - that was a typo:)
Dennis Handly
Acclaimed Contributor

Re: Remove Mutt

>I want mailx to work but there is some linker which I think is linked to mailx.
>Is there any way I can remove the linker?

The linker has nothing to do with this. If you remove it, you can't regen your kernel nor develop applications.

>In another server when I run what mailx, I don't see any linker.

This means you may be using a foreign devil version of what(1). Use cksum(1) on both mailx versions. They should match. Then use "whence what" to see that they are different.

>I think while installing mutt it must have done some linker setup which I want to remove.

Not likely.
Bill Hassell
Honored Contributor

Re: Remove Mutt

Since mutt does not show up in swlist, it was never installed from an HP-UX depot, so swlist is useless. You'll have to track down all the mutt components (config files, libraries, etc). Possibly there is a README file or better yet an INSTALL file. The man page may point you to a support website that can lead to a package which has a table of contents. Mutt is not installed by HP so someone else installed it for you. Try searching for mutt-anything to see if you can find some docs:

find /usr /opt | grep -i mutt


Bill Hassell, sysadmin
Dennis Handly
Acclaimed Contributor

Re: Remove Mutt

Ah, the difference between the two is one is for PA and the other IPF:
Extra PA string because of crt0.o:
$Revision: 92453-07 linker linker crt0.o B.11.16.01 030415 $

The proper what strings for PHNE_34107 are in:
http://www.itrc.hp.com/service/patch/patchDetail.do?patchid=PHNE_34107#what(1)%20Output:
mjos
Super Advisor

Re: Remove Mutt

Thanks, But I am not able to send html attachment using mailx. I am getting all junk data. The command that I am using for mailx attachement is

# mailx -m -s "vz_dr" e-mail id <> `ux2dos CBSS_Landing_Record_Details.html|uuencode CBSS_Landing_Record_Details.html`
> END
Steven Schweda
Honored Contributor

Re: Remove Mutt

> [...] I am getting all junk data. [...]

Same here. Have you tried a Forum search for
things like "e-mail attachment"? It's just
possible that someone else has solved a
problem like this before.
mjos
Super Advisor

Re: Remove Mutt

Yes..but nothing has worked till now
Suraj K Sankari
Honored Contributor

Re: Remove Mutt

Hi,

If swlist is not giving any output then you can do this way.
Simple way to remove the mutt software is, download the new product then upgrade/install it then try to remove it.

Suraj

Steven Schweda
Honored Contributor

Re: Remove Mutt

> Yes..but nothing has worked till now

So far, you have not described all the things
you've tried nor what happened when you tried
these things. ("I am getting all junk data"
is not a useful description of anything.)

It's also possible that a Forum posting with
a Subject relevant to the actual problem
would attract more helpful attention. I'd
guess that you lost many readers in this
thread when you asked, "Is there any way I
can remove the linker?".

Personally, I'd look for a method which used
a program like "mpack".
OldSchool
Honored Contributor

Re: Remove Mutt

"
mailx -m -s "vz_dr" e-mail id <> `ux2dos CBSS_Landing_Record_Details.html|uuencode CBSS_Landing_Record_Details.html`
> END
"



1) skip ux2dos
2) don't do it in a here-doc
3) uuencode takes 2 args on my (old) version

Instead, try:

uuencode | mailx -m -s "vz_dr" e-mail id


in your case CBSS_Landing_Recored_Details.html for both names...
OldSchool
Honored Contributor

Re: Remove Mutt

Oooops....make that
CBSS_Landing_Record_Details.html

the above works properly on 11.0 / Lotus Notes destination (at least)