1
1

More than 1 year has passed since last update.

Installing syslog-ng3.33 on RHEL 7.9

Last updated at Posted at 2021-10-08

I got stacked with this for some days.

I followed the instructions in there, but I got dependency errors.

[root@18fss yum.repos.d]# yum install syslog-ng
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package syslog-ng.x86_64 0:3.34.1-1.el8 will be installed
--> Processing Dependency: libivykis.so.0(IVYKIS_0.40)(64bit) for package: syslog-ng-3.34.1-1.el8.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.28)(64bit) for package: syslog-ng-3.34.1-1.el8.x86_64
--> Processing Dependency: libjson-c.so.4()(64bit) for package: syslog-ng-3.34.1-1.el8.x86_64
--> Finished Dependency Resolution
Error: Package: syslog-ng-3.34.1-1.el8.x86_64 (copr:copr.fedorainfracloud.org:czanik:syslog-ng334)
           Requires: libivykis.so.0(IVYKIS_0.40)(64bit)
Error: Package: syslog-ng-3.34.1-1.el8.x86_64 (copr:copr.fedorainfracloud.org:czanik:syslog-ng334)
           Requires: libjson-c.so.4()(64bit)
Error: Package: syslog-ng-3.34.1-1.el8.x86_64 (copr:copr.fedorainfracloud.org:czanik:syslog-ng334)
           Requires: libc.so.6(GLIBC_2.28)(64bit)
**********************************************************************
Dependency resolving failed due to missing dependencies.
Some repositories on your system are disabled, but yum can enable them
and search for missing dependencies. This will require downloading
metadata for disabled repositories and may take some time and traffic.
**********************************************************************

Enable all repositories and try again? [y/N]: y
--> Running transaction check
---> Package syslog-ng.x86_64 0:3.34.1-1.el8 will be installed
--> Processing Dependency: libivykis.so.0(IVYKIS_0.40)(64bit) for package: syslog-ng-3.34.1-1.el8.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.28)(64bit) for package: syslog-ng-3.34.1-1.el8.x86_64
--> Processing Dependency: libjson-c.so.4()(64bit) for package: syslog-ng-3.34.1-1.el8.x86_64
--> Finished Dependency Resolution
Error: Package: syslog-ng-3.34.1-1.el8.x86_64 (copr:copr.fedorainfracloud.org:czanik:syslog-ng334)
           Requires: libivykis.so.0(IVYKIS_0.40)(64bit)
Error: Package: syslog-ng-3.34.1-1.el8.x86_64 (copr:copr.fedorainfracloud.org:czanik:syslog-ng334)
           Requires: libjson-c.so.4()(64bit)
Error: Package: syslog-ng-3.34.1-1.el8.x86_64 (copr:copr.fedorainfracloud.org:czanik:syslog-ng334)
           Requires: libc.so.6(GLIBC_2.28)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I checked "IVYKIS_0.40", but this is not provided for RHEL7.
so I changed it to "czanik-syslog-ng333-epel-7.repo".
It worked for me.

[root@18fss yum.repos.d]# yum -y install syslog-ng
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
copr:copr.fedorainfracloud.org:czanik:syslog-ng333                                                                             | 3.3 kB  00:00:00
copr:copr.fedorainfracloud.org:czanik:syslog-ng333/x86_64/primary_db                                                           |  20 kB  00:00:01
Resolving Dependencies
--> Running transaction check
---> Package syslog-ng.x86_64 0:3.33.2-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================
 Package                  Arch                  Version                       Repository                                                         Size
======================================================================================================================================================
Installing:
 syslog-ng                x86_64                3.33.2-1.el7                  copr:copr.fedorainfracloud.org:czanik:syslog-ng333                853 k

Transaction Summary
======================================================================================================================================================
Install  1 Package

Total download size: 853 k
Installed size: 3.1 M
Downloading packages:
warning: /var/cache/yum/x86_64/7Server/copr:copr.fedorainfracloud.org:czanik:syslog-ng333/packages/syslog-ng-3.33.2-1.el7.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 9ec6bc31: NOKEY
Public key for syslog-ng-3.33.2-1.el7.x86_64.rpm is not installed
syslog-ng-3.33.2-1.el7.x86_64.rpm                                                                                              | 853 kB  00:00:01
Retrieving key from https://download.copr.fedorainfracloud.org/results/czanik/syslog-ng333/pubkey.gpg
Importing GPG key 0x9EC6BC31:
 Userid     : "czanik_syslog-ng333 (None) <czanik#syslog-ng333@copr.fedorahosted.org>"
 Fingerprint: ef7d 9655 2622 4c24 281f 187a 4260 b47a 9ec6 bc31
 From       : https://download.copr.fedorainfracloud.org/results/czanik/syslog-ng333/pubkey.gpg
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : syslog-ng-3.33.2-1.el7.x86_64                                                                                                      1/1
  Verifying  : syslog-ng-3.33.2-1.el7.x86_64                                                                                                      1/1

Installed:
  syslog-ng.x86_64 0:3.33.2-1.el7

Complete!
[root@18fss
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1