Results 1 to 5 of 5

Thread: Java 5 update 17 and update-alternatives

  1. #1
    dlochrin NNTP User

    Default Java 5 update 17 and update-alternatives


    I'd like to install Java 5.0 update 17 on SuSE 10.1 but SuSE updates are
    no longer published at 'Index of /pub/suse/update/10.1/rpm'
    (http://ftp.suse.com/pub/suse/update/10.1/rpm/) The Sun version for
    Linux installs fine, but doesn't appear to register itself as an
    available Java version using 'update-alternatives'.

    Does anyone know where a SuSE post-installation script to do this can
    be found? (There are rather a lot of obscure slaves.) Alternatively,
    would one expect a SuSE 10.3 update to install correctly?

    David


    --
    dlochrin
    ------------------------------------------------------------------------
    dlochrin's Profile: http://forums.opensuse.org/member.php?userid=16991
    View this thread: http://forums.opensuse.org/showthread.php?t=402599


  2. #2
    tsu2 NNTP User

    Default Re: Java 5 update 17 and update-alternatives


    I've found that installing packages from the Sun website is
    fundamentally incompatible with the update-alternatives system, because
    as you say files are installed in different locations and don't register
    with the update-alternatives system.

    If you install packages from the Sun website, I recommend you uninstall
    all Sun packages from the SuSE repos and then run the usual manual steps
    to configure support for Java (Set and export JAVA_HOME variable,
    modification to Profile, set JAVA$ paths)


    --
    tsu2
    ------------------------------------------------------------------------
    tsu2's Profile: http://forums.opensuse.org/member.php?userid=2578
    View this thread: http://forums.opensuse.org/showthread.php?t=402599


  3. #3
    dth2 NNTP User

    Default Re: Java 5 update 17 and update-alternatives


    you could try downloading and installing the latest version from the
    factory repo at:-

    'Index of /pub/opensuse/factory/repo/non-oss/suse/i586'
    (http://ftp.gwdg.de/pub/opensuse/fact...oss/suse/i586/)


    --
    dth2
    ------------------------------------------------------------------------
    dth2's Profile: http://forums.opensuse.org/member.php?userid=246
    View this thread: http://forums.opensuse.org/showthread.php?t=402599


  4. #4
    dlochrin NNTP User

    Default Re: Java 5 update 17 and update-alternatives


    Many thanks for both those suggestions. All the components I need
    (Java, *alsa, *plugin, *jdbc) are there in the factory, sure enough, but
    on trying to upgrade (using Smart) I get a message that they all need
    'rpmlib' which doesn't seem to be in the 10.1 distribution.

    Also Smart thinks it's a downgrade, perhaps because the package names
    don't follow the usual convention?

    David


    --
    dlochrin
    ------------------------------------------------------------------------
    dlochrin's Profile: http://forums.opensuse.org/member.php?userid=16991
    View this thread: http://forums.opensuse.org/showthread.php?t=402599


  5. #5
    dlochrin NNTP User

    Default Re: Java 5 update 17 and update-alternatives


    Just for the record, the 'rpmlib' problem seems to be well known - see
    for example 'rpmlib(PayloadIsLzma) revisited - openSUSE Forums'
    (http://tinyurl.com/9r5pdh)

    SuSE 10.1, and perhaps all V10 releases, include 'librpm' provided by
    the 'rpm' package, so perhaps there's a naming confusion.

    It's a pity one has to go to all the trouble of migrating to the next
    major version to solve a trivial problem like this, especially since
    that will no doubt have its own set of problems. Is OpenSuSE on an
    endless path of upgrades to upgrades to... just like Microsoft?

    David


    --
    dlochrin
    ------------------------------------------------------------------------
    dlochrin's Profile: http://forums.opensuse.org/member.php?userid=16991
    View this thread: http://forums.opensuse.org/showthread.php?t=402599


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •