Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Exclamation configuring proxy for Synaptic Package Manager in UBUNTU


    I recently installed ubuntu 5.10 on my box. Now I am trying to install some packages using Synaptic Package Manager. I want to use a proxy connection to speed up the download, but the problem is that my proxy server requires authentication (username and password).
    I tried to use the Network Proxy Method, but it failed. And there is no option in Synaptic where I can provide username and password. What should I do?
    Thanks for any help in advance
    "There is no sixth rule"
    --Rob Pike
    Registered Linux User: 400426 home page

  2. #2
    Just Joined! tb10alj's Avatar
    Join Date
    Feb 2006
    Location
    Germany
    Posts
    31
    Hi,

    You have to configure apt correctly.
    Add the following lines to your /etc/apt/apt.conf

    Code:
    Acquire::http::Proxy "http://username:password@proxy:port";
    Acquire::ftp::Proxy "ftp://username:password@proxy:port";
    regards,
    JAN

Posting Permissions

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