Red Hat Bugzilla – Bug 1291894
Updating open-vm-tools fails when VMware's open-vm-tools-deploypkg is installed
Last modified: 2016-12-10 19:23:47 EST
Description of problem:
Updating RHEL 7.1 to RHEL 7.2 fails on the update of Red Hat's open-vm-tools package when VMware's open-vm-tools-deploypkg package is installed. from http://packages.vmware.com/packages/rhel7/x86_64/index.html
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install open-vm-tools-9.4.0-6.el7.x86_64
2. Install open-vm-tools-deploypkg-9.4.10-3.x86_64 following instructions at http://partnerweb.vmware.com/GOSIG/RHEL_7.html
3. yum update --quiet
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.1 (Maipo)
# rpm -qa | grep open-vm
yum update --quiet
Error: Package: open-vm-tools-deploypkg-9.4.10-3.x86_64 (installed)
Requires: open-vm-tools < 9.5
Removing: open-vm-tools-9.4.0-6.el7.x86_64 (@anaconda/7.1)
open-vm-tools = 9.4.0-6.el7
Updated By: open-vm-tools-9.10.2-4.el7.x86_64 (rhel-x86_64-server-7)
open-vm-tools = 9.10.2-4.el7
Available: open-vm-tools-9.4.0-3.el7.x86_64 (rhel-x86_64-server-7)
open-vm-tools = 9.4.0-3.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
No dependency errors.
Caused by the fix for https://bugzilla.redhat.com/show_bug.cgi?id=1172833
It looks like a new open-vm-tools-deploypkg package should have been created by Red Hat to replace the libraries in the old closed source open-vm-tools-deploypkg package. Or maybe "Provides: open-vm-tools-deploypkg" in the spec file would work.
This is really an issue for VMware to answer and support as Red Hat does not know what all VMware provides in their private rpm packages.
VMware provides updates to the open-vm-tools community project to make it easier for Linux distributions to distribute. As explained here:
What is open-vm-tools?
RHEL 7.2 provides a newer version of open-vm-tools and appears to provide most of the functionality of the *DeployPkg rpm.
It looks like you simply need to uninstall open-vm-tools-deploypkg before doing your update.
It is possible that yum/rpm could do this for you if open-vm-tools-10* included the "deprecates=open-vm-tools-deploypkg". However, I am not sure that would be approved if not all of the functionality is there.
Can you simply uninstall open-vm-tools-deploypkg to proceed with your updates? Otherwise, you can manage your repository to include newer, proprietary versions provided by VMware rather than the Red Hat supported versions.
Can Red Hat use a Provides or Deprecates tag so that the newer RHEL open-vm-tools will uninstall/replace the old open-vm-tools-deploypkg?
open-vm-tools 9.10.x and later provides all the functionality of open-vm-tools-deploypkg. So, if adding "provides=open-vm-tools-deploypkg" would remove the open-vm-tools-deploypkg package automatically, that would be ideal.
Isn't this duplicate of bug 1290052?
Looks like, we need to choose and implemented one tag from "obsoletes", "provides" and "deprecates" in open-vm-tools.spec.
*** This bug has been marked as a duplicate of bug 1290052 ***