[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: reuse apt-get cache



Benedict Verheyen, Tue, Sep 23, 2003 at 02:00:50PM +0000: 
> Hi,
> 
> 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.
> 
> 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?

apt-cache show apt-proxy

> 
> 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?
> 

Create an archive of your packages with dpkg-scanpackages or
apt-ftparchive and add the archive to the clients sources.list

g



Attachment: pgpoDSyZajATQ.pgp
Description: PGP signature


Reply to: