Re: reuse apt-get cache
Hi, my neibour :-)
On Tue, Sep 23, 2003 at 06:02:08PM +0000, Benedict Verheyen wrote:
> i have a server and it has a quite extensive sources.list. Now i would
> like to make a cron job that does "apt-get update" every so often and
> then use that cache for my connected client so i don't have to download
> the packages list again and thus use unnecessary bandwidth.
1) Why do "apt-get update", do "apt-get update; apt-get -d upgrade"
2) web cache ==> use squid
3) Always install not by CRON.
But why have quite extensive sources.list for server. You should be
running STABLE ! for server.
> Ideally this would mean removing the entries in my local clients
> sourceslist and have just 1 entry that points to my server's cached
> packages list.
> Is this possible and how can i do that?
What? Sounds complicated. I thiught apt do not check unchenged files.
> In the future i plan to make packages of my own scripts. Can i combine
> those? I mean putting my packages in the cache of packages on the server
> and thus also have them available for the pc's connected to my LAN?
You can do this in many ways. But I found running squid to be most
simple and flexible.
I am thinking other ways for different reason...