pkgs-cloud / kurento

Kurento Media Server – RPM packages for RHEL / CentOS 7
28 stars 9 forks source link

KMS installation error: required packages not found #5

Closed benjamincoven closed 6 years ago

benjamincoven commented 6 years ago

Good morning,

I work for a software company, and we want to install Kurento Media Server on Red Hat 7.

We are testing on virtual box before deploying on a real environment but we cannot install the package kms with yum.

The issue is very similar to the problems raised in the other issue but the missing libraries are different here are some example:

liborc-0.4.so.0 libsndfile.so.1 libtiff.so.5 libicuuc.so.50 libatk-1.0.so.0 libwebp.so.4

There is also some kernel requires incompatible with the currently installed.

The installation was made from a minimal freshly installed RHEL.

Thank you very much

EDIT: We tried with an other RHEL instance with a GUI on a VMWare (with same iso) because we had problem to copy the yum output. However the errors are different:

Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libIex.so.6()(64bit)
Error: Package: dyninst-9.3.1-1.el7.x86_64 (@anaconda/7.5)
           Requires: libboost_system-mt.so.1.53.0()(64bit)
           Removing: boost-system-1.53.0-27.el7.x86_64 (@anaconda/7.5)
               libboost_system-mt.so.1.53.0()(64bit)
           Updated By: boost-system-1.55.0-8.el7.x86_64 (pkgs.cloud-kurento)
               Not found
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libzvbi.so.0()(64bit)
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libass.so.5()(64bit)
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libIlmThread.so.6()(64bit)
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libvdpau.so.1()(64bit)
Error: Package: opencv-2.4.7-6.el7.x86_64 (pkgs.cloud-kurento)
           Requires: libHalf.so.6()(64bit)
Error: kms-gstreamer1 conflicts with gstreamer1-1.10.4-2.el7.x86_64
Error: kms-gstreamer1-plugins-good conflicts with gstreamer1-plugins-good-1.10.4-2.el7.x86_64
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libopenjp2.so.7()(64bit)
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libmodplug.so.1()(64bit)
Error: Package: opencv-2.4.7-6.el7.x86_64 (pkgs.cloud-kurento)
           Requires: libIlmThread.so.6()(64bit)
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libschroedinger-1.0.so.0()(64bit)
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libHalf.so.6()(64bit)
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libIexMath.so.6()(64bit)
Error: Package: 1:librados2-0.94.5-2.el7.x86_64 (@anaconda/7.5)
           Requires: libboost_thread-mt.so.1.53.0()(64bit)
           Removing: boost-thread-1.53.0-27.el7.x86_64 (@anaconda/7.5)
               libboost_thread-mt.so.1.53.0()(64bit)
           Updated By: boost-thread-1.55.0-8.el7.x86_64 (pkgs.cloud-kurento)
               Not found
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libImath.so.6()(64bit)
Error: Package: gstreamer1-plugins-bad-free-1.10.4-3.el7.x86_64 (@anaconda/7.5)
           Requires: libsrtp.so.0()(64bit)
           Removing: libsrtp-1.4.4-10.20101004cvs.el7.x86_64 (@anaconda/7.5)
               libsrtp.so.0()(64bit)
           Updated By: libsrtp-1.5.4-3.el7.x86_64 (pkgs.cloud-kurento)
              ~libsrtp.so.1()(64bit)
Error: Package: 1:librados2-0.94.5-2.el7.x86_64 (@anaconda/7.5)
           Requires: libboost_system-mt.so.1.53.0()(64bit)
           Removing: boost-system-1.53.0-27.el7.x86_64 (@anaconda/7.5)
               libboost_system-mt.so.1.53.0()(64bit)
           Updated By: boost-system-1.55.0-8.el7.x86_64 (pkgs.cloud-kurento)
               Not found
Error: kms-gstreamer1-plugins-base conflicts with gstreamer1-plugins-base-1.10.4-1.el7.x86_64
Error: Package: dyninst-9.3.1-1.el7.x86_64 (@anaconda/7.5)
           Requires: libboost_thread-mt.so.1.53.0()(64bit)
           Removing: boost-thread-1.53.0-27.el7.x86_64 (@anaconda/7.5)
               libboost_thread-mt.so.1.53.0()(64bit)
           Updated By: boost-thread-1.55.0-8.el7.x86_64 (pkgs.cloud-kurento)
               Not found
