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

Re: apt-get update from cron?



On Sun, Jan 21, 2001 at 11:30:13PM -0500, David B. Harris wrote:

:Now, for the bulk of your workstations, I'd make their sources.list
:contain only one line; the line pointing to your own server. On that
:server, you'd have a repository(complete with Packages.gz and friends)
:which would have the packages you know are good. I don't know how to
:make such a repository, but I'm sure the tools are around. Packages[.gz]
:has to be generated somehow ;)

There is an easy way to make a Packages.gz file, I just for get what
it is :)

This approach has a certain elegance, however it's a bit too BOFH to
fly around here, unless I check *every* .deb in existance it is very
restrictive in what users can install, and around here users can
install whatever they want (well nearly DDoS tools are frowned upon).

The apt-get -o line joey suggested is probably my best bet.  Though
I'll need to consider the network traffic implications, because I
think I'd need to an "update" with the -o then the "upgrade" with the
-o, then a normal "update" to set things back right. 

I already have the http_proxy stuff setup, but I think there's a
no-cache pragma or some such on the Packages file, if not I may be
able to stagger the hits to the proxy so that my net will be ok.

Well dpkg is looking better now.

Ugh, guess I'll just need to thrash about with it a bit more.

-Jon



Reply to: