Originally Posted by
coolen
Ignore the original version of this comment. I didn't see that there was a fourth page *headdesk*
Huh?
Anyway, in response to your first question, I'm not sure why it's expecting inetd to be running. The only thing I can think of is that something in your configuration file is telling it to expect inetd to wake it, although I see nothing there. What's in /etc/default/apt-cacher?
My /etc/default/apt-cacher only has the autostart turned on. The entire file:
Code:
# apt-cacher startup configuration file
# IMPORTANT: check the apt-cacher.conf file before using apt-cacher as daemon.
# set to 1 to start the daemon at boot time
AUTOSTART=1
# extra settings to override the ones in apt-cacher.conf
# EXTRAOPT=" daemon_port=3142 limit=30 "
There is a file, /etc/apt-cacher/apache.conf. I've never touched it and don't know what it's for. What does this do? Here it is:
Code:
Alias /apt-cacher /usr/share/apt-cacher/apt-cacher.pl
<DirectoryMatch /usr/share/apt-cacher/>
Options ExecCGI
AddHandler cgi-script .pl
AllowOverride None
order allow,deny
allow from all
</DirectoryMatch>
In response to your first question, I only directed people to schedule a cache clean on the server since I think the cache is generally a good idea. It's part of the "APT way", I guess you could say. If you take your laptop away from your network, for example, it would be good to have your cache still intact, but the server is unlikely to ever become disconnected from itself, and so will always have access to the server cache. For the sake of space, it's one or the other.
Oh yea, never thought about laptops and machines that might move. Good point. These things of mine tend to sit there until they become "replaceble", get taken apart, sold or become somebody's desktop upgrade and a new one comes it to take it's place.
Anywho... I took the root CRON entries off of ALL the machines. I wanna see if the Synaptic thing does what I think it's telling me it'll do. That would be the simplest for me. I'll keep in mind to not do this for anything portable (The wife's eeePC is still running Xandros and, btw, I guess they don't believe in updates. Bought it in February and only 1 BIOS update has showed up. The BIOS update will not apply anyway Thinking of converting it to Xubuntu).
As for the option in Synaptic, well, I didn't know it existed. I do most of my specific APT work from the command line: I'll use Add/Remove to browse programs available, and Synaptic if I'm looking for specific packages I don't know the name of. Thanks for the tip. I'll add it as soon as I find the configuration file option. I'm getting errors using the method mentioned above.
I didn't know about it until last night.
What "method mentioned above" is giving you errors?
PS: Got me wondering now if this thing could cache and handle Xandros packages also... oh wait, they don't do updates except annually.
Bookmarks