首页 > 解决方案 > 警告:无法解析“python2-audit”,“selinux-python2”的依赖项 - Arch linux

问题描述

按照此处的指南安装和使用所有需要的实用程序来使用 SELinux - https://wiki.archlinux.org/index.php/SELinux#Installing_SELinux并使用 git repo,我收到以下错误:

warning: cannot resolve "python2-audit", a dependency of "selinux-python2"
:: The following package cannot be upgraded due to unresolvable dependencies:
      selinux-python2

:: Do you want to skip the above package for this upgrade? [y/N] 
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'python2-audit' required by selinux-python2
Error: the following command failed, sudo LANG=C pacman --noconfirm --ask=4 -U ./selinux-python/selinux-python2-2.9-1-x86_64.pkg.tar.xz ./selinux-python/selinux-python-2.9-1-x86_64.pkg.tar.xz

运行时 ./build_and_install_all.sh

我启用了核心仓库,并尝试反复刷新数据库

为什么说 python2-audit 不可用,而 wiki 说它在核心 repo 中可用?

除非我能以某种方式安装它,否则我能否以及如何绕过该要求?

标签: python-2.xarchlinuxselinux

解决方案


推荐阅读