Results 1 to 4 of 4

Thread: Not able to run yum on Ubuntu.

  1. #1
    Join Date
    Feb 2013
    Beans
    2

    Not able to run yum on Ubuntu.

    I am trying to install a command line client from Amazon EMR docs.

    I am using this command:

    Code:
    $sudo apt-get install ruby-full
    But I get this error

    Code:
    Loaded plugins: fastestmirror, security
        Loading mirror speeds from cached hostfile
        amzn   | 2.1 kB     00:00
        java   | 9.9 kB     00:00 ...
        http://hg.openjdk.java.net/jdk7u/jdk7u/repodata/repomd.xml: [Errno -1]  Error   importing repomd.xml for java: Damaged repomd.xml file
        Trying other mirror.
        Error: Cannot retrieve repository metadata (repomd.xml) for repository: java.
        Please verify its path and try again
    Can someone guide me on how to resolve this?

  2. #2
    Join Date
    Mar 2010
    Location
    Metro-ATL
    Beans
    Hidden!
    Distro
    Lubuntu 12.04 Precise Pangolin

    Re: Not able to run yum on Ubuntu.

    I'm confused. The title and contents do not match.

    yum - that tool is used on RPM-based distros. Ubuntu uses apt-get, aptitude, synaptic or even software center instead.

    As to the apt-get issue with ruby - could you please post the entire command AND output together? I can't see where java has anything to do with installing ruby. BTW, if you are a ruby programmer, like me, you really should use rvm https://rvm.io/ to install and manage ruby, not the Ubuntu version.

  3. #3
    Join Date
    Feb 2013
    Beans
    2

    Re: Not able to run yum on Ubuntu.

    TheFu,

    You are correct it is my mistake. I am not using ubuntu but Amazon's own Linux flavor.

  4. #4
    Join Date
    Oct 2006
    Location
    Ayrshire
    Beans
    39,810
    Distro
    Ubuntu Development Release

    Re: Not able to run yum on Ubuntu.

    Thread moved to the "Other OS/Distro Talk" forum.

Tags for this Thread

Bookmarks

Posting Permissions

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