Azure VMを使用して両方のオペレーティングシステムを試してみました。
SELinuxに関連する同様のエラーが常に表示されます。私はRHELを使った経験がありませんでしたが、顧客が要求し、スナップがないと必要なツールをインストールできませんでした。強制的にインストールするか、rpmをダウンロードして直接インストールする方法を知っていますか?
現在7.6で発生するエラー
Processing Dependency: selinux-policy-base >= 3.13.1-268.el7_9.2 for package: snapd-selinux-2.54.1-1.el7.noarch
---> Package squashfuse-libs.x86_64 0:0.1.102-1.el7 will be installed
--> Finished Dependency Resolution
Error: Package: snapd-selinux-2.54.1-1.el7.noarch (epel)
Requires: selinux-policy-base >= 3.13.1-268.el7_9.2
Installed: selinux-policy-targeted-3.13.1-229.el7_6.15.noarch (@rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-229.el7_6.15
Available: selinux-policy-minimum-3.12.1-153.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.12.1-153.el7
Available: selinux-policy-minimum-3.12.1-153.el7_0.10.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.12.1-153.el7_0.10
Available: selinux-policy-minimum-3.12.1-153.el7_0.11.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.12.1-153.el7_0.11
Available: selinux-policy-minimum-3.12.1-153.el7_0.12.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.12.1-153.el7_0.12
Available: selinux-policy-minimum-3.12.1-153.el7_0.13.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.12.1-153.el7_0.13
Available: selinux-policy-minimum-3.13.1-23.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7
Available: selinux-policy-minimum-3.13.1-23.el7_1.7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7_1.7
Available: selinux-policy-minimum-3.13.1-23.el7_1.8.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7_1.8
Available: selinux-policy-minimum-3.13.1-23.el7_1.13.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7_1.13
Available: selinux-policy-minimum-3.13.1-23.el7_1.17.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7_1.17
Available: selinux-policy-minimum-3.13.1-23.el7_1.18.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7_1.18
Available: selinux-policy-minimum-3.13.1-23.el7_1.21.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7_1.21
Available: selinux-policy-minimum-3.13.1-60.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-60.el7
Available: selinux-policy-minimum-3.13.1-60.el7_2.3.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-60.el7_2.3
Available: selinux-policy-minimum-3.13.1-60.el7_2.7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-60.el7_2.7
Available: selinux-policy-minimum-3.13.1-60.el7_2.9.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-60.el7_2.9
Available: selinux-policy-minimum-3.13.1-102.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-102.el7
Available: selinux-policy-minimum-3.13.1-102.el7_3.4.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-102.el7_3.4
Available: selinux-policy-minimum-3.13.1-102.el7_3.7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-102.el7_3.7
Available: selinux-policy-minimum-3.13.1-102.el7_3.13.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-102.el7_3.13
Available: selinux-policy-minimum-3.13.1-102.el7_3.15.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-102.el7_3.15
Available: selinux-policy-minimum-3.13.1-102.el7_3.16.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-102.el7_3.16
Available: selinux-policy-minimum-3.13.1-166.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-166.el7
Available: selinux-policy-minimum-3.13.1-166.el7_4.4.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-166.el7_4.4
Available: selinux-policy-minimum-3.13.1-166.el7_4.5.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-166.el7_4.5
Available: selinux-policy-minimum-3.13.1-166.el7_4.7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-166.el7_4.7
Available: selinux-policy-minimum-3.13.1-166.el7_4.9.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-166.el7_4.9
Available: selinux-policy-minimum-3.13.1-192.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-192.el7
Available: selinux-policy-minimum-3.13.1-192.el7_5.3.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-192.el7_5.3
Available: selinux-policy-minimum-3.13.1-192.el7_5.4.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-192.el7_5.4
Available: selinux-policy-minimum-3.13.1-192.el7_5.6.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-192.el7_5.6
Available: selinux-policy-minimum-3.13.1-229.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-229.el7
Available: selinux-policy-minimum-3.13.1-229.el7_6.5.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-229.el7_6.5
Available: selinux-policy-minimum-3.13.1-229.el7_6.6.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-229.el7_6.6
Available: selinux-policy-minimum-3.13.1-229.el7_6.9.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-229.el7_6.9
Available: selinux-policy-minimum-3.13.1-229.el7_6.12.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-229.el7_6.12
Available: selinux-policy-minimum-3.13.1-229.el7_6.15.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-229.el7_6.15
Available: selinux-policy-mls-3.12.1-153.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.12.1-153.el7
Available: selinux-policy-mls-3.12.1-153.el7_0.10.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.12.1-153.el7_0.10
Available: selinux-policy-mls-3.12.1-153.el7_0.11.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.12.1-153.el7_0.11
Available: selinux-policy-mls-3.12.1-153.el7_0.12.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.12.1-153.el7_0.12
Available: selinux-policy-mls-3.12.1-153.el7_0.13.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.12.1-153.el7_0.13
Available: selinux-policy-mls-3.13.1-23.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7
Available: selinux-policy-mls-3.13.1-23.el7_1.7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7_1.7
Available: selinux-policy-mls-3.13.1-23.el7_1.8.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7_1.8
Available: selinux-policy-mls-3.13.1-23.el7_1.13.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7_1.13
Available: selinux-policy-mls-3.13.1-23.el7_1.17.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7_1.17
Available: selinux-policy-mls-3.13.1-23.el7_1.18.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7_1.18
Available: selinux-policy-mls-3.13.1-23.el7_1.21.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7_1.21
Available: selinux-policy-mls-3.13.1-60.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-60.el7
Available: selinux-policy-mls-3.13.1-60.el7_2.3.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-60.el7_2.3
Available: selinux-policy-mls-3.13.1-60.el7_2.7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-60.el7_2.7
Available: selinux-policy-mls-3.13.1-60.el7_2.9.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-60.el7_2.9
Available: selinux-policy-mls-3.13.1-102.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-102.el7
Available: selinux-policy-mls-3.13.1-102.el7_3.4.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-102.el7_3.4
Available: selinux-policy-mls-3.13.1-102.el7_3.7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-102.el7_3.7
Available: selinux-policy-mls-3.13.1-102.el7_3.13.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-102.el7_3.13
Available: selinux-policy-mls-3.13.1-102.el7_3.15.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-102.el7_3.15
Available: selinux-policy-mls-3.13.1-102.el7_3.16.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-102.el7_3.16
Available: selinux-policy-mls-3.13.1-166.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-166.el7
Available: selinux-policy-mls-3.13.1-166.el7_4.4.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-166.el7_4.4
Available: selinux-policy-mls-3.13.1-166.el7_4.5.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-166.el7_4.5
Available: selinux-policy-mls-3.13.1-166.el7_4.7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-166.el7_4.7
Available: selinux-policy-mls-3.13.1-166.el7_4.9.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-166.el7_4.9
Available: selinux-policy-mls-3.13.1-192.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-192.el7
Available: selinux-policy-mls-3.13.1-192.el7_5.3.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-192.el7_5.3
Available: selinux-policy-mls-3.13.1-192.el7_5.4.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-192.el7_5.4
Available: selinux-policy-mls-3.13.1-192.el7_5.6.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-192.el7_5.6
Available: selinux-policy-mls-3.13.1-229.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-229.el7
Available: selinux-policy-mls-3.13.1-229.el7_6.5.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-229.el7_6.5
Available: selinux-policy-mls-3.13.1-229.el7_6.6.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-229.el7_6.6
Available: selinux-policy-mls-3.13.1-229.el7_6.9.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-229.el7_6.9
Available: selinux-policy-mls-3.13.1-229.el7_6.12.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-229.el7_6.12
Available: selinux-policy-mls-3.13.1-229.el7_6.15.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-229.el7_6.15
Available: selinux-policy-targeted-3.12.1-153.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.12.1-153.el7
Available: selinux-policy-targeted-3.12.1-153.el7_0.10.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.12.1-153.el7_0.10
Available: selinux-policy-targeted-3.12.1-153.el7_0.11.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.12.1-153.el7_0.11
Available: selinux-policy-targeted-3.12.1-153.el7_0.12.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.12.1-153.el7_0.12
Available: selinux-policy-targeted-3.12.1-153.el7_0.13.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.12.1-153.el7_0.13
Available: selinux-policy-targeted-3.13.1-23.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7
Available: selinux-policy-targeted-3.13.1-23.el7_1.7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7_1.7
Available: selinux-policy-targeted-3.13.1-23.el7_1.8.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7_1.8
Available: selinux-policy-targeted-3.13.1-23.el7_1.13.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7_1.13
Available: selinux-policy-targeted-3.13.1-23.el7_1.17.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7_1.17
Available: selinux-policy-targeted-3.13.1-23.el7_1.18.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7_1.18
Available: selinux-policy-targeted-3.13.1-23.el7_1.21.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-23.el7_1.21
Available: selinux-policy-targeted-3.13.1-60.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-60.el7
Available: selinux-policy-targeted-3.13.1-60.el7_2.3.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-60.el7_2.3
Available: selinux-policy-targeted-3.13.1-60.el7_2.7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-60.el7_2.7
Available: selinux-policy-targeted-3.13.1-60.el7_2.9.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-60.el7_2.9
Available: selinux-policy-targeted-3.13.1-102.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-102.el7
Available: selinux-policy-targeted-3.13.1-102.el7_3.4.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-102.el7_3.4
Available: selinux-policy-targeted-3.13.1-102.el7_3.7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-102.el7_3.7
Available: selinux-policy-targeted-3.13.1-102.el7_3.13.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-102.el7_3.13
Available: selinux-policy-targeted-3.13.1-102.el7_3.15.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-102.el7_3.15
Available: selinux-policy-targeted-3.13.1-102.el7_3.16.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-102.el7_3.16
Available: selinux-policy-targeted-3.13.1-166.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-166.el7
Available: selinux-policy-targeted-3.13.1-166.el7_4.4.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-166.el7_4.4
Available: selinux-policy-targeted-3.13.1-166.el7_4.5.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-166.el7_4.5
Available: selinux-policy-targeted-3.13.1-166.el7_4.7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-166.el7_4.7
Available: selinux-policy-targeted-3.13.1-166.el7_4.9.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-166.el7_4.9
Available: selinux-policy-targeted-3.13.1-192.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-192.el7
Available: selinux-policy-targeted-3.13.1-192.el7_5.3.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-192.el7_5.3
Available: selinux-policy-targeted-3.13.1-192.el7_5.4.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-192.el7_5.4
Available: selinux-policy-targeted-3.13.1-192.el7_5.6.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-192.el7_5.6
Available: selinux-policy-targeted-3.13.1-229.el7.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-229.el7
Available: selinux-policy-targeted-3.13.1-229.el7_6.5.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-229.el7_6.5
Available: selinux-policy-targeted-3.13.1-229.el7_6.6.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-229.el7_6.6
Available: selinux-policy-targeted-3.13.1-229.el7_6.9.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-229.el7_6.9
Available: selinux-policy-targeted-3.13.1-229.el7_6.12.noarch (rhui-rhel-7-server-rhui-eus-rpms)
selinux-policy-base = 3.13.1-229.el7_6.12
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
答え1
snapd-selinux-2.54.1-1.el7.noarch
EPELからインストールすると、snapd-selinux
このパッケージも一緒にインポートされます。snapd-selinux
必要最新SELinuxの基本ポリシー(「base」は「base」と同義語ですselinux-policy-targeted
)
最新のSELinuxポリシーはpackageですselinux-policy-targeted-3.13.1-268.el7_9.2.noarch
が、すでにインストールされているようですselinux-policy-targeted-3.13.1-229.el7_6.15.noarch
。
したがって、7.6から7.9にアップグレードしても大丈夫でしょう。
snapd
またはsnapd-selinux
、以前のバージョンに移動できます。https://archives.fedoraproject.org/pub/archive/epel/。