[Spacewalk-list] Upgrade Spacewalk 2.6 to 2.8

Matt Moldvan matt at moldvan.com
Thu Jul 5 14:08:13 UTC 2018


I believe it's there:

Remove conflicting packages

When running on RHEL6, Scientific Linux 6, CentOS 6, you need to remove
certain packages formerly installed from jpackage repo which are not used
anymore and cause dependency conflicts. Execute the following command:

# rpm -e --nodeps  axis-*-*.jpp5 jakarta-commons-logging-*-*.jpp5
jakarta-commons-diges...etcetc


On Fri, Jun 22, 2018 at 5:40 AM Gerald Vogt <vogt at spamcop.net> wrote:

> Hi!
>
> I have tried to update our Spacewalk 2.6 server running on CentOS 6 to
> Spacewalk 2.8 following the upgrade instructions at
>
> https://github.com/spacewalkproject/spacewalk/wiki/HowToUpgrade
>
> First, I have noticed that the 'yum upgrade' is suggested before the
> spacewalk server is shut down in the 'schema upgrade' section.
> Considering the amount of packages updates wouldn't it be better to shut
> down the spacewalk server before the upgrade?
>
> I ran into two problems when running 'yum upgrade':
>
> 1. Dependencies:
>
> --> Finished Dependency Resolution
> Error: Package: velocity14-1.4-8.jpp5.noarch (@jpackage-generic)
>             Requires: servletapi5
>             Removing: tomcat5-servlet-2.4-api-5.5.27-7.jpp5.noarch
> (@jpackage-generic)
>                 servletapi5
>             Obsoleted By: spacewalk-java-2.8.79-1.el6.noarch (spacewalk)
>                 Not found
> Error: Package: velocity14-1.4-8.jpp5.noarch (@jpackage-generic)
>             Requires: excalibur-avalon-logkit
>             Removing:
> 1:excalibur-avalon-logkit-2.2.1-0.r508111.13.jpp5.noarch
> (@jpackage-generic)
>                 excalibur-avalon-logkit = 1:2.2.1-0.r508111.13.jpp5
>             Obsoleted By: spacewalk-java-2.8.79-1.el6.noarch (spacewalk)
>                 Not found
> Error: Package: xmlbeans-2.3.0-2.jpp5.noarch (@jpackage-generic)
>             Requires: stax_1_0_api
>             Removing: geronimo-stax-1.0-api-1.2-13.jpp5.noarch
> (@jpackage-generic)
>                 stax_1_0_api = 1.2-13.jpp5
>             Obsoleted By: spacewalk-java-2.8.79-1.el6.noarch (spacewalk)
>                 Not found
>
> So in addition to the rpms mentioned on the upgrade page I also had to
> remove velocity14 and xmlbeans, too, as others found before.
>
> 2. Transaction Check Error:
>
> Transaction Check Error:
>    file /etc/java/font.properties from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>    file /etc/java/java.conf from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>    file /etc/rpm/macros.jpackage from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>    file /usr/bin/build-classpath from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>    file /usr/bin/build-classpath-directory from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>    file /usr/bin/build-jar-repository from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>    file /usr/bin/check-binary-files from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>    file /usr/bin/clean-binary-files from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>    file /usr/bin/create-jar-links from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>    file /usr/bin/diff-jars from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>    file /usr/bin/find-jar from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>    file /usr/bin/jvmjar from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>    file /usr/bin/rebuild-jar-repository from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>    file /usr/share/java-utils/java-functions from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>    file /usr/share/man/man1/build-classpath.1.gz from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>    file /usr/share/man/man1/build-jar-repository.1.gz from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>    file /usr/share/man/man1/diff-jars.1.gz from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>    file /usr/share/man/man1/find-jar.1.gz from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>    file /usr/share/man/man1/rebuild-jar-repository.1.gz from install of
> javapackages-tools-3.4.1-11.el6.noarch conflicts with file from package
> jpackage-utils-0:5.0.0-2.jpp5.noarch
>
> So I also removed jpackage-utils.
>
> After that the upgrade run through.
>
> Maybe that should be added to the wiki?
>
> Cheers,
>
> Gerald
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20180705/cddacf1f/attachment.htm>


More information about the Spacewalk-list mailing list