Skip to content

Instantly share code, notes, and snippets.

@oranie
Created January 18, 2019 06:41
Show Gist options
  • Save oranie/46fc998d9037f988069c615d57b4af08 to your computer and use it in GitHub Desktop.
Save oranie/46fc998d9037f988069c615d57b4af08 to your computer and use it in GitHub Desktop.
log
[ec2-user@ip-172-31-31-57 ~]$ sudo yum install td-agent-3.3.0-1.amazon2018.03.x86_64.rpm
Loaded plugins: priorities, update-motd, upgrade-helper
Examining td-agent-3.3.0-1.amazon2018.03.x86_64.rpm: td-agent-3.3.0-1.amazon2018.03.x86_64
Marking td-agent-3.3.0-1.amazon2018.03.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package td-agent.x86_64 0:3.3.0-1.amazon2018.03 will be installed
--> Processing Dependency: redhat-lsb-core for package: td-agent-3.3.0-1.amazon2018.03.x86_64
--> Running transaction check
---> Package redhat-lsb-core.x86_64 0:4.0-7.14.amzn1 will be installed
amzn-main/latest/filelists_db | 5.7 MB 00:00:00
amzn-updates/latest/filelists_db | 5.8 MB 00:00:00
--> Processing Dependency: perl-Test-Simple for package: redhat-lsb-core-4.0-7.14.amzn1.x86_64
--> Processing Dependency: perl-Test-Harness for package: redhat-lsb-core-4.0-7.14.amzn1.x86_64
--> Processing Dependency: perl-ExtUtils-MakeMaker for package: redhat-lsb-core-4.0-7.14.amzn1.x86_64
--> Processing Dependency: perl-CGI for package: redhat-lsb-core-4.0-7.14.amzn1.x86_64
--> Processing Dependency: /usr/bin/pax for package: redhat-lsb-core-4.0-7.14.amzn1.x86_64
--> Processing Dependency: /usr/bin/patch for package: redhat-lsb-core-4.0-7.14.amzn1.x86_64
--> Processing Dependency: /usr/bin/msgfmt for package: redhat-lsb-core-4.0-7.14.amzn1.x86_64
--> Processing Dependency: /usr/bin/m4 for package: redhat-lsb-core-4.0-7.14.amzn1.x86_64
--> Processing Dependency: /bin/mailx for package: redhat-lsb-core-4.0-7.14.amzn1.x86_64
--> Processing Dependency: /bin/gettext for package: redhat-lsb-core-4.0-7.14.amzn1.x86_64
--> Running transaction check
---> Package gettext.x86_64 0:0.18.1.1-9.1.11.amzn1 will be installed
--> Processing Dependency: libgomp.so.1(GOMP_1.0)(64bit) for package: gettext-0.18.1.1-9.1.11.amzn1.x86_64
--> Processing Dependency: libgomp.so.1()(64bit) for package: gettext-0.18.1.1-9.1.11.amzn1.x86_64
--> Processing Dependency: libgettextsrc-0.18.1.so()(64bit) for package: gettext-0.18.1.1-9.1.11.amzn1.x86_64
--> Processing Dependency: libgettextlib-0.18.1.so()(64bit) for package: gettext-0.18.1.1-9.1.11.amzn1.x86_64
---> Package m4.x86_64 0:1.4.16-9.10.amzn1 will be installed
---> Package mailx.x86_64 0:12.4-8.8.amzn1 will be installed
---> Package patch.x86_64 0:2.7.1-10.10.amzn1 will be installed
---> Package pax.x86_64 0:3.4-10.1.9.amzn1 will be installed
---> Package perl-CGI.noarch 0:3.63-4.5.amzn1 will be installed
--> Processing Dependency: perl(FCGI) >= 0.67 for package: perl-CGI-3.63-4.5.amzn1.noarch
---> Package perl-ExtUtils-MakeMaker.noarch 0:6.68-3.5.amzn1 will be installed
--> Processing Dependency: perl(ExtUtils::Packlist) for package: perl-ExtUtils-MakeMaker-6.68-3.5.amzn1.noarch
--> Processing Dependency: perl(ExtUtils::Manifest) for package: perl-ExtUtils-MakeMaker-6.68-3.5.amzn1.noarch
--> Processing Dependency: perl(ExtUtils::Installed) for package: perl-ExtUtils-MakeMaker-6.68-3.5.amzn1.noarch
--> Processing Dependency: perl(ExtUtils::Install) for package: perl-ExtUtils-MakeMaker-6.68-3.5.amzn1.noarch
---> Package perl-Test-Harness.noarch 0:3.28-3.6.amzn1 will be installed
---> Package perl-Test-Simple.noarch 0:0.98-243.6.amzn1 will be installed
--> Processing Dependency: perl(Data::Dumper) for package: perl-Test-Simple-0.98-243.6.amzn1.noarch
--> Running transaction check
---> Package gettext-libs.x86_64 0:0.18.1.1-9.1.11.amzn1 will be installed
---> Package libgomp.x86_64 0:6.4.1-1.45.amzn1 will be installed
---> Package perl-Data-Dumper.x86_64 0:2.145-3.5.amzn1 will be installed
---> Package perl-ExtUtils-Install.noarch 0:1.58-286.38.amzn1 will be installed
--> Processing Dependency: perl-devel for package: perl-ExtUtils-Install-1.58-286.38.amzn1.noarch
---> Package perl-ExtUtils-Manifest.noarch 0:1.61-244.5.amzn1 will be installed
---> Package perl-FCGI.x86_64 1:0.74-8.8.amzn1 will be installed
--> Running transaction check
---> Package perl-devel.x86_64 4:5.16.3-286.38.amzn1 will be installed
--> Processing Dependency: systemtap-sdt-devel for package: 4:perl-devel-5.16.3-286.38.amzn1.x86_64
--> Processing Dependency: perl(ExtUtils::ParseXS) for package: 4:perl-devel-5.16.3-286.38.amzn1.x86_64
--> Processing Dependency: glibc-devel for package: 4:perl-devel-5.16.3-286.38.amzn1.x86_64
--> Processing Dependency: gdbm-devel for package: 4:perl-devel-5.16.3-286.38.amzn1.x86_64
--> Processing Dependency: db4-devel for package: 4:perl-devel-5.16.3-286.38.amzn1.x86_64
--> Processing Dependency: /usr/include/db.h for package: 4:perl-devel-5.16.3-286.38.amzn1.x86_64
--> Running transaction check
---> Package db4-devel.x86_64 0:4.7.25-18.11.amzn1 will be installed
--> Processing Dependency: db4-cxx = 4.7.25-18.11.amzn1 for package: db4-devel-4.7.25-18.11.amzn1.x86_64
---> Package gdbm-devel.x86_64 0:1.8.0-36.6.amzn1 will be installed
---> Package glibc-devel.x86_64 0:2.17-260.175.amzn1 will be installed
--> Processing Dependency: glibc-headers = 2.17-260.175.amzn1 for package: glibc-devel-2.17-260.175.amzn1.x86_64
--> Processing Dependency: glibc(x86-64) = 2.17-260.175.amzn1 for package: glibc-devel-2.17-260.175.amzn1.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-260.175.amzn1.x86_64
---> Package perl-ExtUtils-ParseXS.noarch 1:3.18-2.5.amzn1 will be installed
---> Package systemtap-sdt-devel.x86_64 0:3.2-2.35.amzn1 will be installed
--> Running transaction check
---> Package db4-cxx.x86_64 0:4.7.25-18.11.amzn1 will be installed
---> Package glibc.x86_64 0:2.17-222.173.amzn1 will be updated
--> Processing Dependency: glibc(x86-64) = 2.17-222.173.amzn1 for package: glibc-common-2.17-222.173.amzn1.x86_64
---> Package glibc.x86_64 0:2.17-260.175.amzn1 will be an update
---> Package glibc-headers.x86_64 0:2.17-260.175.amzn1 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-260.175.amzn1.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-260.175.amzn1.x86_64
--> Running transaction check
---> Package glibc-common.x86_64 0:2.17-222.173.amzn1 will be updated
---> Package glibc-common.x86_64 0:2.17-260.175.amzn1 will be an update
---> Package kernel-headers.x86_64 0:4.14.88-72.76.amzn1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===================================================================================================================================================================
Package Arch Version Repository Size
===================================================================================================================================================================
Installing:
td-agent x86_64 3.3.0-1.amazon2018.03 /td-agent-3.3.0-1.amazon2018.03.x86_64 148 M
Installing for dependencies:
db4-cxx x86_64 4.7.25-18.11.amzn1 amzn-main 688 k
db4-devel x86_64 4.7.25-18.11.amzn1 amzn-main 7.0 M
gdbm-devel x86_64 1.8.0-36.6.amzn1 amzn-main 21 k
gettext x86_64 0.18.1.1-9.1.11.amzn1 amzn-main 1.6 M
gettext-libs x86_64 0.18.1.1-9.1.11.amzn1 amzn-main 428 k
glibc-devel x86_64 2.17-260.175.amzn1 amzn-updates 1.2 M
glibc-headers x86_64 2.17-260.175.amzn1 amzn-updates 758 k
kernel-headers x86_64 4.14.88-72.76.amzn1 amzn-updates 1.2 M
libgomp x86_64 6.4.1-1.45.amzn1 amzn-main 204 k
m4 x86_64 1.4.16-9.10.amzn1 amzn-main 263 k
mailx x86_64 12.4-8.8.amzn1 amzn-main 254 k
patch x86_64 2.7.1-10.10.amzn1 amzn-updates 114 k
pax x86_64 3.4-10.1.9.amzn1 amzn-main 72 k
perl-CGI noarch 3.63-4.5.amzn1 amzn-main 285 k
perl-Data-Dumper x86_64 2.145-3.5.amzn1 amzn-main 49 k
perl-ExtUtils-Install noarch 1.58-286.38.amzn1 amzn-main 76 k
perl-ExtUtils-MakeMaker noarch 6.68-3.5.amzn1 amzn-main 292 k
perl-ExtUtils-Manifest noarch 1.61-244.5.amzn1 amzn-main 32 k
perl-ExtUtils-ParseXS noarch 1:3.18-2.5.amzn1 amzn-main 81 k
perl-FCGI x86_64 1:0.74-8.8.amzn1 amzn-main 44 k
perl-Test-Harness noarch 3.28-3.6.amzn1 amzn-main 314 k
perl-Test-Simple noarch 0.98-243.6.amzn1 amzn-main 174 k
perl-devel x86_64 4:5.16.3-286.38.amzn1 amzn-main 522 k
redhat-lsb-core x86_64 4.0-7.14.amzn1 amzn-main 26 k
systemtap-sdt-devel x86_64 3.2-2.35.amzn1 amzn-updates 75 k
Updating for dependencies:
glibc x86_64 2.17-260.175.amzn1 amzn-updates 5.8 M
glibc-common x86_64 2.17-260.175.amzn1 amzn-updates 28 M
Transaction Summary
===================================================================================================================================================================
Install 1 Package (+25 Dependent packages)
Upgrade ( 2 Dependent packages)
Total size: 198 M
Total download size: 49 M
Is this ok [y/d/N]: y
Downloading packages:
(1/27): db4-cxx-4.7.25-18.11.amzn1.x86_64.rpm | 688 kB 00:00:00
(2/27): gdbm-devel-1.8.0-36.6.amzn1.x86_64.rpm | 21 kB 00:00:00
(3/27): gettext-0.18.1.1-9.1.11.amzn1.x86_64.rpm | 1.6 MB 00:00:00
(4/27): gettext-libs-0.18.1.1-9.1.11.amzn1.x86_64.rpm | 428 kB 00:00:00
(5/27): db4-devel-4.7.25-18.11.amzn1.x86_64.rpm | 7.0 MB 00:00:01
(6/27): glibc-2.17-260.175.amzn1.x86_64.rpm | 5.8 MB 00:00:01
(7/27): glibc-devel-2.17-260.175.amzn1.x86_64.rpm | 1.2 MB 00:00:00
(8/27): glibc-headers-2.17-260.175.amzn1.x86_64.rpm | 758 kB 00:00:00
(9/27): kernel-headers-4.14.88-72.76.amzn1.x86_64.rpm | 1.2 MB 00:00:00
(10/27): libgomp-6.4.1-1.45.amzn1.x86_64.rpm | 204 kB 00:00:00
(11/27): m4-1.4.16-9.10.amzn1.x86_64.rpm | 263 kB 00:00:00
(12/27): pax-3.4-10.1.9.amzn1.x86_64.rpm | 72 kB 00:00:00
(13/27): mailx-12.4-8.8.amzn1.x86_64.rpm | 254 kB 00:00:00
(14/27): perl-Data-Dumper-2.145-3.5.amzn1.x86_64.rpm | 49 kB 00:00:00
(15/27): perl-CGI-3.63-4.5.amzn1.noarch.rpm | 285 kB 00:00:00
(16/27): perl-ExtUtils-Install-1.58-286.38.amzn1.noarch.rpm | 76 kB 00:00:00
(17/27): perl-ExtUtils-MakeMaker-6.68-3.5.amzn1.noarch.rpm | 292 kB 00:00:00
(18/27): perl-ExtUtils-Manifest-1.61-244.5.amzn1.noarch.rpm | 32 kB 00:00:00
(19/27): patch-2.7.1-10.10.amzn1.x86_64.rpm | 114 kB 00:00:00
(20/27): perl-ExtUtils-ParseXS-3.18-2.5.amzn1.noarch.rpm | 81 kB 00:00:00
(21/27): perl-FCGI-0.74-8.8.amzn1.x86_64.rpm | 44 kB 00:00:00
(22/27): perl-Test-Harness-3.28-3.6.amzn1.noarch.rpm | 314 kB 00:00:00
(23/27): perl-Test-Simple-0.98-243.6.amzn1.noarch.rpm | 174 kB 00:00:00
(24/27): redhat-lsb-core-4.0-7.14.amzn1.x86_64.rpm | 26 kB 00:00:00
(25/27): perl-devel-5.16.3-286.38.amzn1.x86_64.rpm | 522 kB 00:00:00
(26/27): systemtap-sdt-devel-3.2-2.35.amzn1.x86_64.rpm | 75 kB 00:00:00
(27/27): glibc-common-2.17-260.175.amzn1.x86_64.rpm | 28 MB 00:00:03
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 13 MB/s | 49 MB 00:00:03
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : glibc-common-2.17-260.175.amzn1.x86_64 1/30
Updating : glibc-2.17-260.175.amzn1.x86_64 2/30
Installing : perl-Test-Harness-3.28-3.6.amzn1.noarch 3/30
Installing : 1:perl-FCGI-0.74-8.8.amzn1.x86_64 4/30
Installing : perl-CGI-3.63-4.5.amzn1.noarch 5/30
Installing : gettext-libs-0.18.1.1-9.1.11.amzn1.x86_64 6/30
Installing : db4-cxx-4.7.25-18.11.amzn1.x86_64 7/30
Installing : db4-devel-4.7.25-18.11.amzn1.x86_64 8/30
Installing : m4-1.4.16-9.10.amzn1.x86_64 9/30
Installing : perl-Data-Dumper-2.145-3.5.amzn1.x86_64 10/30
Installing : perl-Test-Simple-0.98-243.6.amzn1.noarch 11/30
Installing : patch-2.7.1-10.10.amzn1.x86_64 12/30
Installing : mailx-12.4-8.8.amzn1.x86_64 13/30
Installing : libgomp-6.4.1-1.45.amzn1.x86_64 14/30
Installing : gettext-0.18.1.1-9.1.11.amzn1.x86_64 15/30
Installing : pax-3.4-10.1.9.amzn1.x86_64 16/30
Installing : gdbm-devel-1.8.0-36.6.amzn1.x86_64 17/30
Installing : systemtap-sdt-devel-3.2-2.35.amzn1.x86_64 18/30
Installing : perl-ExtUtils-Manifest-1.61-244.5.amzn1.noarch 19/30
Installing : kernel-headers-4.14.88-72.76.amzn1.x86_64 20/30
Installing : glibc-headers-2.17-260.175.amzn1.x86_64 21/30
Installing : glibc-devel-2.17-260.175.amzn1.x86_64 22/30
Installing : 1:perl-ExtUtils-ParseXS-3.18-2.5.amzn1.noarch 23/30
Installing : perl-ExtUtils-MakeMaker-6.68-3.5.amzn1.noarch 24/30
Installing : perl-ExtUtils-Install-1.58-286.38.amzn1.noarch 25/30
Installing : 4:perl-devel-5.16.3-286.38.amzn1.x86_64 26/30
Installing : redhat-lsb-core-4.0-7.14.amzn1.x86_64 27/30
Installing : td-agent-3.3.0-1.amazon2018.03.x86_64 28/30
adding 'td-agent' group...
adding 'td-agent' user...
Installing default conffile...
prelink detected. Installing /etc/prelink.conf.d/td-agent-ruby.conf ...
Installing logrotate.d config
Configure td-agent to start, when booting up the OS...
Cleanup : glibc-common-2.17-222.173.amzn1.x86_64 29/30
Cleanup : glibc-2.17-222.173.amzn1.x86_64 30/30
Verifying : 1:perl-FCGI-0.74-8.8.amzn1.x86_64 1/30
Verifying : kernel-headers-4.14.88-72.76.amzn1.x86_64 2/30
Verifying : gettext-libs-0.18.1.1-9.1.11.amzn1.x86_64 3/30
Verifying : db4-cxx-4.7.25-18.11.amzn1.x86_64 4/30
Verifying : perl-Test-Simple-0.98-243.6.amzn1.noarch 5/30
Verifying : glibc-devel-2.17-260.175.amzn1.x86_64 6/30
Verifying : db4-devel-4.7.25-18.11.amzn1.x86_64 7/30
Verifying : gettext-0.18.1.1-9.1.11.amzn1.x86_64 8/30
Verifying : glibc-2.17-260.175.amzn1.x86_64 9/30
Verifying : td-agent-3.3.0-1.amazon2018.03.x86_64 10/30
Verifying : m4-1.4.16-9.10.amzn1.x86_64 11/30
Verifying : perl-ExtUtils-Manifest-1.61-244.5.amzn1.noarch 12/30
Verifying : perl-Test-Harness-3.28-3.6.amzn1.noarch 13/30
Verifying : 1:perl-ExtUtils-ParseXS-3.18-2.5.amzn1.noarch 14/30
Verifying : perl-CGI-3.63-4.5.amzn1.noarch 15/30
Verifying : perl-Data-Dumper-2.145-3.5.amzn1.x86_64 16/30
Verifying : 4:perl-devel-5.16.3-286.38.amzn1.x86_64 17/30
Verifying : systemtap-sdt-devel-3.2-2.35.amzn1.x86_64 18/30
Verifying : gdbm-devel-1.8.0-36.6.amzn1.x86_64 19/30
Verifying : patch-2.7.1-10.10.amzn1.x86_64 20/30
Verifying : mailx-12.4-8.8.amzn1.x86_64 21/30
Verifying : perl-ExtUtils-MakeMaker-6.68-3.5.amzn1.noarch 22/30
Verifying : redhat-lsb-core-4.0-7.14.amzn1.x86_64 23/30
Verifying : glibc-headers-2.17-260.175.amzn1.x86_64 24/30
Verifying : glibc-common-2.17-260.175.amzn1.x86_64 25/30
Verifying : libgomp-6.4.1-1.45.amzn1.x86_64 26/30
Verifying : perl-ExtUtils-Install-1.58-286.38.amzn1.noarch 27/30
Verifying : pax-3.4-10.1.9.amzn1.x86_64 28/30
Verifying : glibc-2.17-222.173.amzn1.x86_64 29/30
Verifying : glibc-common-2.17-222.173.amzn1.x86_64 30/30
Installed:
td-agent.x86_64 0:3.3.0-1.amazon2018.03
Dependency Installed:
db4-cxx.x86_64 0:4.7.25-18.11.amzn1 db4-devel.x86_64 0:4.7.25-18.11.amzn1 gdbm-devel.x86_64 0:1.8.0-36.6.amzn1
gettext.x86_64 0:0.18.1.1-9.1.11.amzn1 gettext-libs.x86_64 0:0.18.1.1-9.1.11.amzn1 glibc-devel.x86_64 0:2.17-260.175.amzn1
glibc-headers.x86_64 0:2.17-260.175.amzn1 kernel-headers.x86_64 0:4.14.88-72.76.amzn1 libgomp.x86_64 0:6.4.1-1.45.amzn1
m4.x86_64 0:1.4.16-9.10.amzn1 mailx.x86_64 0:12.4-8.8.amzn1 patch.x86_64 0:2.7.1-10.10.amzn1
pax.x86_64 0:3.4-10.1.9.amzn1 perl-CGI.noarch 0:3.63-4.5.amzn1 perl-Data-Dumper.x86_64 0:2.145-3.5.amzn1
perl-ExtUtils-Install.noarch 0:1.58-286.38.amzn1 perl-ExtUtils-MakeMaker.noarch 0:6.68-3.5.amzn1 perl-ExtUtils-Manifest.noarch 0:1.61-244.5.amzn1
perl-ExtUtils-ParseXS.noarch 1:3.18-2.5.amzn1 perl-FCGI.x86_64 1:0.74-8.8.amzn1 perl-Test-Harness.noarch 0:3.28-3.6.amzn1
perl-Test-Simple.noarch 0:0.98-243.6.amzn1 perl-devel.x86_64 4:5.16.3-286.38.amzn1 redhat-lsb-core.x86_64 0:4.0-7.14.amzn1
systemtap-sdt-devel.x86_64 0:3.2-2.35.amzn1
Dependency Updated:
glibc.x86_64 0:2.17-260.175.amzn1 glibc-common.x86_64 0:2.17-260.175.amzn1
Complete!
[ec2-user@ip-172-31-31-57 ~]$ sudo /etc/init.d/td-agent restart
td-agentng td-agent: [ OK ]
[ec2-user@ip-172-31-31-57 ~]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment