FedoraForum.org - Fedora Support Forums and Community
Results 1 to 15 of 15
  1. #1
    Join Date
    Jul 2007
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Java install problem- Unofficial Fedora FAQ

    I am trying to install Java as per the Unofficial Fedora FAQ.
    http://www.fedorafaq.org/#installsoftware

    I am on step 5.9. When I run it I get an error.

    # yumdownloader --enablerepo=jpackage-nonfree java-1.6.0-sun
    Loading "priorities" plugin
    Cannot handle specific enablerepo/disablerepo options.

    How do I fix this ?

    Thanks

  2. #2
    bob's Avatar
    bob is offline Administrator -- On Leave
    Join Date
    Jul 2004
    Location
    Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
    Age
    81
    Posts
    25,245
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Works for me:

    [root@localhost bob1]# yumdownloader --enablerepo=jpackage-nonfree java-1.6.0-sun
    Loading "priorities" plugin
    Loading "skip-broken" plugin
    46 packages excluded due to repository priority protections
    java-1.6.0-sun-1.6.0.3-1j 100% |=========================| 17 kB 00:00
    Did you set up your repos with his yum.conf (see 2.6)
    Linux & Beer - That TOTALLY Computes!
    Registered Linux User #362651


    Don't use any of my solutions on working computers or near small children.

  3. #3
    bob's Avatar
    bob is offline Administrator -- On Leave
    Join Date
    Jul 2004
    Location
    Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
    Age
    81
    Posts
    25,245
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just as info, but instead of this plugin, have you tried the 'icedtea' version which works for most things? See the News story about it: http://forums.fedoraforum.org/showthread.php?t=173680
    Linux & Beer - That TOTALLY Computes!
    Registered Linux User #362651


    Don't use any of my solutions on working computers or near small children.

  4. #4
    Join Date
    Jul 2007
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I did perform step 2.6.

    I am not seeing the "Loading skip broken" step. I'll check that out.

    I am doing Java development. I'd rather use the Sun version of Java right now.

  5. #5
    bob's Avatar
    bob is offline Administrator -- On Leave
    Join Date
    Jul 2004
    Location
    Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
    Age
    81
    Posts
    25,245
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The 'skip-broken' is a plugin that isn't involved in this problem, so ignore that one. Check your /etc/yum.repos.d and make sure you've got jpackage listed as a repo.
    Linux & Beer - That TOTALLY Computes!
    Registered Linux User #362651


    Don't use any of my solutions on working computers or near small children.

  6. #6
    Join Date
    Jul 2007
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the tip ! I'll check that out shortly.

  7. #7
    Join Date
    Oct 2004
    Location
    Portland Oregon
    Age
    51
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This might be TMI but here is what I did to reproduce the error.
    I followed the instructions from: http://www.fedorafaq.org/f7/#java
    ---------------------------------------------------------------------------------------------------------------------------------
    [stonebrooks@localhost ~]$ su
    Password:
    [root@localhost stonebrooks]# yum -y install yum-priorities
    Setting up Install Process
    Parsing package install arguments
    Resolving Dependencies
    --> Running transaction check
    ---> Package yum-priorities.noarch 0:1.1.8-1.fc7 set to be updated
    --> Finished Dependency Resolution

    Dependencies Resolved

    ================================================== ===========================
    Package Arch Version Repository Size
    ================================================== ===========================
    Installing:
    yum-priorities noarch 1.1.8-1.fc7 updates 8.1 k

    Transaction Summary
    ================================================== ===========================
    Install 1 Package(s)
    Update 0 Package(s)
    Remove 0 Package(s)

    Total download size: 8.1 k
    Downloading Packages:
    (1/1): yum-priorities-1.1 100% |=========================| 8.1 kB 00:00
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Installing: yum-priorities ######################### [1/1]

    Installed: yum-priorities.noarch 0:1.1.8-1.fc7
    Complete!
    [root@localhost stonebrooks]# rpm -Uvh http://www.fedorafaq.org/f7/yum http://rpm.livna.org/livna-release-7.rpm
    Retrieving http://www.fedorafaq.org/f7/yum
    Retrieving http://rpm.livna.org/livna-release-7.rpm
    warning: /var/tmp/rpm-xfer.kpZERw: Header V3 DSA signature: NOKEY, key ID a109b1ec
    Preparing... ########################################### [100%]
    1:livna-release ########################################### [ 50%]
    2:yum-fedorafaq ########################################### [100%]
    [root@localhost stonebrooks]# yum install yum-utils jpackage-utils rpm-build
    Loading "priorities" plugin
    atrpms 100% |=========================| 951 B 00:00
    primary.xml.gz 100% |=========================| 203 kB 00:02
    atrpms : ################################################## 1009/1009
    adobe 100% |=========================| 951 B 00:00
    primary.xml.gz 100% |=========================| 1.3 kB 00:00
    adobe : ################################################## 2/2
    planetcore 100% |=========================| 1.9 kB 00:00
    primary.xml.gz 100% |=========================| 62 kB 00:00
    planetcore: ################################################## 79/79
    livna 100% |=========================| 2.1 kB 00:00
    primary.sqlite.bz2 100% |=========================| 154 kB 00:01
    kde-redhat-all 100% |=========================| 951 B 00:00
    primary.xml.gz 100% |=========================| 105 kB 00:01
    kde-redhat: ################################################## 436/436
    kde-redhat 100% |=========================| 1.1 kB 00:00
    primary.xml.gz 100% |=========================| 4.1 kB 00:00
    kde-redhat: ################################################## 12/12
    planetccrma 100% |=========================| 1.9 kB 00:00
    primary.xml.gz 100% |=========================| 133 kB 00:01
    planetccrm: ################################################## 569/569
    freshrpms 100% |=========================| 2.1 kB 00:00
    primary.sqlite.bz2 100% |=========================| 92 kB 00:01
    385 packages excluded due to repository priority protections
    Setting up Install Process
    Parsing package install arguments
    Package jpackage-utils - 1.7.3-1jpp.3.fc7.noarch is already installed.
    Resolving Dependencies
    --> Running transaction check
    ---> Package rpm-build.i386 0:4.4.2.2-2.fc7 set to be updated
    --> Processing Dependency: elfutils >= 0.128 for package: rpm-build
    ---> Package yum-utils.noarch 0:1.1.8-1.fc7 set to be updated
    --> Running transaction check
    ---> Package elfutils.i386 0:0.131-1.fc7 set to be updated
    --> Processing Dependency: elfutils-libs-i386 = 0.131-1.fc7 for package: elfutils
    --> Processing Dependency: libdw.so.1(ELFUTILS_0.127) for package: elfutils
    --> Processing Dependency: libdw.so.1(ELFUTILS_0.122) for package: elfutils
    --> Processing Dependency: libdw.so.1(ELFUTILS_0.130) for package: elfutils
    --> Processing Dependency: libdw.so.1 for package: elfutils
    --> Processing Dependency: libdw.so.1(ELFUTILS_0.126) for package: elfutils
    --> Running transaction check
    ---> Package elfutils-libs.i386 0:0.131-1.fc7 set to be updated
    --> Finished Dependency Resolution

    Dependencies Resolved

    ================================================== ===========================
    Package Arch Version Repository Size
    ================================================== ===========================
    Installing:
    rpm-build i386 4.4.2.2-2.fc7 updates 295 k
    yum-utils noarch 1.1.8-1.fc7 updates 48 k
    Installing for dependencies:
    elfutils i386 0.131-1.fc7 updates 212 k
    elfutils-libs i386 0.131-1.fc7 updates 120 k

    Transaction Summary
    ================================================== ===========================
    Install 4 Package(s)
    Update 0 Package(s)
    Remove 0 Package(s)

    Total download size: 674 k
    Is this ok [y/N]: y
    Downloading Packages:
    (1/4): elfutils-libs-0.13 100% |=========================| 120 kB 00:01
    (2/4): elfutils-0.131-1.f 100% |=========================| 212 kB 00:02
    (3/4): yum-utils-1.1.8-1. 100% |=========================| 48 kB 00:00
    (4/4): rpm-build-4.4.2.2- 100% |=========================| 295 kB 00:03
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Installing: yum-utils ######################### [1/4]
    Installing: elfutils-libs ######################### [2/4]
    Installing: elfutils ######################### [3/4]
    Installing: rpm-build ######################### [4/4]

    Installed: rpm-build.i386 0:4.4.2.2-2.fc7 yum-utils.noarch 0:1.1.8-1.fc7
    Dependency Installed: elfutils.i386 0:0.131-1.fc7 elfutils-libs.i386 0:0.131-1.fc7
    Complete!
    [root@localhost stonebrooks]# mv Desktop/jdk*bin /usr/src/redhat/SOURCES/
    [root@localhost stonebrooks]# yumdownloader --enablerepo=jpackage-nonfree java-1.6.0-sun
    Loading "priorities" plugin
    jpackage-nonfree 100% |=========================| 951 B 00:00
    primary.xml.gz 100% |=========================| 4.9 kB 00:00
    jpackage-n: ################################################## 21/21
    385 packages excluded due to repository priority protections
    No Match for argument java-1.6.0-sun
    Nothing to download
    [root@localhost stonebrooks]# setarch i586 rpmbuild --rebuild java-1.6.0-sun*nosrc.rpm
    error: cannot open java-1.6.0-sun*nosrc.rpm: No such file or directory
    [root@localhost stonebrooks]# yumdownloader --enablerepo=jpackage-nonfree java-1.6.0-sun
    Loading "priorities" plugin
    fedora 100% |=========================| 2.1 kB 00:00
    http://mirror.nuvio.com/pub/fedora/l...ta/repomd.xml: [Errno 14] HTTP Error 503: Service Temporarily Unavailable
    Trying other mirror.
    updates 100% |=========================| 2.3 kB 00:00
    385 packages excluded due to repository priority protections
    No Match for argument java-1.6.0-sun
    Nothing to download
    [root@localhost stonebrooks]# yumdownloader --enablerepo=jpackage-nonfree java-1.6.0-sun
    Loading "priorities" plugin
    385 packages excluded due to repository priority protections
    No Match for argument java-1.6.0-sun
    Nothing to download
    [root@localhost stonebrooks]# cat /etc/yum.repos.d
    cat: /etc/yum.repos.d: Is a directory
    [root@localhost stonebrooks]# cd /etc/yum.repos.d
    [root@localhost yum.repos.d]# ls
    adobe-linux-i386.repo fedora-updates-testing.repo livna.repo
    atrpms.repo freshrpms.repo livna-testing.repo
    fedora-development.repo jpackage.repo planetccrma.repo
    fedora.repo kde-redhat.repo rpmforge.repo
    fedora-updates.repo livna-devel.repo
    [root@localhost yum.repos.d]#

    yeah, I know I didn't pay a lot of attention to the messages that it gave me.

  8. #8
    bob's Avatar
    bob is offline Administrator -- On Leave
    Join Date
    Jul 2004
    Location
    Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
    Age
    81
    Posts
    25,245
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Interesting! I checked the jpackage repository and with yum and I'm finding java-1.5.0 but not 1.6.0:

    [root@localhost bob1]# yum --enablerepo=jpackage-nonfree search java-1.5.0
    Loading "allowdowngrade" plugin
    Loading "priorities" plugin
    Loading "skip-broken" plugin
    46 packages excluded due to repository priority protections
    java-1.5.0-gcj-javadoc.i386 : API documentation for libgcj
    java-1.5.0-sun-compat.i586 : JPackage Java compatibility package for Sun's JDK
    java-1.5.0-ibm.i386 : IBM Java Runtime Environment
    java-1.5.0-ibm-jce-policy.noarch : JCE unlimited strength jurisdiction policy files
    java-1.5.0-gcj-src.i386 : Source files for libgcj
    java-1.5.0-sun.i586 : Java Runtime Environment for java-1.5.0-sun
    java-1.5.0-gcj.i386 : JPackage runtime compatibility layer for GCJ
    java-1.5.0-gcj.i386 : JPackage runtime compatibility layer for GCJ
    java-1.5.0-gcj-devel.i386 : JPackage development compatibility layer for GCJ
    java-1.5.0-sun-jce-policy.noarch : JCE unlimited strength jurisdiction policy files
    java-1.5.0-bea.i686 : BEA WebLogic JRockit JRE
    java-1.5.0-sun-manual.noarch : Java 2 SDK, Standard Edition documentation
    [root@localhost bob1]# yum --enablerepo=jpackage-nonfree search java1.6.0
    Loading "allowdowngrade" plugin
    Loading "priorities" plugin
    Loading "skip-broken" plugin
    46 packages excluded due to repository priority protections
    No Matches found
    Linux & Beer - That TOTALLY Computes!
    Registered Linux User #362651


    Don't use any of my solutions on working computers or near small children.

  9. #9
    bob's Avatar
    bob is offline Administrator -- On Leave
    Join Date
    Jul 2004
    Location
    Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
    Age
    81
    Posts
    25,245
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I shot Max a message about the thread and possible glitch. Let's see what he can tell us.
    Linux & Beer - That TOTALLY Computes!
    Registered Linux User #362651


    Don't use any of my solutions on working computers or near small children.

  10. #10
    Join Date
    Mar 2004
    Location
    San Jose, CA
    Posts
    323
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Note that if you're using an old version of my yum configuration, it has the wrong JPackage URLs.

    -Max
    The Unofficial Fedora FAQ
    Everything Solved, Inc:: Excellent, Friendly Bugzilla, Perl, and Linux Services!

  11. #11
    Join Date
    Jun 2005
    Location
    kennewick,wa,usa
    Age
    69
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What is your overall goal?
    Java? Tomcat? or JRE?
    What distro are you running?
    If your running fc8. Good luck.
    I used fc7 and install the binary JDK with Netbeans then
    I set the classpath in /etc/profile.

    I installed fc8 and renstalled fc7 due to the Java problem with fc8.

    Let me know if you need help.
    Without diversity there can be no evolution.
    cw :)

  12. #12
    DieMonkeys Guest
    Quote Originally Posted by Avatraxiom
    Note that if you're using an old version of my yum configuration, it has the wrong JPackage URLs.

    -Max
    I'm using the version that is on the FAQ and I'm having the same problem as the other guy here.

  13. #13
    Join Date
    Nov 2006
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hm, I'm having the exact same problem. I'm working in Fedora 7 (I can't upgrade to 8 because of the upgrade hang bug, still looking for a way to fix that). I followed all the steps in the FAQ and I'm still getting
    Code:
    No Match for argument java-1.6.0-sun
    I'm getting desperate, but no luck with any of
    Code:
    java-1.6.0-sun
    java-1.6.0
    java-1.5.0-sun
    java-1.5.0
    Any ideas?
    I can't believe it's not a hyperlink! :p

  14. #14
    Join Date
    Nov 2004
    Posts
    63
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    This F8 Java how-to worked for me


  15. #15
    Join Date
    Aug 2005
    Location
    New Orleans, LA
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've been using this method to give GCJ and Iced tea the boot for quite a while and it still works great.

    http://stanton-finley.net/fedora_cor...otes.html#Java
    “I don’t have pet peeves, I have major psychotic f****** hatreds!”
    -George Carlin-

Similar Threads

  1. Installing Java using Unofficial Fedora FAQ
    By Johnny England in forum Using Fedora
    Replies: 2
    Last Post: 20th April 2008, 08:31 AM
  2. (UNOFFICIAL) Dell Linux yum repository (UNOFFICIAL)
    By Gnafu the Great in forum Links
    Replies: 6
    Last Post: 10th July 2007, 02:11 AM
  3. Replies: 3
    Last Post: 21st October 2006, 12:20 PM
  4. Java Install Problem
    By tctechnology in forum Installation, Upgrades and Live Media
    Replies: 2
    Last Post: 9th March 2006, 04:21 AM
  5. Replies: 0
    Last Post: 3rd November 2005, 08:04 AM

Tags for this Thread

Posting Permissions

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