SLED 10: rpm --install beind a proxy - Suse

This is a discussion on SLED 10: rpm --install beind a proxy - Suse ; I just gave up on Ubuntu and I'm trying to setup SLED 10. [mostly due to the hostile attitude of the development community] I'm having a minor issue with importing a repository. I have an HTTP proxy on my network ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: SLED 10: rpm --install beind a proxy

  1. SLED 10: rpm --install beind a proxy

    I just gave up on Ubuntu and I'm trying to setup SLED 10.
    [mostly due to the hostile attitude of the development community]
    I'm having a minor issue with importing a repository.
    I have an HTTP proxy on my network and have setup and tested this
    using Yast.
    The test succeeded and it indicated that command line utilities
    like wget would now use the proxy.

    I can't get rpm --install to work, however.

    Here's an example:
    rpm --import http://packman.unixheads.com/suse/10...y-1abd1afb.asc
    error: http://packman.unixheads.com/suse/10...-1abd1afb.asc:
    import read failed(-1).

    Examining the logs on my firewall I can see that the proxy is not
    being used. I can see the packets being blocked outbound using port
    80.

    The wget command line does indeed work:
    wget http://download.videolan.org/pub/vlc...repomd.xml.key
    Connecting to 10.1.1.2:8080... connected.
    Proxy request sent, awaiting response... 200 OK
    Length: 2,856 (2.8K) [application/pgp-keys]
    100%[====================================>] 2,856 --.--
    K/s
    15:37:19 (2.92 MB/s) - `repomd.xml.key' saved [2856/2856]

    Is there something I can do to get rpm to work with the proxy or
    should I use wget as a workaround?

    Thanks


  2. Re: SLED 10: rpm --install beind a proxy

    On Sat, 12 Jan 2008, Dougga wrote:-

    > The test succeeded and it indicated that command line utilities
    >like wget would now use the proxy.




    >Is there something I can do to get rpm to work with the proxy or
    >should I use wget as a workaround?


    Use man rpm. Scroll down almost to the end and then pay particular
    attention to both the --httpproxy and --httpport options.


    Regards,
    David Bolt

    --
    www.davjam.org/lifetype/ www.distributed.net: OGR@100Mnodes, RC5-72@15Mkeys
    SUSE 10.1 32bit | openSUSE 10.2 32bit | openSUSE 10.3 32bit | openSUSE 11.0a0
    SUSE 10.1 64bit | openSUSE 10.2 64bit | openSUSE 10.3 64bit
    RISC OS 3.6 | TOS 4.02 | openSUSE 10.3 PPC |RISC OS 3.11

  3. Re: SLED 10: rpm --install beind a proxy

    On Jan 12, 5:34 pm, David Bolt wrote:
    > On Sat, 12 Jan 2008, Dougga wrote:-
    > > The test succeeded and it indicated that command line utilities
    > >like wget would now use the proxy.

    >
    >
    >
    > >Is there something I can do to get rpm to work with the proxy or
    > >should I use wget as a workaround?

    >
    > Use man rpm. Scroll down almost to the end and then pay particular
    > attention to both the --httpproxy and --httpport options.
    >
    > Regards,
    > David Bolt
    >
    > --www.davjam.org/lifetype/ www.distributed.net:OGR@100Mnodes, RC5-72@15Mkeys
    > SUSE 10.1 32bit | openSUSE 10.2 32bit | openSUSE 10.3 32bit | openSUSE 11.0a0
    > SUSE 10.1 64bit | openSUSE 10.2 64bit | openSUSE 10.3 64bit
    > RISC OS 3.6 | TOS 4.02 | openSUSE 10.3 PPC |RISC OS 3.11


    Thanks David

+ Reply to Thread