@alexesDev

Как решить конфликт selinux-policy после обновления до centos 7.3?

После yum update --skip-broken обновились все пакеты, кроме firewalld и openssh, судя по ошибкам из-за selinux-policy. Как правильно решают подобные конфликты в centos? Можно совет или ссылку на подобные статьи...

$ yum update
Loaded plugins: keys, protectbase
0 packages excluded due to repository protections
Resolving Dependencies
--> Running transaction check
---> Package firewalld.noarch 0:0.3.9-14.el7 will be updated
---> Package firewalld.noarch 0:0.4.3.2-8.1.el7_3 will be an update
--> Processing Dependency: python-firewall = 0.4.3.2-8.1.el7_3 for package: firewalld-0.4.3.2-8.1.el7_3.noarch
--> Processing Dependency: firewalld-filesystem = 0.4.3.2-8.1.el7_3 for package: firewalld-0.4.3.2-8.1.el7_3.noarch
---> Package openssh.x86_64 0:6.6.1p1-25.el7_2 will be updated
---> Package openssh.x86_64 0:6.6.1p1-33.el7_3 will be an update
---> Package openssh-clients.x86_64 0:6.6.1p1-25.el7_2 will be updated
---> Package openssh-clients.x86_64 0:6.6.1p1-33.el7_3 will be an update
---> Package openssh-server.x86_64 0:6.6.1p1-25.el7_2 will be updated
---> Package openssh-server.x86_64 0:6.6.1p1-33.el7_3 will be an update
--> Running transaction check
---> Package firewalld-filesystem.noarch 0:0.4.3.2-8.1.el7_3 will be installed
---> Package python-firewall.noarch 0:0.4.3.2-8.1.el7_3 will be installed
--> Processing Conflict: firewalld-0.4.3.2-8.1.el7_3.noarch conflicts selinux-policy < 3.13.1-89
--> Processing Conflict: openssh-6.6.1p1-33.el7_3.x86_64 conflicts selinux-policy < 3.13.1-92
--> Finished Dependency Resolution
Error: firewalld conflicts with selinux-policy-3.13.1-60.el7_2.9.noarch
Error: openssh conflicts with selinux-policy-3.13.1-60.el7_2.9.noarch
 You could try using --skip-broken to work around the problem
** Found 12 pre-existing rpmdb problem(s), 'yum check' output follows:
libselinux-2.5-6.el7.x86_64 has installed conflicts systemd < ('0', '219', '20'): systemd-219-19.el7_2.13.x86_64
libselinux-2.5-6.el7.x86_64 is a duplicate with libselinux-2.2.2-6.el7.x86_64
libselinux-python-2.5-6.el7.x86_64 is a duplicate with libselinux-python-2.2.2-6.el7.x86_64
libselinux-utils-2.5-6.el7.x86_64 is a duplicate with libselinux-utils-2.2.2-6.el7.x86_64
libsemanage-2.5-5.1.el7_3.x86_64 is a duplicate with libsemanage-2.1.10-18.el7.x86_64
libsemanage-python-2.5-5.1.el7_3.x86_64 is a duplicate with libsemanage-python-2.1.10-18.el7.x86_64
libsepol-2.5-6.el7.x86_64 is a duplicate with libsepol-2.1.9-3.el7.x86_64
policycoreutils-2.5-11.el7_3.x86_64 is a duplicate with policycoreutils-2.2.5-20.el7.x86_64
selinux-policy-3.13.1-102.el7_3.13.noarch is a duplicate with selinux-policy-3.13.1-60.el7_2.9.noarch
setools-libs-3.3.8-1.1.el7.x86_64 is a duplicate with setools-libs-3.3.7-46.el7.x86_64
systemd-219-30.el7_3.6.x86_64 is a duplicate with systemd-219-19.el7_2.13.x86_64
systemd-libs-219-30.el7_3.6.x86_64 is a duplicate with systemd-libs-219-19.el7_2.13.x86_64
  • Вопрос задан
  • 1491 просмотр
Решения вопроса 1
@alexesDev Автор вопроса
Странно, вчера selinux-policy вроде пытался удалить, он из-за зависимостей каких-то важных не хотел.
yum remove selinux-policy
yum update
yum install selinux-policy
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы