[2015.8] pkg breaks for yum pkgs.latest if the packages has an epoch #31014
Labels
Bug
broken, incorrect, or confusing behavior
fixed-pls-verify
fix is linked, bug author to confirm fix
P2
Priority 2
Platform
Relates to OS, containers, platform-based utilities like FS, system based apps
Regression
The issue is a bug that breaks functionality known to work in previous releases.
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
State-Module
Milestone
It looks like it will install the package, but when salt goes back and makes sure that the latest version is installed, it does not take into account that a version may have an epoch that is not displayed by yum for some reason.
The quickest example is for libguestfs-tools, which has an epoch of 1.
[root@novacompute01 ~]# yum list installed | grep libguestfs-tools
libguestfs-tools.noarch 1:1.28.1-1.55.el7.centos @base
libguestfs-tools-c.x86_64 1:1.28.1-1.55.el7.centos @base
So the versions do not match, because the version displayed when installing is without the epoch.
https://github.com/saltstack/salt/blob/develop/salt/states/pkg.py#L1598
The text was updated successfully, but these errors were encountered: