James Hogarth kirjoitti 10.5.2018 klo 21.11:
> Hi guys,
>
> Trying to install cockpit-storaged and getting the following error:
>
> --> Processing Dependency: storaged-lvm2 >= 2.1.1 for package:
> cockpit-storaged-160-1.el7.centos.noarch
> Package storaged-lvm2 is obsoleted by udisks2-lvm2, but obsoleting
> package does not provide for requirements
> --> Processing Dependency: storaged-iscsi >= 2.1.1 for package:
> cockpit-storaged-160-1.el7.centos.noarch
> Package storaged-iscsi is obsoleted by udisks2-iscsi, but obsoleting
> package does not provide for requirements
> --> Processing Dependency: storaged >= 2.1.1 for package:
> cockpit-storaged-160-1.el7.centos.noarch
> Package storaged is obsoleted by udisks2, but obsoleting package does
> not provide for requirements
> ---> Package libnetfilter_conntrack.x86_64 0:1.0.6-1.el7_3 will be installed
> ---> Package libnfnetlink.x86_64 0:1.0.1-4.el7 will be installed
> ---> Package libsemanage.x86_64 0:2.5-8.el7 will be updated
> ---> Package libsemanage.x86_64 0:2.5-11.el7 will be an update
> --> Processing Conflict: initscripts-9.49.41-1.el7.x86_64 conflicts
> redhat-release < 7.5-0.11
> --> Restarting Dependency Resolution with new changes.
> --> Running transaction check
> ---> Package centos-release.x86_64 0:7-4.1708.el7.centos will be updated
> ---> Package centos-release.x86_64 0:7-5.1804.el7.centos will be an update
> ---> Package cockpit-storaged.noarch 0:160-1.el7.centos will be installed
> --> Processing Dependency: storaged-lvm2 >= 2.1.1 for package:
> cockpit-storaged-160-1.el7.centos.noarch
> Package storaged-lvm2 is obsoleted by udisks2-lvm2, but obsoleting
> package does not provide for requirements
> --> Processing Dependency: storaged-iscsi >= 2.1.1 for package:
> cockpit-storaged-160-1.el7.centos.noarch
> Package storaged-iscsi is obsoleted by udisks2-iscsi, but obsoleting
> package does not provide for requirements
> --> Processing Dependency: storaged >= 2.1.1 for package:
> cockpit-storaged-160-1.el7.centos.noarch
> Package storaged is obsoleted by udisks2, but obsoleting package does
> not provide for requirements
> --> Finished Dependency Resolution
> Error: Package: cockpit-storaged-160-1.el7.centos.noarch (extras)
> Requires: storaged-lvm2 >= 2.1.1
> Available: storaged-lvm2-2.5.2-4.el7.x86_64 (extras)
> storaged-lvm2 = 2.5.2-4.el7
> Error: Package: cockpit-storaged-160-1.el7.centos.noarch (extras)
> Requires: storaged >= 2.1.1
> Available: storaged-2.5.2-4.el7.x86_64 (extras)
> storaged = 2.5.2-4.el7
> Error: Package: cockpit-storaged-160-1.el7.centos.noarch (extras)
> Requires: storaged-iscsi >= 2.1.1
> Available: storaged-iscsi-2.5.2-4.el7.x86_64 (extras)
> storaged-iscsi = 2.5.2-4.el7
> You could try using --skip-broken to work around the problem
> You could try running: rpm -Va --nofiles --nodigest
>
> This is the same with or without CR
>
> Did something get a bit broken in rebuilding? On RHEL7 this installs fine.
I think your RHEL7 has a slightly different version of cockpit, probably
160-3. The dependencies were adjusted in 160-3, as seen in
https://access.redhat.com/errata/RHBA-2018:1066 and the related BZ entry.
As far as I know, this issue will get fixed once 160-3 ends up to the
CentOS extras repo.
Good call... I missed that %{release} difference.
Shame that it bites people for now... had to disable installing that cockpit module for the time being.