Troubleshooting

Issues with access to repositories

If you are able to see this page, yet not able to access the repository from your machines, your IP address might be blocked. Usage on our repositories is monitored. Client systems that are too aggressive on resources will be blocked. Contact us for getting your IP address unblocked. Please let us know what actions you have taken to decrease the number of requests.

YUM

# Show the repo file
cat /etc/yum.repos.d/cisofy-lynis.repo

# Retrieve information on Lynis package
yum list lynis
yum info lynis

# See repo information
repoquery -i lynis
yumdb search from_repo lynis

# See if repo priorities are used
sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n


Another repository gets preferred

Sometimes another repository may 'hijack' the CISOfy repo. Typically this happens when they provide the same version of Lynis as ours. Except, that they packaged it slightly different and giving errors.

lynis-2.5.1-1.el7.art.noarch.rpm                                                                                                                                                | 244 kB  00:00:00     
Running transaction check
Running transaction test


Transaction check error:
  file /usr/share/lynis/plugins/plugin_pam_phase1 from install of lynis-2.5.1-1.el7.art.noarch conflicts with file from package lynis-plugins-2.0.9-1.noarch
  file /usr/share/lynis/plugins/plugin_systemd_phase1 from install of lynis-2.5.1-1.el7.art.noarch conflicts with file from package lynis-plugins-2.0.9-1.noarch

In this case files are bundled in the package, that are not supposed to be there. One option is to disable the related repository. Another one is to define an exclusion in the conflicting repository.

Zypper

zypper info "lynis-*"