Is installing on Amazon Linux AMI (2016.09) supported?
Bryan
bryan at kitchencloset.com
Wed May 10 20:01:00 UTC 2017
Ok, so I think I have everything but CPAN sorted out. I can get the
install.sh to complete but the CPAN install is still freaking out.
Also, I've changed up to the 2017.03 AMI since I discovered that is now
available. It's looking as if it is RHEL 6 compatible.
Here is the diff of my hack at the install.sh
---------------------
[@ MailScanner-5.0.3-7]# diff install.sh install.sh.orig
47c47
< if [ ! -f '/etc/system-release' ]; then
---
> if [ ! -f '/etc/redhat-release' ]; then
62,63d61
< elif grep -qs 'Amazon Linux AMI release 2017.03'
/etc/system-release ; then
< RHEL=6
139c137
< EPELOPTION="epel";
---
> EPELOPTION="epel-release";
143c141
< EPELOPTION="epel";
---
> EPELOPTION="epel-release";
Since the CPAN section is erroring in the install, I pulled out just the
yum install sequence for the CPAN elements and ran it. Here is the
output. Thoughts? (note, CPAN was not installed by default and it isn't
getting installed with the script. So I manually did a "yum install
cpan" as seperately.)
---------------------
[@ ~]# yum install perl-Archive-Tar perl-Archive-Zip
perl-Compress-Raw-Zlib perl-Compress-Zlib perl-Convert-BinHex
perl-Convert-TNEF perl-CPAN perl-Data-Dump perl-DBD-SQLite perl-DBI
perl-Digest-HMAC perl-Digest-SHA1 perl-Env perl-ExtUtils-MakeMaker
perl-File-ShareDir-Install perl-File-Temp perl-Filesys-Df
perl-Getopt-Long perl-IO-String perl-IO-stringy perl-HTML-Parser
perl-HTML-Tagset perl-Inline perl-IO-Zlib perl-Mail-DKIM
perl-Mail-IMAPClient perl-Mail-SPF perl-MailTools perl-MIME-tools
perl-Net-CIDR perl-Net-DNS perl-Net-DNS-Resolver-Programmable
perl-Net-IP perl-OLE-Storage_Lite perl-Pod-Escapes perl-Pod-Simple
perl-Scalar-List-Utils perl-Storable perl-Pod-Escapes perl-Pod-Simple
perl-Razor-Agent perl-Sys-Hostname-Long perl-Sys-SigAction
perl-Test-Manifest perl-Test-Pod perl-Time-HiRes perl-TimeDate perl-URI
perl-YAML pyzor re2c
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main |
2.1 kB 00:00:00
amzn-updates |
2.3 kB 00:00:00
1004 packages excluded due to repository priority protections
Package perl-CPAN-1.9800-286.38.amzn1.noarch already installed and
latest version
Package perl-Digest-HMAC-1.03-5.7.amzn1.noarch already installed and
latest version
Package perl-ExtUtils-MakeMaker-6.68-3.5.amzn1.noarch already installed
and latest version
No package perl-File-ShareDir-Install available.
Package perl-File-Temp-0.23.01-3.5.amzn1.noarch already installed and
latest version
Package perl-Getopt-Long-2.40-2.5.amzn1.noarch already installed and
latest version
Package 1:perl-Pod-Escapes-1.04-286.38.amzn1.noarch already installed
and latest version
Package 1:perl-Pod-Simple-3.28-4.6.amzn1.noarch already installed and
latest version
Package perl-Scalar-List-Utils-1.27-248.5.amzn1.x86_64 already installed
and latest version
Package perl-Storable-2.45-3.5.amzn1.x86_64 already installed and latest
version
Package 1:perl-Pod-Escapes-1.04-286.38.amzn1.noarch already installed
and latest version
Package 1:perl-Pod-Simple-3.28-4.6.amzn1.noarch already installed and
latest version
Package 4:perl-Time-HiRes-1.9725-272.5.amzn1.x86_64 already installed
and latest version
Resolving Dependencies
--> Running transaction check
---> Package perl-Archive-Tar.noarch 0:1.92-2.5.amzn1 will be installed
--> Processing Dependency: perl(Package::Constants) for package:
perl-Archive-Tar-1.92-2.5.amzn1.noarch
---> Package perl-Archive-Zip.noarch 0:1.30-11.7.amzn1 will be installed
---> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.1.amzn1 will be
installed
---> Package perl-Convert-BinHex.noarch 0:1.119-10.1.5.amzn1 will be
installed
---> Package perl-Convert-TNEF.noarch 0:0.18-1.1.amzn1 will be installed
---> Package perl-DBD-SQLite.x86_64 0:1.39-3.9.amzn1 will be installed
---> Package perl-DBI.x86_64 0:1.627-4.8.amzn1 will be installed
--> Processing Dependency: perl(RPC::PlClient) >= 0.2000 for package:
perl-DBI-1.627-4.8.amzn1.x86_64
--> Processing Dependency: perl(RPC::PlServer) >= 0.2001 for package:
perl-DBI-1.627-4.8.amzn1.x86_64
---> Package perl-Data-Dump.noarch 0:1.21-4.2.amzn1 will be installed
---> Package perl-Digest-SHA1.x86_64 0:2.13-9.7.amzn1 will be installed
---> Package perl-Env.noarch 0:1.04-2.5.amzn1 will be installed
---> Package perl-Filesys-Df.x86_64 0:0.92-5.el6 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.10.1) for package:
perl-Filesys-Df-0.92-5.el6.x86_64
---> Package perl-HTML-Parser.x86_64 0:3.71-4.7.amzn1 will be installed
--> Processing Dependency: perl(HTTP::Headers) for package:
perl-HTML-Parser-3.71-4.7.amzn1.x86_64
---> Package perl-HTML-Tagset.noarch 0:3.20-15.7.amzn1 will be installed
---> Package perl-IO-Compress.noarch 0:2.061-2.12.amzn1 will be installed
--> Processing Dependency: perl(Compress::Raw::Bzip2) >= 2.061 for
package: perl-IO-Compress-2.061-2.12.amzn1.noarch
---> Package perl-IO-String.noarch 0:1.08-19.7.amzn1 will be installed
---> Package perl-IO-Zlib.noarch 1:1.10-286.38.amzn1 will be installed
---> Package perl-IO-stringy.noarch 0:2.110-22.7.amzn1 will be installed
---> Package perl-Inline.noarch 0:0.53-4.5.amzn1 will be installed
--> Processing Dependency: perl(Parse::RecDescent) for package:
perl-Inline-0.53-4.5.amzn1.noarch
---> Package perl-MIME-tools.noarch 0:5.505-1.8.amzn1 will be installed
---> Package perl-Mail-DKIM.noarch 0:0.39-8.7.amzn1 will be installed
--> Processing Dependency: perl(Crypt::OpenSSL::RSA) for package:
perl-Mail-DKIM-0.39-8.7.amzn1.noarch
---> Package perl-Mail-IMAPClient.noarch 0:3.34-1.2.amzn1 will be installed
---> Package perl-Mail-SPF.noarch 0:2.8.0-4.5.amzn1 will be installed
--> Processing Dependency: perl(NetAddr::IP) for package:
perl-Mail-SPF-2.8.0-4.5.amzn1.noarch
--> Processing Dependency: perl(version) for package:
perl-Mail-SPF-2.8.0-4.5.amzn1.noarch
--> Processing Dependency: perl(Error) for package:
perl-Mail-SPF-2.8.0-4.5.amzn1.noarch
---> Package perl-MailTools.noarch 0:2.12-2.7.amzn1 will be installed
--> Processing Dependency: perl(Net::SMTP::SSL) for package:
perl-MailTools-2.12-2.7.amzn1.noarch
---> Package perl-Net-CIDR.noarch 0:0.14-1.4.amzn1 will be installed
---> Package perl-Net-DNS.x86_64 0:0.72-5.10.amzn1 will be installed
---> Package perl-Net-DNS-Resolver-Programmable.noarch
0:0.003-15.5.amzn1 will be installed
---> Package perl-Net-IP.noarch 0:1.25-13.5.amzn1 will be installed
---> Package perl-OLE-Storage_Lite.noarch 0:0.19-9.2.amzn1 will be installed
---> Package perl-Razor-Agent.x86_64 0:2.85-15.1.amzn1 will be installed
--> Processing Dependency: perl(Sys::Syslog) for package:
perl-Razor-Agent-2.85-15.1.amzn1.x86_64
---> Package perl-Sys-Hostname-Long.noarch 0:1.4-5.el6 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.10.1) for package:
perl-Sys-Hostname-Long-1.4-5.el6.noarch
---> Package perl-Sys-SigAction.noarch 0:0.11-2.el6 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.10.1) for package:
perl-Sys-SigAction-0.11-2.el6.noarch
---> Package perl-Test-Manifest.noarch 0:1.23-2.7.amzn1 will be installed
---> Package perl-Test-Pod.noarch 0:1.48-3.9.amzn1 will be installed
--> Processing Dependency: perl(Test::More) >= 0.62 for package:
perl-Test-Pod-1.48-3.9.amzn1.noarch
--> Processing Dependency: perl(Test::Builder) for package:
perl-Test-Pod-1.48-3.9.amzn1.noarch
---> Package perl-TimeDate.noarch 1:2.30-2.7.amzn1 will be installed
---> Package perl-URI.noarch 0:1.60-9.8.amzn1 will be installed
--> Processing Dependency: perl(Business::ISBN) for package:
perl-URI-1.60-9.8.amzn1.noarch
---> Package perl-YAML.noarch 0:0.84-5.7.amzn1 will be installed
---> Package pyzor.noarch 0:0.5.0-3.el6 will be installed
--> Processing Dependency: python(abi) = 2.6 for package:
pyzor-0.5.0-3.el6.noarch
---> Package re2c.x86_64 0:0.13.5-1.2.amzn1 will be installed
--> Running transaction check
---> Package perl-Business-ISBN.noarch 0:2.06-2.7.amzn1 will be installed
--> Processing Dependency: perl(Business::ISBN::Data) >= 20120719.001
for package: perl-Business-ISBN-2.06-2.7.amzn1.noarch
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.11.amzn1 will be
installed
---> Package perl-Crypt-OpenSSL-RSA.x86_64 0:0.28-7.8.amzn1 will be
installed
--> Processing Dependency: perl(Crypt::OpenSSL::Bignum) for package:
perl-Crypt-OpenSSL-RSA-0.28-7.8.amzn1.x86_64
--> Processing Dependency: perl(Crypt::OpenSSL::Random) for package:
perl-Crypt-OpenSSL-RSA-0.28-7.8.amzn1.x86_64
---> Package perl-Error.noarch 1:0.17020-2.9.amzn1 will be installed
---> Package perl-Filesys-Df.x86_64 0:0.92-5.el6 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.10.1) for package:
perl-Filesys-Df-0.92-5.el6.x86_64
---> Package perl-HTTP-Message.noarch 0:6.06-6.10.amzn1 will be installed
--> Processing Dependency: perl(Encode::Locale) >= 1 for package:
perl-HTTP-Message-6.06-6.10.amzn1.noarch
--> Processing Dependency: perl(HTTP::Date) >= 6 for package:
perl-HTTP-Message-6.06-6.10.amzn1.noarch
--> Processing Dependency: perl(LWP::MediaTypes) >= 6 for package:
perl-HTTP-Message-6.06-6.10.amzn1.noarch
--> Processing Dependency: perl(IO::HTML) for package:
perl-HTTP-Message-6.06-6.10.amzn1.noarch
---> Package perl-Net-SMTP-SSL.noarch 0:1.01-13.7.amzn1 will be installed
--> Processing Dependency: perl(IO::Socket::SSL) for package:
perl-Net-SMTP-SSL-1.01-13.7.amzn1.noarch
---> Package perl-NetAddr-IP.x86_64 0:4.069-3.8.amzn1 will be installed
---> Package perl-Package-Constants.noarch 1:0.02-286.38.amzn1 will be
installed
---> Package perl-Parse-RecDescent.noarch 0:1.967009-5.13.amzn1 will be
installed
---> Package perl-PlRPC.noarch 0:0.2020-14.7.amzn1 will be installed
--> Processing Dependency: perl(Net::Daemon) >= 0.13 for package:
perl-PlRPC-0.2020-14.7.amzn1.noarch
--> Processing Dependency: perl(Net::Daemon::Test) for package:
perl-PlRPC-0.2020-14.7.amzn1.noarch
--> Processing Dependency: perl(Net::Daemon::Log) for package:
perl-PlRPC-0.2020-14.7.amzn1.noarch
---> Package perl-Sys-Hostname-Long.noarch 0:1.4-5.el6 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.10.1) for package:
perl-Sys-Hostname-Long-1.4-5.el6.noarch
---> Package perl-Sys-SigAction.noarch 0:0.11-2.el6 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.10.1) for package:
perl-Sys-SigAction-0.11-2.el6.noarch
---> Package perl-Sys-Syslog.x86_64 0:0.33-3.6.amzn1 will be installed
---> Package perl-Test-Simple.noarch 0:0.98-243.6.amzn1 will be installed
---> Package perl-version.x86_64 3:0.99.07-2.6.amzn1 will be installed
---> Package python26.x86_64 0:2.6.9-2.88.amzn1 will be installed
--> Processing Dependency: libpython2.6.so.1.0()(64bit) for package:
python26-2.6.9-2.88.amzn1.x86_64
--> Running transaction check
---> Package perl-Business-ISBN-Data.noarch 0:20120719.001-2.7.amzn1
will be installed
---> Package perl-Crypt-OpenSSL-Bignum.x86_64 0:0.04-18.8.amzn1 will be
installed
---> Package perl-Crypt-OpenSSL-Random.x86_64 0:0.04-21.8.amzn1 will be
installed
---> Package perl-Encode-Locale.noarch 0:1.03-5.8.amzn1 will be installed
---> Package perl-Filesys-Df.x86_64 0:0.92-5.el6 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.10.1) for package:
perl-Filesys-Df-0.92-5.el6.x86_64
---> Package perl-HTTP-Date.noarch 0:6.02-8.8.amzn1 will be installed
---> Package perl-IO-HTML.noarch 0:1.00-2.5.amzn1 will be installed
---> Package perl-IO-Socket-SSL.noarch 0:1.94-3.13.amzn1 will be installed
--> Processing Dependency: perl(Net::SSLeay) >= 1.21 for package:
perl-IO-Socket-SSL-1.94-3.13.amzn1.noarch
--> Processing Dependency: perl(IO::Socket::IP) >= 0.20 for package:
perl-IO-Socket-SSL-1.94-3.13.amzn1.noarch
--> Processing Dependency: perl(Net::LibIDN) for package:
perl-IO-Socket-SSL-1.94-3.13.amzn1.noarch
--> Processing Dependency: perl(Net::SSLeay) for package:
perl-IO-Socket-SSL-1.94-3.13.amzn1.noarch
---> Package perl-LWP-MediaTypes.noarch 0:6.02-2.9.amzn1 will be installed
---> Package perl-Net-Daemon.noarch 0:0.48-5.5.amzn1 will be installed
---> Package perl-Sys-Hostname-Long.noarch 0:1.4-5.el6 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.10.1) for package:
perl-Sys-Hostname-Long-1.4-5.el6.noarch
---> Package perl-Sys-SigAction.noarch 0:0.11-2.el6 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.10.1) for package:
perl-Sys-SigAction-0.11-2.el6.noarch
---> Package python26-libs.x86_64 0:2.6.9-2.88.amzn1 will be installed
--> Running transaction check
---> Package perl-Filesys-Df.x86_64 0:0.92-5.el6 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.10.1) for package:
perl-Filesys-Df-0.92-5.el6.x86_64
---> Package perl-IO-Socket-IP.noarch 0:0.21-4.5.amzn1 will be installed
---> Package perl-Net-LibIDN.x86_64 0:0.12-15.6.amzn1 will be installed
---> Package perl-Net-SSLeay.x86_64 0:1.65-2.10.amzn1 will be installed
---> Package perl-Sys-Hostname-Long.noarch 0:1.4-5.el6 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.10.1) for package:
perl-Sys-Hostname-Long-1.4-5.el6.noarch
---> Package perl-Sys-SigAction.noarch 0:0.11-2.el6 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.10.1) for package:
perl-Sys-SigAction-0.11-2.el6.noarch
--> Finished Dependency Resolution
Error: Package: perl-Sys-Hostname-Long-1.4-5.el6.noarch (epel)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: perl-Sys-SigAction-0.11-2.el6.noarch (epel)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: perl-Filesys-Df-0.92-5.el6.x86_64 (epel)
Requires: perl(:MODULE_COMPAT_5.10.1)
You could try using --skip-broken to work around the problem
** Found 21 pre-existing rpmdb problem(s), 'yum check' output follows:
MailScanner-5.0.3-7.noarch has missing requires of perl(Archive::Zip)
MailScanner-5.0.3-7.noarch has missing requires of perl(Compress::Zlib)
MailScanner-5.0.3-7.noarch has missing requires of perl(DBI)
MailScanner-5.0.3-7.noarch has missing requires of perl(Env)
MailScanner-5.0.3-7.noarch has missing requires of perl(Filesys::Df)
MailScanner-5.0.3-7.noarch has missing requires of perl(HTML::Entities)
MailScanner-5.0.3-7.noarch has missing requires of perl(HTML::Parser)
MailScanner-5.0.3-7.noarch has missing requires of perl(HTML::TokeParser)
MailScanner-5.0.3-7.noarch has missing requires of perl(IO::Stringy)
MailScanner-5.0.3-7.noarch has missing requires of perl(LWP::UserAgent)
MailScanner-5.0.3-7.noarch has missing requires of
perl(MIME::Decoder::BinHex)
MailScanner-5.0.3-7.noarch has missing requires of perl(MIME::Decoder::UU)
MailScanner-5.0.3-7.noarch has missing requires of perl(MIME::Head)
MailScanner-5.0.3-7.noarch has missing requires of perl(MIME::Parser)
MailScanner-5.0.3-7.noarch has missing requires of perl(MIME::WordDecoder)
MailScanner-5.0.3-7.noarch has missing requires of perl(Net::CIDR)
MailScanner-5.0.3-7.noarch has missing requires of perl(Net::DNS::Resolver)
MailScanner-5.0.3-7.noarch has missing requires of perl(OLE::Storage_Lite)
MailScanner-5.0.3-7.noarch has missing requires of perl(Sys::Hostname::Long)
MailScanner-5.0.3-7.noarch has missing requires of perl(Sys::SigAction)
MailScanner-5.0.3-7.noarch has missing requires of perl(Sys::Syslog)
[@ ~]#
---------------------
On 5/10/2017 9:44 AM, Jerry Benton wrote:
> It doesn’t matter what the EPEL repo is called as long as the packages
> are available.
>
> CPAN should work on any OS, but you need to install those tools if
> they are not there. (perl-CPAN)
>
> -
> Jerry Benton
> www.mailborder.com <http://www.mailborder.com>
> +1 - 844-436-6245
>
>
>
>> On May 9, 2017, at 9:38 PM, Bryan <bryan at kitchencloset.com
>> <mailto:bryan at kitchencloset.com>> wrote:
>>
>> It failed to work, most notably it did not acknowledge the Amazon
>> EPEL repo and everything around CPAN completely failed.
>>
>> I'm going to pull the script apart and step by step try to do this
>> manually to see if I can get things working that way.
>>
>>
>> On 5/6/2017 8:13 AM, Michael Huntley wrote:
>>>
>>> I've never tried. Please report back any issues!
>>>
>>>
>>> On 2017-05-04 13:29, Bryan wrote:
>>>
>>>> I would imagine that it is but I'm not sure if I should just force
>>>> RHEL 7 or if there are other issues to be aware of?
>>>>
>>>> Thanks!
>>>>
>>>> Bryan
>>>
>>>
>>
>>
>>
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> <mailto:mailscanner at lists.mailscanner.info>
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170510/0d9cc52a/attachment.html>
More information about the MailScanner
mailing list