Dumb Apt-cacher usage

08 May 2008
Posted by bain

I am so dumb :D

When we setup apt-cacher in office, I switched my laptop sources.list to point to the cacher.
It worked perfectly fine. Until one day I tried to install something from home. Ofcourse it couldn't find the cacher server in my office.

But then what I did and kept doing for last one and half _years_ is that I created separate sources.list.home for home use... and kept manually switching between them by hand copying. And ofcourse every time I made the switch I had to do a lengthy fresh apt-get update (dumb dumb dumb.......)

Little did I know that all I had to do is append real repos at the bottom of the sources.list and apt will automatically fall back to it when the cacher one is not available.........

Sometimes i am just too afraid of the technology to trust that it will do the RightThing,(TM), probably remains from the windows era.....

 

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters (without spaces) shown in the image.