how to install new app

Discussion in 'Acer Aspire One' started by costbee, Jul 18, 2008.

  1. costbee

    joji

    Joined:
    Oct 13, 2008
    Messages:
    8
    Likes Received:
    0
    Agree on comments about sudo and use of superuser. But that is maybe not the point ... Question is : how to install new applications, such as gcc / g++

    QUOTE
    Connection refused
    Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirror ... &arch=i386 error was
    [Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
    UNQUOTE

    Get same errormessage. Any hint?

    Thank you
     
    joji, Oct 13, 2008
    #21
  2. costbee

    rbil

    Joined:
    Aug 14, 2008
    Messages:
    730
    Likes Received:
    0
    Location:
    The Wet Coast, Canada
    Post the contents of your /etc/yum.repos.d/fedora.repo

    And also provide the results of this command:

    cat /etc/redhat-release

    Cheers.
     
    rbil, Oct 13, 2008
    #22
  3. costbee

    joji

    Joined:
    Oct 13, 2008
    Messages:
    8
    Likes Received:
    0
    :
    Thank you for kind reaction.

    Here is the info you are asking for:
    cat /etc/yum.repos.d/fedora.repo

    [fedora]
    name=Fedora $releasever - $basearch
    failovermethod=priority
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

    [fedora-debuginfo]
    name=Fedora $releasever - $basearch - Debug
    failovermethod=priority
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-$releasever&arch=$basearch
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

    [fedora-source]
    name=Fedora $releasever - Source
    failovermethod=priority
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

    ===

    cat /etc/redhat-release

    Fedora release 8 (Werewolf)

    ==

    Thank you for any help.
     
    joji, Oct 13, 2008
    #23
  4. costbee

    rbil

    Joined:
    Aug 14, 2008
    Messages:
    730
    Likes Received:
    0
    Location:
    The Wet Coast, Canada
    Have you tried ...

    sudo yum update fedora-release

    If not, try that and see if it straightens things out for you. What you've presented above looks OK, so I'm not sure what is screwed up.

    Some other possible steps ...

    Does the following contain a list of mirrors?

    cat /var/cache/yum/fedora/mirrorlist.txt

    Problem?

    Then you can try cleaning it all out and trying the fedora-release at the top again ...

    sudo yum clean all

    See man page for yum ...

    http://linux.die.net/man/8/yum

    Cheers.
     
    rbil, Oct 13, 2008
    #24
  5. costbee

    joji

    Joined:
    Oct 13, 2008
    Messages:
    8
    Likes Received:
    0
    Thank you very much!

    'sudo yum update fedora-release' gives the same error : "[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again"

    Maybe the problem is that list of mirrors. There is no '/var/cache/yum/fedora/mirrorlist.txt'. Moreover the /var/cache/yum/fedora-directory contains only one other directory 'packages' which is empty.

    Any help is greatly appreciated.

    Regards.
     
    joji, Oct 13, 2008
    #25
  6. costbee

    rbil

    Joined:
    Aug 14, 2008
    Messages:
    730
    Likes Received:
    0
    Location:
    The Wet Coast, Canada
    ok, then do as I suggested. do the clean all and then the fedora-release. that should fix things.

    Cheers.
     
    rbil, Oct 13, 2008
    #26
  7. costbee

    joji

    Joined:
    Oct 13, 2008
    Messages:
    8
    Likes Received:
    0
    Thanking you for advice.

    Get again the same error message.

    Could there be any link with my internet connection? <urlopen error (110, 'Connection timed out')>. Where is that time-out coming from?

    Regards
     
    joji, Oct 13, 2008
    #27
  8. costbee

    rbil

    Joined:
    Aug 14, 2008
    Messages:
    730
    Likes Received:
    0
    Location:
    The Wet Coast, Canada
    Can you connect with Firefox? If yes, then it could be the fedora server is busy or having probs. Try again later.

    Cheers.
     
    rbil, Oct 13, 2008
    #28
  9. costbee

    joji

    Joined:
    Oct 13, 2008
    Messages:
    8
    Likes Received:
    0
    Yes. I can connect with Firefox.provided by Linpus.

    Prefer Opera because it is - in my opinion - smaller and faster. And have installed the latest version.

    Wonder what the link is between 'yum' and the browser?

    Regards,
     
    joji, Oct 13, 2008
    #29
  10. costbee

    rbil

    Joined:
    Aug 14, 2008
    Messages:
    730
    Likes Received:
    0
    Location:
    The Wet Coast, Canada
    No link between a browser and yum. Just wanted to know if you had an internet connection.

    Cheers.
     
    rbil, Oct 14, 2008
    #30
  11. costbee

    PsychoHoseBeast

    Joined:
    Sep 22, 2008
    Messages:
    3
    Likes Received:
    0
    Possibly a red herring, but I get that error when I try to install software on my Aspire One on my work network... it works fine at home however.

    I wonder whether you may have a router/firewall issue of some kind?
     
    PsychoHoseBeast, Oct 14, 2008
    #31
  12. costbee

    doct_nom

    Joined:
    Sep 12, 2008
    Messages:
    3
    Likes Received:
    0
    go to xfce menu>system>add/remove software>insert password>edit>repositories>clear all checks box except fedora and livna box

    then open terminal

    $su -
    #yum clean all

    then install yumex

    #yum install yumex

    yumex is yum gui manager, you can acces it from xfce menu>system>yum extender

    I hope it'll work..and sorry for my bad bad english..
     
    doct_nom, Oct 14, 2008
    #32
  13. costbee

    doct_nom

    Joined:
    Sep 12, 2008
    Messages:
    3
    Likes Received:
    0
    if you want install windows app (.exe) under linpus you can use wine

    $su -
    #yum install wine -y

    after installation complete go to xfce menu>other>wine file . then choose the .exe file to install that aplication..now you can run windows software such as winamp and many other app.. on your aao.. it's very cool huh?! still bad in my english..hehehe..
     
    doct_nom, Oct 14, 2008
    #33
  14. costbee

    gnash

    Joined:
    Dec 3, 2008
    Messages:
    11
    Likes Received:
    0
    I'm at my wits end trying all sorts of editing of the repo files to try and get yum to get to the repomd.xml of the fedora/livna/rpmfusion repository servers.
    sudo yum clean all doesn't work and the package manager is just throwing the same messages as Yum(kinda fitting as it's just a gui frontend to yum).
    It looks like yum can't get to that crucial file on the servers(even though you can download the rpms separately) so it must be something wrong with the factory settings on the Aspire One Linpus or the servers which holds the repositories.
    It's a shame as I really want to install Abiword and Lyx onto my netbook as most of my reports are done in Tex and Abiword is so much quicker than Openoffice for jotting down notes, the fact that they optimised the OS so that it boots up in record time and make everything else work makes me very reluctant to put another distro onto it.
     
    gnash, Dec 3, 2008
    #34
  15. costbee

    gnash

    Joined:
    Dec 3, 2008
    Messages:
    11
    Likes Received:
    0
    SOLVED!!
    I believe this is a problem with people who use the G604T router to get onto the internet. Trying to port forward the ports that Yum uses works but is somewhat hard to do and unreliable in my case. So I got sneaky and got onto next door neighbour's wireless which was just a normal D-Link one(Linux is much better than Windows at sniffing out other people's network :cool: ). Once connected yum works like a charm and now i'm installing Lyx!!! Woot.

    I'll try and fix up on my own router later and will post them here for anyone who's one a G604T router.
     
    gnash, Dec 4, 2008
    #35
  16. costbee

    gnash

    Joined:
    Dec 3, 2008
    Messages:
    11
    Likes Received:
    0
    Sorry for triple post but it's worked finally!! Those who still have this problem with the repomd.xml file should try to open up ports 21 and 80 on their router. This should allow yum to access Fedora's repositories which should allow you to install new programs. I'm so happy after 2 days of frustration trying to figure it out. At least from all this I've learnt how the .repo files work :lol:

    For those who want to know how to open up those ports on their router:
    http://www.portforward.com/english/rout ... rindex.htm
     
    gnash, Dec 4, 2008
    #36
  17. costbee

    tony netbook

    Joined:
    Dec 13, 2008
    Messages:
    2
    Likes Received:
    0
    It is very easy to do this with Su , but also there is an another way
     
    tony netbook, Dec 13, 2008
    #37
  18. costbee

    hx44

    Joined:
    Apr 8, 2009
    Messages:
    1
    Likes Received:
    0
    hx44, Apr 8, 2009
    #38
  19. costbee

    aldrinmirambel

    Joined:
    Apr 29, 2009
    Messages:
    3
    Likes Received:
    0
    aldrinmirambel, Apr 29, 2009
    #39
  20. costbee

    pling

    Joined:
    Apr 19, 2009
    Messages:
    94
    Likes Received:
    0
    I don't. And it warned me anyway.
     
    pling, May 2, 2009
    #40
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.