Соль не может установить зависимость с pkg.installed - PullRequest
0 голосов
/ 04 февраля 2020

При попытке установить pkg в файле состояния соли с помощью: salt '*' state.apply teradici Я получаю ошибки на зависимостях. Например:

          ID: pcoip-agent-standard
    Function: pkg.installed
      Result: False
     Comment: Error occurred installing package(s). Additional info follows:

              errors:
                  - Loaded plugins: fastestmirror, ovl
                    Loading mirror speeds from cached hostfile
                    Resolving Dependencies
                    --> Running transaction check
                    ---> Package pcoip-agent-standard.x86_64 0:20.01.0-1.el7 will be installed
                    --> Processing Dependency: xorg-x11-drv-teravfb >= 1.1.4 for package: pcoip-agent-standard-20.01.0-1.el7.x86_64
                    --> Processing Dependency: libgomp.so.1(GOMP_4.0)(64bit) for package: pcoip-agent-standard-20.01.0-1.el7.x86_64
                    Error: Package: pcoip-agent-standard-20.01.0-1.el7.x86_64 (bintray--teradici-rpms)
                               Requires: xorg-x11-drv-evdev
                    Error: Package: pcoip-agent-standard-20.01.0-1.el7.x86_64 (bintray--teradici-rpms)
                               Requires: libXau.so.6()(64bit)
You could try using --skip-broken to work around the problem
                     You could try running: rpm -Va --nofiles --nodigest
     Started: 02:18:51.187029
    Duration: 3188.668 ms
     Changes:

Чтобы показать несколько выше.

Мой файл состояния соли выглядит следующим образом:

/etc/yum.repos.d/teradici.repo:
  file.managed:
    - source: salt://files/teradici.repo

pcoip-agent-standard:
  pkg.installed:
     - require:
       - file: /etc/yum.repos.d/teradici.repo
     - fromrepo: bintray--teradici-rpms
     - disablerepo: '*'
     - enablerepo: bintray--teradici-rpms

файл teradici.repo выглядит следующим образом:

[bintray--teradici-rpms]
name=bintray--teradici-rpms
baseurl=https://downloads.teradici.com/rhel/stable
gpgcheck=0
repo_gpgcheck=0
enabled=1

Я искал inte rnet и несколько решений, которые работали для других, но не для меня. Спасибо.

...