패키지 종속성 문제, 가장 안전한 진행 방법이 확실하지 않음

패키지 종속성 문제, 가장 안전한 진행 방법이 확실하지 않음

패키지 종속성 문제가 발생했습니다. 누군가 이 문제를 해결하는 방법을 이해하는 데 도움을 줄 수 있습니까?

Requires: zfs-kmod = 0.7.7 Available: kmod-zfs-0.6.5.11-1.el7_4.x86_64 (zfs-kmod)예를 들어 제거해야 하는지, 캐시에 있는지, 캐시를 정리해야 하는지 등의 메시지 가 표시되면 어떤 단계를 수행해야 합니까 ?

이를 촉발한 이유는 내가 를 사용하고 있고 zfsonlinuxDKMS에서카비 추적 방법. 이미 DKMS 모듈을 제거했습니다.문서에 따라, 문제 없이 진행되는 것 같지만, 뭔가 라인이 동기화되지 않았습니다.

/etc/yum.repos.d/zfs.repo

  1 [zfs]
  2 name=ZFS on Linux for EL7 - dkms
  3 baseurl=http://download.zfsonlinux.org/epel/7.4/$basearch/
  4 enabled=0
  5 metadata_expire=7d
  6 gpgcheck=1
  7 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-zfsonlinux
  8
  9 [zfs-kmod]
 10 name=ZFS on Linux for EL7 - kmod
 11 baseurl=http://download.zfsonlinux.org/epel/7.4/kmod/$basearch/
 12 enabled=1
 13 metadata_expire=7d
 14 gpgcheck=1
 15 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-zfsonlinux
 ...

