Bug 1395636

Summary: "yum update RPMFILE" won't work under some circumstances without any justification provided
Product: Red Hat Enterprise Linux 6 Reporter: Jan Pokorný [poki] <jpokorny>
Component: yumAssignee: Valentina Mukhamedzhanova <vmukhame>
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.9CC: james.antill
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 11:28:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jan Pokorný [poki] 2016-11-16 10:29:35 UTC
# cat /etc/redhat-release 
> Red Hat Enterprise Linux Server release 6.9 Beta (Santiago)

# rpm -q rpm
> rpm-4.8.0-55.el6.x86_64

# yum install -y pcs
> [...]

# rpm -q pcs
> pcs-0.9.155-1.el6.x86_64

#  yum downgrade -y pcs-0.9.90-1.el6_4.noarch.rpm
> [...]

# rpm -q pcs
> pcs-0.9.90-1.el6_4.noarch

# yum --rpmverbosity=debug -d10 -v update pcs-0.9.123-9.el6.x86_64.rpm                                                                                       
> Not loading "rhnplugin" plugin, as it is disabled
> Loading "product-id" plugin
> Loading "search-disabled-repos" plugin
> Loading "security" plugin
> Loading "subscription-manager" plugin
> Updating Subscription Management repositories.
> Unable to read consumer identity
> This system is not registered with an entitlement server. You can use subscription-manager to register.
> Config time: 0.187
> Yum Version: 3.2.29
> rpmdb time: 0.000
> Setting up Update Process
> Examining pcs-0.9.123-9.el6.x86_64.rpm: pcs-0.9.123-9.el6.x86_64
> Marking pcs-0.9.123-9.el6.x86_64.rpm as an update to pcs-0.9.90-1.el6_4.noarch
> Setting up Package Sacks
> pkgsack time: 0.098
> Obs Init time: 0.339
> Building updates object
> up:simple updates time: 0.026
> up:obs time: 0.006
> up:condense time: 0.000
> updates time: 0.244
> No Packages marked for Update

Why hasn't anything been performed?

The same outcome is with:

# yum update-to pcs-0.9.123-9.el6.x86_64.rpm
# yum '--disablerepo=*' {update|update-to} pcs-0.9.123-9.el6.x86_64.rpm

This is contrary to using plain rpm, which just works:

# rpm -Uv pcs-0.9.123-9.el6.x86_64.rpm 
> Preparing packages for installation...
> pcs-0.9.123-9.el6

# rpm -q pcs
> pcs-0.9.123-9.el6.x86_64

So it looks something strange is going on here.

This looks similar to [bug 1337766], but that one fails on unability
to resolve dependencies, so I am unsure if it's just a different
symptom of the same bug, or the cause is different.

Comment 3 Jan Kurik 2017-12-06 11:28:17 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/