Error: Package: opencv-2.4.7-6.el7.x86_64 (pkgs.cloud-kurento)
           Requires: libIlmImf.so.7()(64bit)
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libopenal.so.1()(64bit)
Error: Package: kms-6.6.3-1.el7.x86_64 (pkgs.cloud-kurento)
           Requires: mediainfo
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libbs2b.so.0()(64bit)
Error: Package: dyninst-9.3.1-1.el7.x86_64 (@anaconda/7.5)
           Requires: libboost_date_time-mt.so.1.53.0()(64bit)
           Removing: boost-date-time-1.53.0-27.el7.x86_64 (@anaconda/7.5)
               libboost_date_time-mt.so.1.53.0()(64bit)
           Updated By: boost-date-time-1.55.0-8.el7.x86_64 (pkgs.cloud-kurento)
               Not found
Error: Package: 1:librbd1-0.94.5-2.el7.x86_64 (@anaconda/7.5)
           Requires: libboost_thread-mt.so.1.53.0()(64bit)
           Removing: boost-thread-1.53.0-27.el7.x86_64 (@anaconda/7.5)
               libboost_thread-mt.so.1.53.0()(64bit)
           Updated By: boost-thread-1.55.0-8.el7.x86_64 (pkgs.cloud-kurento)
               Not found
Error: Package: kms-gstreamer1-plugins-base-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libXv-devel
Error: Package: 1:librbd1-0.94.5-2.el7.x86_64 (@anaconda/7.5)
           Requires: libboost_system-mt.so.1.53.0()(64bit)
           Removing: boost-system-1.53.0-27.el7.x86_64 (@anaconda/7.5)
               libboost_system-mt.so.1.53.0()(64bit)
           Updated By: boost-system-1.55.0-8.el7.x86_64 (pkgs.cloud-kurento)
               Not found
Error: Package: opencv-2.4.7-6.el7.x86_64 (pkgs.cloud-kurento)
           Requires: libImath.so.6()(64bit)
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libIlmImf.so.7()(64bit)
Error: Package: opencv-2.4.7-6.el7.x86_64 (pkgs.cloud-kurento)
           Requires: libIex.so.6()(64bit)
**********************************************************************
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: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libIex.so.6()(64bit)
Error: Package: dyninst-9.3.1-1.el7.x86_64 (@anaconda/7.5)
           Requires: libboost_system-mt.so.1.53.0()(64bit)
           Removing: boost-system-1.53.0-27.el7.x86_64 (@anaconda/7.5)
               libboost_system-mt.so.1.53.0()(64bit)
           Updated By: boost-system-1.55.0-8.el7.x86_64 (pkgs.cloud-kurento)
               Not found
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libzvbi.so.0()(64bit)
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libass.so.5()(64bit)
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libIlmThread.so.6()(64bit)
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libvdpau.so.1()(64bit)
Error: Package: opencv-2.4.7-6.el7.x86_64 (pkgs.cloud-kurento)
           Requires: libHalf.so.6()(64bit)
Error: kms-gstreamer1 conflicts with gstreamer1-1.10.4-2.el7.x86_64
Error: kms-gstreamer1-plugins-good conflicts with gstreamer1-plugins-good-1.10.4-2.el7.x86_64
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libopenjp2.so.7()(64bit)
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libmodplug.so.1()(64bit)
Error: Package: opencv-2.4.7-6.el7.x86_64 (pkgs.cloud-kurento)
           Requires: libIlmThread.so.6()(64bit)
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libschroedinger-1.0.so.0()(64bit)
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libHalf.so.6()(64bit)
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libIexMath.so.6()(64bit)
Error: Package: 1:librados2-0.94.5-2.el7.x86_64 (@anaconda/7.5)
           Requires: libboost_thread-mt.so.1.53.0()(64bit)
           Removing: boost-thread-1.53.0-27.el7.x86_64 (@anaconda/7.5)
               libboost_thread-mt.so.1.53.0()(64bit)
           Updated By: boost-thread-1.55.0-8.el7.x86_64 (pkgs.cloud-kurento)
               Not found
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libImath.so.6()(64bit)
Error: Package: gstreamer1-plugins-bad-free-1.10.4-3.el7.x86_64 (@anaconda/7.5)
           Requires: libsrtp.so.0()(64bit)
           Removing: libsrtp-1.4.4-10.20101004cvs.el7.x86_64 (@anaconda/7.5)
               libsrtp.so.0()(64bit)
           Updated By: libsrtp-1.5.4-3.el7.x86_64 (pkgs.cloud-kurento)
              ~libsrtp.so.1()(64bit)
Error: Package: 1:librados2-0.94.5-2.el7.x86_64 (@anaconda/7.5)
           Requires: libboost_system-mt.so.1.53.0()(64bit)
           Removing: boost-system-1.53.0-27.el7.x86_64 (@anaconda/7.5)
               libboost_system-mt.so.1.53.0()(64bit)
           Updated By: boost-system-1.55.0-8.el7.x86_64 (pkgs.cloud-kurento)
               Not found
