[Spacewalk-list] upgrade of 2.6 to 2.7-nightly fails on RHEL/CentOS 6

Robert Paschedag robert.paschedag at web.de
Fri Aug 11 19:41:48 UTC 2017


Am 11. August 2017 18:28:18 MESZ schrieb "Miller, Jeffrey L" <jeff-l-miller at uiowa.edu>:
>I’m not sure where to send this so I figured to the list would be a
>good idea. I saw rumblings of a release soon, and I was testing the
>upgrade of a Spacewalk 2.6 server to 2.7-nightly on both RHEL 6 and
>CentOS 6 VMs; however, I encountered the following error on dependency
>checking from a yum upgrade command:
>
>---> Package spacewalk-java.noarch 0:2.7.108-1.el6 will be obsoleting
>--> Processing Dependency: jakarta-commons-logging < 1.1 for package:
>spacewalk-java-2.7.108-1.el6.noarch
>--> Finished Dependency Resolution
>Error: Package: jakarta-commons-logging-mvn-2.7.12-1.sw.noarch
>(group_spacewalkproject-epel6-addons)
>           Requires: jakarta-commons-logging = 1.0.4
>Installed: jakarta-commons-logging-1.1-8.jpp5.noarch
>(@jpackage-generic)
>               jakarta-commons-logging = 1.1-8.jpp5
>          Available: jakarta-commons-logging-1.0.4-10.el6.noarch (base)
>               jakarta-commons-logging = 1.0.4-10.el6
>Error: Package: spacewalk-java-2.7.108-1.el6.noarch (spacewalk-nightly)
>           Requires: jakarta-commons-logging < 1.1
>Installed: jakarta-commons-logging-1.1-8.jpp5.noarch
>(@jpackage-generic)
>               jakarta-commons-logging = 1.1-8.jpp5
>          Available: jakarta-commons-logging-1.0.4-10.el6.noarch (base)
>               jakarta-commons-logging = 1.0.4-10.el6
>You could try using --skip-broken to work around the problem
>You could try running: rpm -Va --nofiles --nodigest
>
>I believe the error is coming from the requirements specified in the
>spec file for spacewalk-java on GitHub
>(https://github.com/spacewalkproject/spacewalk/blob/master/java/spacewalk-java.spec),
>line 127 reads: “Requires: jakarta-commons-logging < 1.1”. The package
>version for jakarta-commons-logging on a Spacewalk 2.6 install on
>CentOS 6 is jakarta-commons-logging-1.1-8.jpp5.noarch. In other words,
>1.1 < 1.1 fails the yum dependency check, and yum cannot downgrade to
>1.0.4 since 1.1 is required for other components.
>
>
>Jeffrey
>
>=============================================
>Jeffrey Miller
>Senior Systems Administrator
>The University of Iowa
>ITS – Research Services
>19 Lindquist Center South
>Iowa City, IA 52242-1727
>(319) 467-1636
>=============================================

Hi,

We had this problem also. Before upgrading, please also remove all packages with "jpp5"

Something like "rpm -e --nodeps $(rpm -qa | grep jpp5 | xargs)" should work.

Then do a yum upgrade

Please make a snapshot before you test this

Robert





More information about the Spacewalk-list mailing list