Bug 1169674 - SWnightly@RHEL7: Error: Package: spacewalk-taskomatic-2.3.94-1.el7.noarch Requires: cglib < 2.2
Summary: SWnightly@RHEL7: Error: Package: spacewalk-taskomatic-2.3.94-1.el7.noarch Req...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Installation
Version: 2.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Gajdusek
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
: 1375051 1437921 (view as bug list)
Depends On:
Blocks: spacewalk-review space27
TreeView+ depends on / blocked
 
Reported: 2014-12-02 07:27 UTC by Jan Hutař
Modified: 2017-10-27 12:36 UTC (History)
24 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-27 16:00:32 UTC
Embargoed:


Attachments (Terms of Use)
yum history info <yum_upgrade-transaction_id> (68.90 KB, text/plain)
2017-06-27 16:04 UTC, Ondrej Gajdusek
no flags Details

Description Jan Hutař 2014-12-02 07:27:43 UTC
Description of problem:
After installation of SWnightly@RHEL7, attempt to run `yum upgrade` fails with:
Error: Package: spacewalk-taskomatic-2.3.94-1.el7.noarch Requires: cglib < 2.2


Version-Release number of selected component (if applicable):
spacewalk-taskomatic-2.3.94-1.el7.noarch


How reproducible:
always


Steps to Reproduce:
1. Install SWnightly@RHEL7 (enable rhel-7-server-optional-rpms
   subscription-manager repo)
2. # yum upgrade


Actual results:
# yum upgrade
Loaded plugins: product-id, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package cglib.noarch 0:2.1.3-4.jpp5 will be updated
--> Processing Dependency: cglib < 2.2 for package: spacewalk-taskomatic-2.3.94-1.el7.noarch
--> Processing Dependency: cglib < 2.2 for package: spacewalk-java-2.3.94-1.el7.noarch
---> Package cglib.noarch 0:2.2-18.el7 will be an update
--> Finished Dependency Resolution
Error: Package: spacewalk-taskomatic-2.3.94-1.el7.noarch (@spacewalk-nightly)
           Requires: cglib < 2.2
           Removing: cglib-2.1.3-4.jpp5.noarch (@jpackage-generic)
               cglib = 2.1.3-4.jpp5
           Updated By: cglib-2.2-18.el7.noarch (rhel-7-server-optional-rpms)
               cglib = 2.2-18.el7
Error: Package: spacewalk-java-2.3.94-1.el7.noarch (@spacewalk-nightly)
           Requires: cglib < 2.2
           Removing: cglib-2.1.3-4.jpp5.noarch (@jpackage-generic)
               cglib = 2.1.3-4.jpp5
           Updated By: cglib-2.2-18.el7.noarch (rhel-7-server-optional-rpms)
               cglib = 2.2-18.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


Expected results:
Should work


Additional info:
I have these repos:
# yum repolist
Loaded plugins: product-id, subscription-manager
repo id                                    repo name                      status
epel/x86_64                                Extra Packages for Enterprise  6,591
jpackage-generic                           JPackage generic               3,307
rhel-7-server-optional-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Ser 4,514
rhel-7-server-rpms/7Server/x86_64          Red Hat Enterprise Linux 7 Ser 5,086
spacewalk-nightly/x86_64                   Spacewalk nightly                153
repolist: 19,651

Comment 2 Jeremy Whittier 2015-01-14 21:13:16 UTC
Seeing the same for new versions of taskomatic and spacewalk-java

# yum update
Resolving Dependencies
--> Running transaction check
---> Package cglib.noarch 0:2.1.3-4.jpp5 will be updated
--> Processing Dependency: cglib < 2.2 for package: spacewalk-taskomatic-2.3.117-1.el7.noarch
--> Processing Dependency: cglib < 2.2 for package: spacewalk-java-2.3.117-1.el7.noarch
---> Package cglib.noarch 0:2.2-18.el7 will be an update
--> Finished Dependency Resolution
Error: Package: spacewalk-java-2.3.117-1.el7.noarch (@spacewalk-nightly)
           Requires: cglib < 2.2
           Removing: cglib-2.1.3-4.jpp5.noarch (@jpackage-generic)
               cglib = 2.1.3-4.jpp5
           Updated By: cglib-2.2-18.el7.noarch (base)
               cglib = 2.2-18.el7
Error: Package: spacewalk-taskomatic-2.3.117-1.el7.noarch (@spacewalk-nightly)
           Requires: cglib < 2.2
           Removing: cglib-2.1.3-4.jpp5.noarch (@jpackage-generic)
               cglib = 2.1.3-4.jpp5
           Updated By: cglib-2.2-18.el7.noarch (base)
               cglib = 2.2-18.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Comment 3 Grant Gainey 2015-03-25 15:53:21 UTC
We need rhel7-optional because that's where we get things like apache-commons-beanutils, apache-commons-digester, and apache-commons-validator. The issue is that cglib-2.2 is *also* in rhel7-optional, and Spacewalk code is only tested with the cglib-2.1 that is found in the JPackage repository.

The only real fix for this, is to build SW and test against cglib-2.2, and see what breaks, so we can address those and (possibly) relax the <2.2 restriction.

In the meantime, a workaround is to force cglib to stay at 2.1:

 yum install yum-versionlock; yum versionlock cglib

Comment 4 Martin Korbel 2015-04-24 11:09:12 UTC
Any changes?

I have tested on the lastest v spacewalk-java and spacewalk-taskomatic and the problem is still here.