Error: kms-gstreamer1-plugins-base conflicts with gstreamer1-plugins-base-1.10.4-1.el7.x86_64
Error: Package: dyninst-9.3.1-1.el7.x86_64 (@anaconda/7.5)
           Requires: libboost_thread-mt.so.1.53.0()(64bit)
           Removing: boost-thread-1.53.0-27.el7.x86_64 (@anaconda/7.5)
               libboost_thread-mt.so.1.53.0()(64bit)
           Updated By: boost-thread-1.55.0-8.el7.x86_64 (pkgs.cloud-kurento)
               Not found
Error: Package: opencv-2.4.7-6.el7.x86_64 (pkgs.cloud-kurento)
           Requires: libIlmImf.so.7()(64bit)
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libopenal.so.1()(64bit)
Error: Package: kms-6.6.3-1.el7.x86_64 (pkgs.cloud-kurento)
           Requires: mediainfo
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libbs2b.so.0()(64bit)
Error: Package: dyninst-9.3.1-1.el7.x86_64 (@anaconda/7.5)
           Requires: libboost_date_time-mt.so.1.53.0()(64bit)
           Removing: boost-date-time-1.53.0-27.el7.x86_64 (@anaconda/7.5)
               libboost_date_time-mt.so.1.53.0()(64bit)
           Updated By: boost-date-time-1.55.0-8.el7.x86_64 (pkgs.cloud-kurento)
               Not found
Error: Package: 1:librbd1-0.94.5-2.el7.x86_64 (@anaconda/7.5)
           Requires: libboost_thread-mt.so.1.53.0()(64bit)
           Removing: boost-thread-1.53.0-27.el7.x86_64 (@anaconda/7.5)
               libboost_thread-mt.so.1.53.0()(64bit)
           Updated By: boost-thread-1.55.0-8.el7.x86_64 (pkgs.cloud-kurento)
               Not found
Error: Package: kms-gstreamer1-plugins-base-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libXv-devel
Error: Package: 1:librbd1-0.94.5-2.el7.x86_64 (@anaconda/7.5)
           Requires: libboost_system-mt.so.1.53.0()(64bit)
           Removing: boost-system-1.53.0-27.el7.x86_64 (@anaconda/7.5)
               libboost_system-mt.so.1.53.0()(64bit)
           Updated By: boost-system-1.55.0-8.el7.x86_64 (pkgs.cloud-kurento)
               Not found
Error: Package: opencv-2.4.7-6.el7.x86_64 (pkgs.cloud-kurento)
           Requires: libImath.so.6()(64bit)
Error: Package: kms-gstreamer1-plugins-bad-1.8.1.1-1.x86_64 (pkgs.cloud-kurento)
           Requires: libIlmImf.so.7()(64bit)
Error: Package: opencv-2.4.7-6.el7.x86_64 (pkgs.cloud-kurento)
           Requires: libIex.so.6()(64bit)

EDIT2: I can't install nodejs because yum doesn't find the repomd.xml on the nodejs-7.x repository

[xxx@localhost ~]$ yum --disablerepo="*" --enablerepo="pkgs.cloud-nodejs-7.x" list avaible
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
              : manager
Repo rhel-7-server-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/7232860143005356550-key.pem
Repo rhel-7-server-rt-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/7232860143005356550-key.pem
https://rpm.nodesource.com/pub_7.x/el/7Server/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article 

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

 One of the configured repositories failed (Node.js 7.x Packages for RHEL - x86_64),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=pkgs.cloud-nodejs-7.x ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable pkgs.cloud-nodejs-7.x
        or
            subscription-manager repos --disable=pkgs.cloud-nodejs-7.x

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=pkgs.cloud-nodejs-7.x.skip_if_unavailable=true

failure: repodata/repomd.xml from pkgs.cloud-nodejs-7.x: [Errno 256] No more mirrors to try.
https://rpm.nodesource.com/pub_7.x/el/7Server/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
arthurpro commented 6 years ago

Hello,

Yes, we can definitely help you with this. Also, 1) RHEL with GUI can't be supported due to incompatibility with some custom packages Kurento needs, 2) you don't need to install nodejs, it is used as an example in the documentation.

We need some additional info about your system. We'll contact you by email.

benjamincoven commented 6 years ago

After discussing with arthurpro and trying to re install a new OS, I finally could install kurento on a RHEL VM:

Here a summary of the problems:

Here a summary of the installation process:

subscription-manager register --username <username> --password <password> --auto-attach
yum install https://get.pkgs.cloud/release.rpm -y
subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms » 
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E '%{rhel}').noarch.rpm
yum install kurento-release epel-release -y
yum install kms -y

Then open port from your firewall as described in the README, however the README command opens a very large port range, is this really necessary?