Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have made a local apt repository, but my IT-department caches LAN traffic on the proxy server. Is there a way I could work around this to disable the proxy settings for this local apt repository? in apt.conf or simular?

share|improve this question
add comment

1 Answer

Just declare in a /etc/apt/apt.conf.d/99proxy file something like this :

Acquire::http::Proxy {
    your.local.first.repository DIRECT;
    your.second.first.repository DIRECT;
};

DIRECT tells apt to use a direct connection to connect to the repository.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.