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.

What do these commands do?

Acquire::http::No-Cache=True -o
Acquire::BrokenProxy=true update
Acquire::http::Max-Age "0"

share|improve this question
add comment

1 Answer

  • The following command, Acquire::http::No-Cache=True -o It adds an No-Cache header to APT http requests.

  • This command Acquire::BrokenProxy=true update Used for fixing your local proxy i guess.

  • This command Acquire::http::Max-Age "0" Maximum time to keep packages around for.

share|improve this answer
    
Thank you very much. Btw, does the first command disable cache forever? What if I install some package through apt after running that command? –  Pawan Neupane Dec 15 '10 at 19:22
    
-1 The Acquire::http::No-Cache=True does not disable apt caching features, it adds an No-Cache header to APT http requests, meaning it will not allow webservers to reply with cached contents (to make sure you don't get a server side cached index file). –  João Pinto Dec 16 '10 at 9:58
    
@JoãoPinto are you sure?? –  karthick87 Dec 16 '10 at 10:00
    
Yes, I wouldn't penalize your answer based on a guess. Check "man apt.conf", search for "http" . –  João Pinto Dec 16 '10 at 10:08
    
Alright Thank you @JoãoPinto i have updated my answer. –  karthick87 Dec 16 '10 at 10:11
show 1 more 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.