RHEL 7.6 또는 8.1에서 스냅을 설치할 수 없습니다.

RHEL 7.6 또는 8.1에서 스냅을 설치할 수 없습니다.

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.noarchEPEL에서 설치하면 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/.

관련 정보