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

apt.conf.d actions

I've posted this 10 days ago on deity, but got no reply, so I'm trying here...

NB: just to make my self clear, I want to download a sources.list-like file
from a server every time just before 'apt-get update' is run. I hope this is


----- Forwarded message from admar -----

Date: Sun, 2 Sep 2001 13:16:55 +0200
Subject: apt.conf.d actions
To: deity@lists.debian.org

Where can I get information about the possible "actions" which can be specified
in /etc/apt/apt.conf.d/ ?

I'm asking this, since I've written a small program which generates a
sources.list.example which contains all distributions of the partial debian
mirror on a machine (azrael); Now I'm looking for a way to automatically
download that sources.list.example on a client every time apt-get update is
run on that client. Is something like putting
APT::Pre-Update {"/usr/local/sbin/getsources.list ftp://azrael/debian";};
in /etc/apt/apt.conf.d/60getsources.list possible?

Kind regards,

Admar Schoonen

----- End forwarded message -----

Reply to: