PDA

View Full Version : [ubuntu] which package has "mimencode"?



Skaperen
February 14th, 2011, 04:46 PM
I'm looking for the program called "mimencode". This does the same MIME base-64 encoding/decoding that is done for MIME attachments for email and such. But it does it as a command for stdin/stdout suitable for use in scripts. On Slackware, it is in the "metamail-2.7" package. Ubuntu does have a package called "metamail" but it doesn't appear to be available. One of the dependencies shows that same version number.


lorentz/root /root 77# apt-get install metamail
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package metamail is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'metamail' has no installation candidate
lorentz/root /root 78# aptitude show metamail
No current or candidate version found for metamail
Package: metamail
State: not a real package

lorentz/root /root 79# apt-cache dump | awk '{if($1=="Package:"){pre=$2;};print pre ":",$0}' | fgrep metamail
slrn: Depends: metamail (null)
metamail: Package: metamail
nmh: Depends: metamail (null)
tin: Depends: metamail (null)
mime-support: Depends: metamail 2.7-44
exmh: Depends: metamail (null)
crm114: Depends: metamail (null)
topal: Depends: metamail (null)
lorentz/root /root 80#

anglican
February 15th, 2011, 12:25 PM
I'm looking for the program called "mimencode". This does the same MIME base-64 encoding/decoding that is done for MIME attachments for email and such. But it does it as a command for stdin/stdout suitable for use in scripts. On Slackware, it is in the "metamail-2.7" package. Ubuntu does have a package called "metamail" but it doesn't appear to be available. One of the dependencies shows that same version number.

Well you can get it from:

https://launchpad.net/ubuntu/lucid/+package/metamail

H

Skaperen
February 16th, 2011, 10:36 PM
Well you can get it from:

https://launchpad.net/ubuntu/lucid/+package/metamail

H
So what's the deal with this not being available to just "apt-get install metamail"?

anglican
February 18th, 2011, 01:34 PM
So what's the deal with this not being available to just "apt-get install metamail"?Looks like this package is no longer maintained. It's been removed from debian and there's no sign of any activity on it since 2008. Not sure what alternatives there are!

H

Skaperen
February 23rd, 2011, 09:29 PM
Looks like this package is no longer maintained. It's been removed from debian and there's no sign of any activity on it since 2008. Not sure what alternatives there are!

H
If Ubuntu drops packages that are not maintained, what does that mean for a package that works fine and has no bugs? Would it be treated as "mot maintained" if no updates happen for years?

bluesterror
August 25th, 2011, 07:38 PM
Google sent me here with the same question, so here's an alternative I found (at least in debian):



$ munpack file
tempdesc.txt: File exists
xyz.pdf (application/octet-stream)

$ apt-cache show mpack
Package: mpack
Priority: optional
Section: mail
Installed-Size: 84
Maintainer: Anibal Monsalve Salazar <anibal@debian.org>
Architecture: amd64
Version: 1.6-6
Depends: libc6 (>= 2.7-1)
Suggests: mail-transport-agent, inews
Filename: pool/main/m/mpack/mpack_1.6-6_amd64.deb
Size: 41850
MD5sum: d674d9dbfa600464a626e65fbc054e67
SHA1: 3436217fb7f6734cf8264e1a979bc57036a4e3a5
SHA256: b570f68f30aa868297d4ebc1e8c7b857276a3e064e9c6d4252 d9e7cfc48ceff8
Description: tools for encoding/decoding MIME messages
Mpack and munpack are utilities for encoding and decoding
(respectively) binary files in MIME (Multipurpose Internet
Mail Extensions) format mail messages. For compatibility
with older forms of transferring binary files, the munpack
program can also decode messages in split-uuencoded format.
Homepage: ftp://ftp.andrew.cmu.edu/pub/mpack/
Tag: interface::commandline, role::program, scope::utility, use::storing, works-with::archive, works-with::mail

Skaperen
November 8th, 2011, 10:17 PM
Google sent me here with the same question, so here's an alternative I found (at least in debian):



$ munpack file
tempdesc.txt: File exists
xyz.pdf (application/octet-stream)

$ apt-cache show mpack
Package: mpack
Priority: optional
Section: mail
Installed-Size: 84
Maintainer: Anibal Monsalve Salazar <anibal@debian.org>
Architecture: amd64
Version: 1.6-6
Depends: libc6 (>= 2.7-1)
Suggests: mail-transport-agent, inews
Filename: pool/main/m/mpack/mpack_1.6-6_amd64.deb
Size: 41850
MD5sum: d674d9dbfa600464a626e65fbc054e67
SHA1: 3436217fb7f6734cf8264e1a979bc57036a4e3a5
SHA256: b570f68f30aa868297d4ebc1e8c7b857276a3e064e9c6d4252 d9e7cfc48ceff8
Description: tools for encoding/decoding MIME messages
Mpack and munpack are utilities for encoding and decoding
(respectively) binary files in MIME (Multipurpose Internet
Mail Extensions) format mail messages. For compatibility
with older forms of transferring binary files, the munpack
program can also decode messages in split-uuencoded format.
Homepage: ftp://ftp.andrew.cmu.edu/pub/mpack/
Tag: interface::commandline, role::program, scope::utility, use::storing, works-with::archive, works-with::mail

It doesn't have "mimencode". It does have "mpack". But that doesn't work the same way. At adds headers as part of the encoding (I want the encoding alone). The "munpack" program (instead of "mimencode -u") can't handle a file with just the encoding.

leclercqpl
April 8th, 2013, 10:36 AM
Since I've passed a long time looking for "mimencode" for Debian Squeeze, I've found that the "xemacs21-bin" package provides "mmencode". Just add a symlink and you're right.

Works for me :)

Rel.

oldos2er
April 8th, 2013, 05:13 PM
Old thread closed, please don't bump old threads.