Subject: Bug#4305: metmail uses non-existent flag in postinst

From: "Susan G. Kleinmann" <[email-masked]>
Date: Tue, 27 Aug 1996 02:04:30 -0400

Package: metamail
Version: 2.7-6

# dpkg --configure metamail
Setting up metamail (2.7-6) ...
/usr/sbin/install-mime: Unknown option '--quiet'
/usr/sbin/install-mime: Unknown option '--quiet'
/usr/sbin/install-mime: Unknown option '--quiet'
/usr/sbin/install-mime: Unknown option '--quiet'
/usr/sbin/install-mime: Unknown option '--quiet'
/usr/sbin/install-mime: Unknown option '--quiet'
/usr/sbin/install-mime: Unknown option '--quiet'
/usr/sbin/install-mime: Unknown option '--quiet'
...
dpkg: error processing metamail (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 metamail

Susan Kleinmann

---

From: Michael Meskes <[email-masked]>
Date: Tue, 27 Aug 1996 12:15:33 +0200 (MET DST)

> Version: 2.7-6

Oops, wrong depends line. Please upgrade your mime-support package.

Michael 

-- 
Michael Meskes                   |    _____ ________ __  ____
[email-masked] |   / ___// ____/ // / / __ \___  __________
[email-masked]                  |   \__ \/ /_  / // /_/ /_/ / _ \/ ___/ ___/
[email-masked]                |  ___/ / __/ /__  __/\__, /  __/ /  (__  )
Use Debian Linux!                | /____/_/      /_/  /____/\___/_/  /____/

---

From: Michael Meskes <[email-masked]>
Date: Wed, 28 Aug 1996 16:15:35 +0200 (MET DST)

> Version: 2.7-6

A new version is underways.

Michael

---

From: "Susan G. Kleinmann" <[email-masked]>
Date: Wed, 28 Aug 1996 12:31:02 -0400

> Oops, wrong depends line. Please upgrade your mime-support package.

(Perhaps this should be a seperate bug report; if you want one, please
let me know.)

I upgraded mime-support to  2.02-1 sometime yesterday.   

Today I re-ran dpkg --configure metamail.  This produced some odd
queries:

New action 'view' for MIME type 'image/*'...
-->     package=metamail        view=showpicture -viewer "xloadimage -view -quiet" %s

1)      package=metamail        view=showpicture -viewer xv %s

Place at what priority? (1-2) -->1
                         ^^^<------- Notice that these indices do not match
                                     the choices above ["-->" and "1)"] 

New action 'view' for MIME type 'text/richtext'...
-->     package=metamail        view=shownonascii iso-8859-1 -e richtext -p %s; test=test "`echo %{charset} | tr "[A-Z]" "[a-z]"`" = iso-8859-1 -a "$DISPLAY" != ""; copiousoutput

1)      package=metamail        view=shownonascii iso-8859-8 -e richtext -p %s; test=test "`echo %{charset} | tr "[A-Z]" "[a-z]"`" = iso-8859-8 -a "$DISPLAY" != ""; copiousoutput

Place at what priority? (1-2) -->1
                         ^^^<------- Notice that these indices do not match
                                     the choices above ["-->" and "1)"] 

New action 'view' for MIME type 'text/richtext'...
-->     package=metamail        view=richtext %s; copiousoutput

1)      package=metamail        view=shownonascii iso-8859-1 -e richtext -p %s; test=test "`echo %{charset} | tr "[A-Z]" "[a-z]"`" = iso-8859-1 -a "$DISPLAY" != ""; copiousoutput
2)      package=metamail        view=shownonascii iso-8859-8 -e richtext -p %s; test=test "`echo %{charset} | tr "[A-Z]" "[a-z]"`" = iso-8859-8 -a "$DISPLAY" != ""; copiousoutput

Place at what priority? (1-3) -->1
                         ^^^<------- Notice that these indices do not match
                                     the choices above ["1)" and "2)"] 

This seems to be a problem with install-mime; or perhaps I did 
something wrong.  ??

Susan

---

From: Michael Meskes <[email-masked]>
Date: Thu, 29 Aug 1996 08:41:01 +0200 (MET DST)

> (Perhaps this should be a seperate bug report; if you want one, please

No, it's not a bug I think.

> [...]

Where's th problem? You can install it as priority 1  (and thus moving
'showpicture -viewer xv %s' to 2) or you install it as 2 (and let
'showpicture -viewer xv %s' be 1). There are two lines given. Thus you need
two priorities.

> [...]

Yes, that's right. My metamail package just calls install-mime.

Michael

---

From: Mark Eichin <[email-masked]>
Date: 30 Aug 1996 16:56:05 -0400

> Where's th problem? You can install it as priority 1  (and thus moving

The problem is that the interface is *far* from intuitve.  It needs at
least a sentence or two up top explaining what it's asking about (it
wasn't clear to me until after I'd seen a third viewer show up...)

Remember, many people installing the mime stuff really have *no idea*
what ranking is appropriate (I didn't even know that ranking was
*possible* until I started getting these messages :-) Perhaps it
should just do something by default  (last highest?) and then provide
some tool for configuring them later?