RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1404624 - 'yum install iptables-services' fails instead of updating 'iptables'
Summary: 'yum install iptables-services' fails instead of updating 'iptables'
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: releng
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Lubos Kocman
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-14 09:50 UTC by Yedidyah Bar David
Modified: 2019-04-28 13:30 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-01 12:58:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yedidyah Bar David 2016-12-14 09:50:27 UTC
Description of problem:

With iptables-1.4.21-16.el7.x86_64 installed:

# yum install iptables-services
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package iptables-services.x86_64 0:1.4.21-17.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================
 Package                                           Arch                                   Version                                         Repository                                     Size
==============================================================================================================================================================================================
Installing:
 iptables-services                                 x86_64                                 1.4.21-17.el7                                   rhel-7.latest                                  50 k

Transaction Summary
==============================================================================================================================================================================================
Install  1 Package 

Total size: 50 k   
Installed size: 24 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
ERROR with transaction check vs depsolve:
iptables = 1.4.21-17.el7 is needed by iptables-services-1.4.21-17.el7.x86_64
 You could try running: rpm -Va --nofiles --nodigest
Your transaction was saved, rerun it with:
 yum load-transaction /tmp/yum_save_tx.2016-12-14.11-25.sEAcbY.yumtx

Version-Release number of selected component (if applicable):

yum-3.4.3-132.el7.noarch

How reproducible:

Always, I think

Steps to Reproduce:
1. Have a machine with iptables-1.4.21-16.el7.x86_64
2. Have repos with iptables-1.4.21-17.el7.x86_64 (and iptables-services of same version)
3. yum install iptables-services

Actual results:

yum only suggests to install iptables-services, and fails in doing so

Expected results:

yum suggests to update iptables and install iptables-service, and succeeds

Additional info:

Not sure which repos were used to install the machine. I use these repos when trying to install iptables-services:

[rhel-7.latest]
name=RHEL_7_latest
baseurl=http://download.eng.tlv.redhat.com/pub/rhel/rel-eng/latest-RHEL-7/compose/Server/x86_64/os/
enabled=1
gpgcheck=0

[rhel-7latest-optional]
name=RHEL_7latest_OPTIONAL
baseurl=http://download.eng.tlv.redhat.com/pub/rhel/rel-eng/latest-RHEL-7/compose/Server-optional/x86_64/os/
enabled=1
gpgcheck=0

[rhev-73-candidate-hypervisor]
name=RHEVH_7.3_candidate
baseurl=http://download.eng.tlv.redhat.com/pub/rhel/rel-eng/repos/rhevh-rhel-7.3-candidate/x86_64/
enabled=1
gpgcheck=0

Comment 3 Lubos Kocman 2017-02-01 12:58:10 UTC
This is not a production issue, please use JIRA to report such issues. These are mainly customer facing issues.

Lubos

Comment 4 Yaniv Kaul 2017-09-14 08:30:21 UTC
(In reply to Lubos Kocman from comment #3)
> This is not a production issue, please use JIRA to report such issues. These
> are mainly customer facing issues.
> 
> Lubos

Has anyone opened an issue in JIRA? I suspect I'm seeing the exact same issue on CentOS 7.4 which was just released.

'yum -y update iptables' before this is a workaround for this, but ugly.

Comment 5 Michal Domonkos 2017-09-14 08:53:20 UTC
(In reply to Yaniv Kaul from comment #4)
> Has anyone opened an issue in JIRA? I suspect I'm seeing the exact same
> issue on CentOS 7.4 which was just released.
> 
> 'yum -y update iptables' before this is a workaround for this, but ugly.

I just tried this on a 7.3 with iptables-1.4.21-16.el7.x86_64 installed and it seems to work fine:

# yum install iptables-services
[...]
Dependencies Resolved

===============================================================================================================================================================================================
 Package                                               Arch                                  Version                                                 Repository                           Size
===============================================================================================================================================================================================
Installing:
 iptables-services                                     x86_64                                1.4.21-18.0.1.el7.centos                                base                                 51 k
Installing for dependencies:
 libmnl                                                x86_64                                1.0.3-7.el7                                             base                                 23 k
 libnetfilter_conntrack                                x86_64                                1.0.6-1.el7_3                                           base                                 55 k
 libnfnetlink                                          x86_64                                1.0.1-4.el7                                             base                                 26 k
Updating for dependencies:
 iptables                                              x86_64                                1.4.21-18.0.1.el7.centos                                base                                428 k

Transaction Summary
===============================================================================================================================================================================================
Install  1 Package  (+3 Dependent packages)
Upgrade             ( 1 Dependent package)

Total download size: 583 k


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