설치하려고 하면:

 $ sudo yum install zfs
    Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
    Repository nodesource is listed more than once in the configuration
    Repository nodesource-source is listed more than once in the configuration
    Resolving Dependencies
    --> Running transaction check
    ---> Package zfs.x86_64 0:0.7.7-1.el7_4 will be installed
    --> Processing Dependency: zfs-kmod = 0.7.7 for package: zfs-0.7.7-1.el7_4.x86_64
    --> Processing Dependency: spl = 0.7.7 for package: zfs-0.7.7-1.el7_4.x86_64
    --> Processing Dependency: libzpool2 = 0.7.7 for package: zfs-0.7.7-1.el7_4.x86_64
    --> Processing Dependency: libzfs2 = 0.7.7 for package: zfs-0.7.7-1.el7_4.x86_64
    --> Processing Dependency: libuutil1 = 0.7.7 for package: zfs-0.7.7-1.el7_4.x86_64
    --> Processing Dependency: libnvpair1 = 0.7.7 for package: zfs-0.7.7-1.el7_4.x86_64
    --> Processing Dependency: libzpool.so.2()(64bit) for package: zfs-0.7.7-1.el7_4.x86_64
    --> Processing Dependency: libzfs_core.so.1()(64bit) for package: zfs-0.7.7-1.el7_4.x86_64
    --> Processing Dependency: libzfs.so.2()(64bit) for package: zfs-0.7.7-1.el7_4.x86_64
    --> Processing Dependency: libuutil.so.1()(64bit) for package: zfs-0.7.7-1.el7_4.x86_64
    --> Processing Dependency: libnvpair.so.1()(64bit) for package: zfs-0.7.7-1.el7_4.x86_64
    --> Running transaction check
    ---> Package libnvpair1.x86_64 0:0.7.7-1.el7_4 will be installed
    ---> Package libuutil1.x86_64 0:0.7.7-1.el7_4 will be installed
    ---> Package libzfs2.x86_64 0:0.7.7-1.el7_4 will be installed
    ---> Package libzpool2.x86_64 0:0.7.7-1.el7_4 will be installed
    ---> Package spl.x86_64 0:0.7.7-1.el7_4 will be installed
    --> Processing Dependency: spl-kmod = 0.7.7 for package: spl-0.7.7-1.el7_4.x86_64
    ---> Package zfs.x86_64 0:0.7.7-1.el7_4 will be installed
    --> Processing Dependency: zfs-kmod = 0.7.7 for package: zfs-0.7.7-1.el7_4.x86_64
    --> Running transaction check
    ---> Package kmod-spl.x86_64 0:0.7.7-1.el7_4 will be installed
    ---> Package zfs.x86_64 0:0.7.7-1.el7_4 will be installed
    --> Processing Dependency: zfs-kmod = 0.7.7 for package: zfs-0.7.7-1.el7_4.x86_64
    --> Finished Dependency Resolution
    Error: Package: zfs-0.7.7-1.el7_4.x86_64 (zfs-kmod)
               Requires: zfs-kmod = 0.7.7
               Available: kmod-zfs-0.6.5.11-1.el7_4.x86_64 (zfs-kmod)
                   zfs-kmod = 0.6.5.11-1.el7_4
               Available: kmod-zfs-0.7.1-1.el7_4.x86_64 (zfs-kmod)
                   zfs-kmod = 0.7.1-1.el7_4
               Available: kmod-zfs-0.7.2-1.el7_4.x86_64 (zfs-kmod)
                   zfs-kmod = 0.7.2-1.el7_4
               Available: kmod-zfs-0.7.3-1.el7_4.x86_64 (zfs-kmod)
                   zfs-kmod = 0.7.3-1.el7_4
               Available: kmod-zfs-0.7.4-1.el7_4.x86_64 (zfs-kmod)
                   zfs-kmod = 0.7.4-1.el7_4
               Available: kmod-zfs-0.7.4-2.el7_4.x86_64 (zfs-kmod)
                   zfs-kmod = 0.7.4-2.el7_4
               Available: kmod-zfs-0.7.5-1.el7_4.x86_64 (zfs-kmod)
                   zfs-kmod = 0.7.5-1.el7_4
               Available: kmod-zfs-0.7.6-1.el7_4.x86_64 (zfs-kmod)
                   zfs-kmod = 0.7.6-1.el7_4
    **********************************************************************
    yum can be configured to try to resolve such errors by temporarily enabling
    disabled repos and searching for missing dependencies.
    To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
    **********************************************************************

    Error: Package: zfs-0.7.7-1.el7_4.x86_64 (zfs-kmod)
               Requires: zfs-kmod = 0.7.7
               Available: kmod-zfs-0.6.5.11-1.el7_4.x86_64 (zfs-kmod)
                   zfs-kmod = 0.6.5.11-1.el7_4
               Available: kmod-zfs-0.7.1-1.el7_4.x86_64 (zfs-kmod)
                   zfs-kmod = 0.7.1-1.el7_4
               Available: kmod-zfs-0.7.2-1.el7_4.x86_64 (zfs-kmod)
                   zfs-kmod = 0.7.2-1.el7_4
               Available: kmod-zfs-0.7.3-1.el7_4.x86_64 (zfs-kmod)
                   zfs-kmod = 0.7.3-1.el7_4
               Available: kmod-zfs-0.7.4-1.el7_4.x86_64 (zfs-kmod)
                   zfs-kmod = 0.7.4-1.el7_4
               Available: kmod-zfs-0.7.4-2.el7_4.x86_64 (zfs-kmod)
                   zfs-kmod = 0.7.4-2.el7_4
               Available: kmod-zfs-0.7.5-1.el7_4.x86_64 (zfs-kmod)
                   zfs-kmod = 0.7.5-1.el7_4
               Available: kmod-zfs-0.7.6-1.el7_4.x86_64 (zfs-kmod)
                   zfs-kmod = 0.7.6-1.el7_4
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest

시도했을 때 효과가 있을 것 같았 --skip-broken지만 완료하지도 않았고 그렇다고 대답하지도 않았습니다.

뭔지 잘 모르겠지만 rpm -Va --nofiles --nodigest도움이 될까요?

비활성화된 저장소를 일시적으로 활성화하려고 했지만 작동하지 않았습니다.

지금 설치된 것은 다음과 같습니다. (현재 dkms, spl, zfs에는 아무것도 표시되지 않습니다.)

$ sudo yum list installed | grep zfs
Repository nodesource is listed more than once in the configuration
Repository nodesource-source is listed more than once in the configuration

$ sudo yum list installed | grep kmod
Repository nodesource is listed more than once in the configuration
Repository nodesource-source is listed more than once in the configuration
kmod.x86_64                      20-15.el7_4.7           @rhel-7-server-rpms
kmod-libs.x86_64                 20-15.el7_4.7           @rhel-7-server-rpms
python-kmod.x86_64               0.9-4.el7               @anaconda/7.2

zfs-release를 설치해도 sudo yum install http://download.zfsonlinux.org/epel/zfs-release.el7_4.noarch.rpm동일한 kmod 패키지 오류가 발생합니다.

내가 취한 또 다른 몇 단계는 도움이 되지 않았지만 여전히 동일한 증상이 있습니다.

$ sudo yum autoremove
$ sudo yum clean metadata

ZSF 파일 액세스를 다시 얻을 수 있도록 이 문제를 복구하는 방법을 잘 모르겠습니다.

어떻게 진행해야 하나요?

관련 정보