PDA

View Full Version : yum install: "Requires: python-subprocess32"



Fli
07-21-2017, 11:32 PM
Hello,

on CentOS 7 i tried to run:

yum localinstall https://download.openvz.org/virtuozzo/releases/openvz-7.0.4-698/x86_64/os/Packages/o/openvz-release-7.0.4-19.vz7.x86_64.rpm (https://download.openvz.org/virtuozzo/releases/openvz-7.0.4-698/x86_64/os/Packages/o/openvz-release-7.0.4-19.vz7.x86_64.rpm)

and it failed with error:

--> Finished Dependency ResolutionError: Package: openvz-release-7.0.4-19.vz7.x86_64 (/openvz-release-7.0.4-19.vz7.x86_64)
Requires: python-subprocess32
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

How can i supply this python-subprocess32 ?

When i --skip-broken, result is:

Packages skipped because of dependency problems:
kernel-tools-3.10.0-514.26.2.el7.x86_64 from updates
kernel-tools-libs-3.10.0-514.26.2.el7.x86_64 from updates
openvz-release-7.0.4-19.vz7.x86_64 from /openvz-release-7.0.4-19.vz7.x86_64
pciutils-libs-3.5.1-1.el7.x86_64 from base
yum-plugin-priorities-1.1.31-40.el7.noarch from base

When install using older rpm, it works without issue:

yum localinstall https://download.openvz.org/virtuozzo/releases/openvz-7.0.3-479/x86_64/os/Packages/o/openvz-release-7.0.3-3.vz7.x86_64.rpm

charliez
09-11-2017, 12:05 AM
you can try python-subprocess32-3.2.6-5.vz7.1.x86_64.rpm from here https://download.openvz.org/virtuozzo/releases/openvz-7.0.5-432/x86_64/os/Packages/p/

and dont forget about "yum install epel-release"

After that will be another errors, just do

yum --enablerepo="base" install yum-utils
yum-config-manager --enable cr

after that command "yum install prlctl prl-disp-service vzkernel" will be fine