On 05.07.18 16:08, Matt Moldvan wrote:
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|

No. It's not. The full line is:

# rpm -e --nodeps axis-*-*.jpp5 jakarta-commons-logging-*-*.jpp5 jakarta-commons-digester-*-*jpp jakarta-commons-dbcp-*-*.jpp5 jakarta-commons-discovery-*-*.jpp5 java-cup-*-*.jpp5 junit-*-*.jpp5 wsdl4j-*-*.jpp5 xalan-j2-*-*.jpp5

This list does not include velocity14 nor xmlbeans nor jpackage-utils.

-Gerald





On Fri, Jun 22, 2018 at 5:40 AM Gerald Vogt <[email protected] <mailto:[email protected]>> 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
    [email protected] <mailto:[email protected]>
    https://www.redhat.com/mailman/listinfo/spacewalk-list



_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list


_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to