Find the answer to your Linux question:
Results 1 to 5 of 5
i configured yum to use a proxy (/etc/yum.conf , /etc/profile , KDE proxy settings) and that works great my problem is how do i do the same for rpm ?? ...
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    18

    Exclamation rpm problem

    i configured yum to use a proxy (/etc/yum.conf , /etc/profile , KDE proxy settings)
    and that works great

    my problem is how do i do the same for rpm ??

    now i already have all of RPMFusion rpos installed
    lucky from rpmfusion.org

    but when i tried this using rpm
    sudo rpm -ivh .....rpmfusion..../free/fedora/rpmfusion-free-release-stable.noarch.rpm

    (the ... are because i'm not allowed to post URL's untill after 15 post)

    i get this error
    ..... free/fedora/rpmfusion-free-release-stable.noarch.rpm
    Retrieving .....rpmfusion...../free/fedora/rpmfusion-free-release-stable.noarch.rpm
    curl: (52) Empty reply from server
    error: skipping .......rpmfusion....../free/fedora/rpmfusion-free-release-stable.noarch.rpm - transfer failed

    so, how do i setup rpm to use a proxy like i've done for yum??

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    download the file, and run rpm -ivh against a local copy.
    so if you downloaded it to the default directory on most distros

    /home/user/Downloads/rpmfusion.xx.xx.xxx.rpm
    run

    rpm -ivh /home/user/Downloads/rpmfusion*.rpm
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  3. #3
    Just Joined!
    Join Date
    Feb 2010
    Posts
    18
    it works when i've already downloaded it using Firefox
    but i still get an error when tring to use rpm to download it.
    curl: (52) Empty reply from server

    i need to know how to setup rpm to use a proxy
    like i did with yum??

  4. #4
    Just Joined!
    Join Date
    Feb 2010
    Posts
    18
    i updated curl as well as rpm and i still get the same error.

  5. #5
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    why do you need to make proxy work with RPM? You've already got it installed by doing it locally haven't you?

    If you ABSOLUTELY HAVE to, look at the RPM man page. search for proxy.

    $ man rpm
    /proxy

    running /anything in the manpages will search for that string.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

Posting Permissions

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