> yum upgrade
....
Error: Package: spacewalk-java-2.3.179-1.el7.noarch (@spacewalk)
           Requires: cglib < 2.2
           Removing: cglib-2.1.3-4.jpp5.noarch (@jpackage-generic)
               cglib = 2.1.3-4.jpp5
           Updated By: cglib-2.2-18.el7.noarch (rhel-7-server-optional-rpms)
               cglib = 2.2-18.el7
Error: Package: spacewalk-taskomatic-2.3.179-1.el7.noarch (@spacewalk)
           Requires: cglib < 2.2
           Removing: cglib-2.1.3-4.jpp5.noarch (@jpackage-generic)
               cglib = 2.1.3-4.jpp5
           Updated By: cglib-2.2-18.el7.noarch (rhel-7-server-optional-rpms)
               cglib = 2.2-18.el7
...

Comment 5 Grant Gainey 2015-04-24 17:27:20 UTC
No change - workaround is still "versionlock cglib", fixing will require a lot of testing to make sure cglib-2.2 doesn't break anything.

Comment 6 Dave Brennan 2016-04-04 07:40:25 UTC
Version locking cglib is no longer a viable work around. This lock is currently holding back 10 fixes to our spacewalk server. These include a critical Tomcat update, which allows remote execution.

We need to move to a later version of cglib.

Priority should be set to urgent.

Comment 7 Jan Dobes 2016-04-15 08:53:40 UTC
Still present, bumping version.

Comment 8 Dave Lehman 2016-04-26 05:17:42 UTC
I too am having this issue with Spacewalk release 2.4.

# yum upgrade
...
Error: Package: spacewalk-taskomatic-2.4.79-1.el7.noarch (@spacewalk)
           Requires: cglib < 2.2
           Removing: cglib-2.1.3-4.jpp5.noarch (@jpackage-generic)
               cglib = 2.1.3-4.jpp5
           Updated By: cglib-2.2-18.el7.noarch (base)
               cglib = 2.2-18.el7
Error: Package: spacewalk-java-2.4.79-1.el7.noarch (@spacewalk)
           Requires: cglib < 2.2
           Removing: cglib-2.1.3-4.jpp5.noarch (@jpackage-generic)
               cglib = 2.1.3-4.jpp5
           Updated By: cglib-2.2-18.el7.noarch (base)
               cglib = 2.2-18.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


Thanks

Comment 9 Aaron 2016-06-09 17:32:07 UTC
Also having the same issue. 
Error: Package: spacewalk-taskomatic-2.4.79-1.el7.noarch (@spacewalk)
           Requires: cglib < 2.2

Comment 10 Aaron 2016-06-09 17:46:02 UTC
Hey Jan, is there any progress on this as this seems to be an issue for some time. I'm running Centos 7 Spacewalk 2.4.

Comment 11 Shawn F 2016-07-14 17:46:19 UTC
Would like to know the progress of this bug as I am encountering it as well.

Comment 12 Aaron 2016-07-14 17:49:28 UTC
I reverted back to a snapshot as it seems like no work is being done on this bug. Please update. Running CENTOS 7

Comment 13 Aidan B 2016-08-16 12:41:06 UTC
I can confirm that this is happening on Centos 7 Spacewalk 2.5, please can we have an update?

Comment 14 Herman Greeven 2016-10-12 15:16:48 UTC
Same Here, Centos 7.2.1511 spacewalk 2.5, I'd like to see an update too.

Comment 15 Gennadii Altukhov 2016-11-03 15:29:01 UTC
*** Bug 1375051 has been marked as a duplicate of this bug. ***

Comment 16 sergio 2017-03-30 14:36:12 UTC
Same issue, in CentOS Linux release 7.3.1611. Thanks.

Comment 17 w.westra 2017-04-01 12:24:13 UTC
Same issue, SW 2.6 on CentOS Linux release 7.3.1611. Thanks.

Comment 18 It's me, really 2017-05-01 16:15:27 UTC
We're experiencing the same issue, just as w.westra (what an email, hilarious) mentioned.  CentOS v 7.3 aka 1611 and spacewalk 2.6 with latest everthing as of the last 2 weeks.

Comment 19 Lyas Spiehler 2017-05-30 22:27:31 UTC
Same issue in spacewalk 2.6 on CentOS Linux release 7.3.1611 (Core). Hoping for an update soon! Thank you.

Comment 20 Steven Percle 2017-05-31 01:29:10 UTC
AS of 2017-05-30 issue is still present. CentOS Linux release 7.3.1611 (Core). Hoping for a resolution or and update soon!!!

Comment 21 Ondrej Gajdusek 2017-06-27 16:00:32 UTC
This bug is no longer reproducible with Spacewalk nightly. We did some changes and substituted jpackage repo with a new Copr repository (https://copr.fedorainfracloud.org/coprs/g/spacewalkproject/java-packages/) with packages needed for Spacewalk runtime.

Check instructions at HowToInstallNightly wiki page: https://github.com/spacewalkproject/spacewalk/wiki/HowToInstallNightly#java-packages-red-hat-enterprise-linux-centos-scientific-linux

If you can reproduce this bug against Spacewalk nightly, feel free to open this bug.

Additional info:
# rpm -q spacewalk-taskomatic spacewalk-java cglib
spacewalk-taskomatic-2.7.86-1.el7.noarch
spacewalk-java-2.7.86-1.el7.noarch
cglib-2.2-18.el7.noarch


I will attach "yum history info <transaction_number>" output.

Comment 22 Ondrej Gajdusek 2017-06-27 16:04:56 UTC
Created attachment 1292404 [details]
yum history info <yum_upgrade-transaction_id>

Comment 23 Eric Herget 2017-09-28 18:09:31 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.

Comment 24 Jan Dobes 2017-10-27 12:36:38 UTC
*** Bug 1437921 has been marked as a duplicate of this bug. ***


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