-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autoupgrade requires dependencies to be passed using $package parameter... #59
Comments
I have never really tested it, but I had always assumed that With which tools versions are you working? |
I went ahead and tested manually the exact commands that the It appears that the yum update commands are pulling in some dependencies but still miss the following packages:
(tested on RHEL6 with vmware-tools 6.0p04 OSPs) [root@server ~]# cat /etc/yum.repos.d/vmware-tools.repo
[vmware-tools]
name=VMware Tools 6.0p04 - rhel6 x86_64
baseurl=https://packages.vmware.com/tools/esx/6.0p04/rhel6/x86_64/
enabled=1
gpgcheck=0
[root@server ~]# yum clean all
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, keys, rhnplugin, security, verify
Cleaning repos: epel rhel-6-x86_64-server-extras-stable rhel-6-x86_64-server-optional-stable rhel-6-x86_64-server-stable
: rhel-6-x86_64-server-supplementary-stable vmware-tools
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@server ~]# yum repolist
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, keys, rhnplugin, security, verify
epel | 2.1 kB 00:00
epel/primary | 4.6 MB 00:00
epel 13064/13064
rhel-6-x86_64-server-extras-stable | 2.1 kB 00:00
rhel-6-x86_64-server-extras-stable/primary | 14 kB 00:00
rhel-6-x86_64-server-extras-stable 51/51
rhel-6-x86_64-server-optional-stable | 2.3 kB 00:00
rhel-6-x86_64-server-optional-stable/primary | 3.2 MB 00:00
rhel-6-x86_64-server-optional-stable 10424/10424
rhel-6-x86_64-server-stable | 2.4 kB 00:00
rhel-6-x86_64-server-stable/primary | 29 MB 00:00
rhel-6-x86_64-server-stable 18296/18296
rhel-6-x86_64-server-supplementary-stable | 2.3 kB 00:00
rhel-6-x86_64-server-supplementary-stable/primary | 253 kB 00:00
rhel-6-x86_64-server-supplementary-stable 655/655
vmware-tools | 2.5 kB 00:00
vmware-tools/primary_db | 33 kB 00:00
repo id repo name status
epel Extra Packages for Enterprise Linux 6 13,064
rhel-6-x86_64-server-extras-stable RHEL 6 x86_64 Extras stable 51
rhel-6-x86_64-server-optional-stable RHEL 6 x86_64 Optional stable 10,424
rhel-6-x86_64-server-stable RHEL 6 x86_64 Server stable 18,296
rhel-6-x86_64-server-supplementary-stable RHEL 6 x86_64 Supplementary stable 655
vmware-tools VMware Tools 5.5ep07 - rhel6 x86_64 40
repolist: 42,553
[root@server ~]# /usr/bin/yum -d 0 -e 0 -y update vmware-tools-esx-nox
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-vgauth start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
vmware-tools-services start/running
[root@server ~]# /usr/bin/yum -d 0 -e 0 -y update vmware-tools-esx-kmods
[root@server ~]# yum update
Loaded plugins: aliases, changelog, fastestmirror, keys, rhnplugin, security, verify
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package kmod-vmware-tools-vmci.x86_64 0:9.5.13.0-2.6.32.71.el6.x86_64.5.el6 will be updated
---> Package kmod-vmware-tools-vmci.x86_64 0:9.8.1.0-2.6.32.71.el6.x86_64.5.el6 will be an update
---> Package kmod-vmware-tools-vmxnet.x86_64 0:2.0.15.0-2.6.32.71.el6.x86_64.5.el6 will be updated
---> Package kmod-vmware-tools-vmxnet.x86_64 0:2.1.0.0-2.6.32.71.el6.x86_64.5.el6 will be an update
---> Package kmod-vmware-tools-vsock.x86_64 0:9.5.6.0-2.6.32.71.el6.x86_64.5.el6 will be updated
---> Package kmod-vmware-tools-vsock.x86_64 0:9.8.1.0-2.6.32.71.el6.x86_64.5.el6 will be an update
---> Package vmware-tools-vmci-common.x86_64 0:9.4.11-5.el6 will be updated
---> Package vmware-tools-vmci-common.x86_64 0:10.0.9-5.el6 will be an update
---> Package vmware-tools-vmxnet-common.x86_64 0:9.4.11-5.el6 will be updated
---> Package vmware-tools-vmxnet-common.x86_64 0:10.0.9-5.el6 will be an update
---> Package vmware-tools-vsock-common.x86_64 0:9.4.11-5.el6 will be updated
---> Package vmware-tools-vsock-common.x86_64 0:10.0.9-5.el6 will be an update
---> Package zabbix.x86_64 0:1.8.22-1.el6 will be updated
---> Package zabbix.x86_64 0:2.2.6-1.el6 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
=================================================================================================================================================================================
Package Arch Version Repository Size
=================================================================================================================================================================================
Updating:
kmod-vmware-tools-vmci x86_64 9.8.1.0-2.6.32.71.el6.x86_64.5.el6 vmware-tools 152 k
kmod-vmware-tools-vmxnet x86_64 2.1.0.0-2.6.32.71.el6.x86_64.5.el6 vmware-tools 44 k
kmod-vmware-tools-vsock x86_64 9.8.1.0-2.6.32.71.el6.x86_64.5.el6 vmware-tools 96 k
vmware-tools-vmci-common x86_64 10.0.9-5.el6 vmware-tools 32 k
vmware-tools-vmxnet-common x86_64 10.0.9-5.el6 vmware-tools 50 k
vmware-tools-vsock-common x86_64 10.0.9-5.el6 vmware-tools 32 k
146 k
Transaction Summary
=================================================================================================================================================================================
Upgrade 6 Package(s)
Total download size: 552 k
Is this ok [y/N]: n |
I tested this a bit more by removing all vmware tools packages and then running Perhaps it would be cleaner to have the autoupgrade feature remove all installed vmware-tools packages and then run This would also remove the need to pass the packages using the package param I beleive. |
I'm attempting to update our VMWare Tools OSP RPMs using
autoupgrade => true
but have found that I have to list all packages including dependencies like this.Is this how you intended the autoupgrade to work?
The text was updated successfully, but these errors were encountered: