我正在尝试将Amazon Linux AMI 2015.09上的rsyslog 5.8.10升级到v8.15。
以下是我的步骤:
vi /etc/yum.repos.d/rsyslog.repo
[rsyslog_v8]
name=Adiscon CentOS-$releasever - local packages for $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
请执行以下命令安装rsyslog:
sudo yum install rsyslog --enablerepo=rsyslog_v8 --setopt=rsyslog_v8.priority=1
错误输出:
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 to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package rsyslog.x86_64 0:5.8.10-9.26.amzn1 will be updated
---> Package rsyslog.x86_64 0:8.15.0-1.el7 will be an update
--> Processing Dependency: libsystemd-journal.so.0(LIBSYSTEMD_JOURNAL_38)(64bit) for package: rsyslog-8.15.0-1.el7.x86_64
--> Processing Dependency: libsystemd-journal.so.0(LIBSYSTEMD_JOURNAL_201)(64bit) for package: rsyslog-8.15.0-1.el7.x86_64
--> Processing Dependency: libsystemd-journal.so.0(LIBSYSTEMD_JOURNAL_183)(64bit) for package: rsyslog-8.15.0-1.el7.x86_64
--> Processing Dependency: libgt for package: rsyslog-8.15.0-1.el7.x86_64
--> Processing Dependency: libsystemd-journal.so.0()(64bit) for package: rsyslog-8.15.0-1.el7.x86_64
--> Processing Dependency: libsystemd-id128.so.0()(64bit) for package: rsyslog-8.15.0-1.el7.x86_64
--> Processing Dependency: liblogging-stdlog.so.0()(64bit) for package: rsyslog-8.15.0-1.el7.x86_64
--> Processing Dependency: libjson-c.so.2()(64bit) for package: rsyslog-8.15.0-1.el7.x86_64
--> Processing Dependency: libgthttp.so.0()(64bit) for package: rsyslog-8.15.0-1.el7.x86_64
--> Processing Dependency: libgtbase.so.0()(64bit) for package: rsyslog-8.15.0-1.el7.x86_64
--> Processing Dependency: libestr.so.0()(64bit) for package: rsyslog-8.15.0-1.el7.x86_64
--> Running transaction check
---> Package json-c.x86_64 0:0.11-6.8.amzn1 will be installed
---> Package libestr.x86_64 0:0.1.10-1.el7 will be installed
---> Package libgt.x86_64 0:0.3.11-1.el7 will be installed
---> Package liblogging.x86_64 0:1.0.5-1.el7 will be installed
---> Package rsyslog.x86_64 0:8.15.0-1.el7 will be an update
--> Processing Dependency: libsystemd-journal.so.0(LIBSYSTEMD_JOURNAL_38)(64bit) for package: rsyslog-8.15.0-1.el7.x86_64
--> Processing Dependency: libsystemd-journal.so.0(LIBSYSTEMD_JOURNAL_201)(64bit) for package: rsyslog-8.15.0-1.el7.x86_64
--> Processing Dependency: libsystemd-journal.so.0(LIBSYSTEMD_JOURNAL_183)(64bit) for package: rsyslog-8.15.0-1.el7.x86_64
--> Processing Dependency: libsystemd-journal.so.0()(64bit) for package: rsyslog-8.15.0-1.el7.x86_64
--> Processing Dependency: libsystemd-id128.so.0()(64bit) for 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)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest