Help installing apps, yum yum.

Discussion in 'Acer Aspire One' started by emtee, Nov 7, 2008.

  1. emtee

    emtee

    Joined:
    Nov 7, 2008
    Messages:
    9
    Likes Received:
    0
    I'm having problems installing applications such as flv etc.

    In fact I can't get anything to work using the yum command eg.
    sudo yum update fedora-release

    or following this guide - viewtopic.php?f=5&t=167&st=0&sk=t&sd=a&hilit=VLC

    When I enter the line 'yum install vlc' nothing happens, the cursor moves to the next line and that's all.

    Any help much appreciated by a aa1 newbie. :?

    I should add that I managed to install firefox3 with no problems earlier today.
     
    emtee, Nov 7, 2008
    #1
  2. emtee

    Duncan_Rowland

    Joined:
    Aug 25, 2008
    Messages:
    246
    Likes Received:
    0
    Does it say
    "You need to be root to perform this command."?
    In which case you need to prefix your command with sudo, e.g.
    $ sudo yum install vlc

    oh.. wait, you're not typing the "#>" bit are you? That's just what someones used to denote the command prompt
    (if you type # then the rest of the line is treated as a comment! ... start with the "su -" bit)
     
    Duncan_Rowland, Nov 7, 2008
    #2
  3. emtee

    emtee

    Joined:
    Nov 7, 2008
    Messages:
    9
    Likes Received:
    0
    entered command as root, didn't type the # :lol:
     
    emtee, Nov 7, 2008
    #3
  4. emtee

    Duncan_Rowland

    Joined:
    Aug 25, 2008
    Messages:
    246
    Likes Received:
    0
    So is it working now?
    If not, when you type
    su -
    does it prompt you for a password and then change your prompt?
    e.g. like this
    [Duncan@localhost ~]$ su -
    Password:
    [root@localhost ~]#
     
    Duncan_Rowland, Nov 7, 2008
    #4
  5. emtee

    emtee

    Joined:
    Nov 7, 2008
    Messages:
    9
    Likes Received:
    0
    emtee, Nov 7, 2008
    #5
  6. emtee

    Duncan_Rowland

    Joined:
    Aug 25, 2008
    Messages:
    246
    Likes Received:
    0
    Actually, we probably shouldn't be using "su -", it's better to just prefix your commands with sudo.
    This is what happends when I type the commands (I already have the stuff installed)
    BTW - you need to be connected to the internet... (and it's vlc not flv)

    [Duncan@localhost ~]$ sudo rpm -ivh http://rpm.livna.org/livna-release-8.rpm
    Retrieving http://rpm.livna.org/livna-release-8.rpm
    Preparing... ########################################### [100%]
    package livna-release-8-1 is already installed
    [Duncan@localhost ~]$ sudo yum install vlc
    Setting up Install Process
    Parsing package install arguments
    Package vlc - 0.8.6i-1.lvn8.i386 is already installed.
    Nothing to do
    [Duncan@localhost ~]$
     
    Duncan_Rowland, Nov 7, 2008
    #6
  7. emtee

    emtee

    Joined:
    Nov 7, 2008
    Messages:
    9
    Likes Received:
    0
    Yep, tried it both ways, su and sudo - still nothing
     
    emtee, Nov 7, 2008
    #7
  8. emtee

    Duncan_Rowland

    Joined:
    Aug 25, 2008
    Messages:
    246
    Likes Received:
    0
    Hmm... can you
    0) reboot
    1) Make sure you are connected to the internet (I guess you are to be posting here!)
    2) Enter the commands and then copy and paste the results here exactly like I did
     
    Duncan_Rowland, Nov 7, 2008
    #8
  9. emtee

    emtee

    Joined:
    Nov 7, 2008
    Messages:
    9
    Likes Received:
    0
    emtee, Nov 7, 2008
    #9
  10. emtee

    Duncan_Rowland

    Joined:
    Aug 25, 2008
    Messages:
    246
    Likes Received:
    0
    OK, well if there's no command prompt, then it means that the rpm command is still running.
    You will need for it to finish before you type anything else.
     
    Duncan_Rowland, Nov 7, 2008
    #10
  11. emtee

    emtee

    Joined:
    Nov 7, 2008
    Messages:
    9
    Likes Received:
    0
    Ok, thanks. I've left it 10 minutes without anything happening but I'll try again and leave it longer.
     
    emtee, Nov 7, 2008
    #11
  12. emtee

    Duncan_Rowland

    Joined:
    Aug 25, 2008
    Messages:
    246
    Likes Received:
    0
    It's pretty small, so shouldn't take long to download. Not sure why there's a delay...
    You could try getting it manually with
    $ wget http://rpm.livna.org/livna-release-8.rpm
    will download the file livna-release-8.rpm, you can then install it with
    $ sudo rpm -i livna-release-8.rpm
     
    Duncan_Rowland, Nov 7, 2008
    #12
  13. emtee

    emtee

    Joined:
    Nov 7, 2008
    Messages:
    9
    Likes Received:
    0
    Just tried this and here's as far as it gets -

    [user@localhost ~]$ wget http://rpm.livna.org/livna-release-8.rpm
    --23:42:01-- http://rpm.livna.org/livna-release-8.rpm
    => `livna-release-8.rpm'
    Resolving rpm.livna.org... 193.28.235.40
    Connecting to rpm.livna.org|193.28.235.40|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 9,222 (9.0K) [application/x-rpm]

    100%[====================================>] 9,222 --.--K/s

    23:42:01 (199.29 KB/s) - `livna-release-8.rpm' saved [9222/9222]

    [user@localhost ~]$ swget http://rpm.livna.org/livna-release-8.rpm
    bash: swget: command not found
    [user@localhost ~]$ sudo rpm -i livna-release-8.rpm


    and then again nothing happening.
     
    emtee, Nov 7, 2008
    #13
  14. emtee

    Duncan_Rowland

    Joined:
    Aug 25, 2008
    Messages:
    246
    Likes Received:
    0
    wget, not swget
     
    Duncan_Rowland, Nov 7, 2008
    #14
  15. emtee

    emtee

    Joined:
    Nov 7, 2008
    Messages:
    9
    Likes Received:
    0
    ha ha, yes that was me just accidentally cutting and pasting - can't get used to this little keyboard and trakpad. but if you look at the line below it looks as if it;s the rpm command that's just not working?
     
    emtee, Nov 7, 2008
    #15
  16. emtee

    Duncan_Rowland

    Joined:
    Aug 25, 2008
    Messages:
    246
    Likes Received:
    0
    Yes, it could be that your rpm database has got mangled... You could try this (be sure not to mistype! ;)
    $ sudo rm /var/lib/rpm/__*
    $ sudo rpm --rebuilddb
    and then wait - it will take a few minutes. Then when the command prompt returns, try
    $ sudo rpm -i livna-release-8.rpm
    Got to go, but hopefully that will fix it. Laters.
     
    Duncan_Rowland, Nov 7, 2008
    #16
  17. emtee

    emtee

    Joined:
    Nov 7, 2008
    Messages:
    9
    Likes Received:
    0
    Wow, think you've cracked it! Thanks :mrgreen:
     
    emtee, Nov 8, 2008
    #17
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.