How to Install rsyslog v8.15 on Amazon Linux AMI -


im trying upgrade rsyslog 5.8.10 on amazon linux ami 2015.09 v8.15.

here steps:

vi /etc/yum.repos.d/rsyslog.repo

[rsyslog_v8]   name=adiscon centos-$releasever - local packages $basearch   baseurl=http://rpms.adiscon.com/v8-stable/epel-7/$basearch   enabled=0   gpgcheck=0   gpgkey=http://rpms.adiscon.com/rpm-gpg-key-adiscon   protect=1   

sudo yum install rsyslog --enablerepo=rsyslog_v8 --setopt=rsyslog_v8.priority=1

my error output:

loaded plugins: priorities, update-motd, upgrade-helper amzn-main/latest                                                                                                                                           | 2.1 kb     00:00 amzn-updates/latest                                                                                                                                        | 2.3 kb     00:00 rsyslog_v8/x86_64                                                                                                                                          | 2.5 kb     00:00 zabbix                                                                                                                                                     |  951 b     00:00 5 packages excluded due repository priority protections resolving dependencies --> running transaction check ---> package rsyslog.x86_64 0:5.8.10-9.26.amzn1 updated ---> package rsyslog.x86_64 0:8.15.0-1.el7 update --> processing dependency: libsystemd-journal.so.0(libsystemd_journal_38)(64bit) package: rsyslog-8.15.0-1.el7.x86_64 --> processing dependency: libsystemd-journal.so.0(libsystemd_journal_201)(64bit) package: rsyslog-8.15.0-1.el7.x86_64 --> processing dependency: libsystemd-journal.so.0(libsystemd_journal_183)(64bit) package: rsyslog-8.15.0-1.el7.x86_64 --> processing dependency: libgt package: rsyslog-8.15.0-1.el7.x86_64 --> processing dependency: libsystemd-journal.so.0()(64bit) package: rsyslog-8.15.0-1.el7.x86_64 --> processing dependency: libsystemd-id128.so.0()(64bit) package: rsyslog-8.15.0-1.el7.x86_64 --> processing dependency: liblogging-stdlog.so.0()(64bit) package: rsyslog-8.15.0-1.el7.x86_64 --> processing dependency: libjson-c.so.2()(64bit) package: rsyslog-8.15.0-1.el7.x86_64 --> processing dependency: libgthttp.so.0()(64bit) package: rsyslog-8.15.0-1.el7.x86_64 --> processing dependency: libgtbase.so.0()(64bit) package: rsyslog-8.15.0-1.el7.x86_64 --> processing dependency: libestr.so.0()(64bit) package: rsyslog-8.15.0-1.el7.x86_64 --> running transaction check ---> package json-c.x86_64 0:0.11-6.8.amzn1 installed ---> package libestr.x86_64 0:0.1.10-1.el7 installed ---> package libgt.x86_64 0:0.3.11-1.el7 installed ---> package liblogging.x86_64 0:1.0.5-1.el7 installed ---> package rsyslog.x86_64 0:8.15.0-1.el7 update --> processing dependency: libsystemd-journal.so.0(libsystemd_journal_38)(64bit) package: rsyslog-8.15.0-1.el7.x86_64 --> processing dependency: libsystemd-journal.so.0(libsystemd_journal_201)(64bit) package: rsyslog-8.15.0-1.el7.x86_64 --> processing dependency: libsystemd-journal.so.0(libsystemd_journal_183)(64bit) package: rsyslog-8.15.0-1.el7.x86_64 --> processing dependency: libsystemd-journal.so.0()(64bit) package: rsyslog-8.15.0-1.el7.x86_64 --> processing dependency: libsystemd-id128.so.0()(64bit) package: rsyslog-8.15.0-1.el7.x86_64 --> finished dependency resolution error: package: rsyslog-8.15.0-1.el7.x86_64 (rsyslog_v8)            requires: libsystemd-journal.so.0()(64bit) error: package: rsyslog-8.15.0-1.el7.x86_64 (rsyslog_v8)            requires: libsystemd-id128.so.0()(64bit) error: package: rsyslog-8.15.0-1.el7.x86_64 (rsyslog_v8)            requires: libsystemd-journal.so.0(libsystemd_journal_201)(64bit) error: package: rsyslog-8.15.0-1.el7.x86_64 (rsyslog_v8)            requires: libsystemd-journal.so.0(libsystemd_journal_38)(64bit) error: package: rsyslog-8.15.0-1.el7.x86_64 (rsyslog_v8)            requires: libsystemd-journal.so.0(libsystemd_journal_183)(64bit)  try using --skip-broken work around problem  try running: rpm -va --nofiles --nodigest 

here step have found working:

vi /etc/yum.repos.d/rsyslog.repo

[v8-stable] name=adiscon centos-6 - local packages \$basearch baseurl=http://rpms.adiscon.com/v8-stable/epel-6/\$basearch enabled=0 gpgcheck=0 gpgkey=http://rpms.adiscon.com/rpm-gpg-key-adiscon protect=1 

Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -