Bug 1395636 - "yum update RPMFILE" won't work under some circumstances without any justification provided
Summary: "yum update RPMFILE" won't work under some circumstances without any justific...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum
Version: 6.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Valentina Mukhamedzhanova
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-16 10:29 UTC by Jan Pokorný [poki]
Modified: 2017-12-06 11:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-06 11:28:17 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1337766 0 unspecified CLOSED yum update path/to/*.rpm fails with a transaction 2021-02-22 00:41:40 UTC

Internal Links: 1337766

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/


Note You need to log in before you can comment on or make changes to this bug.