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

Bug#207431: post-update hook



On Tue, 26 Aug 2003, Joey Hess wrote:

> Probably the best way to fix tasksel's bug #114721 (which our users
> stumble over again and again), as well as to remove a common FAQ would
> be for apt to get a post-update hook. Then dpkg or something else could
> drop a file into apt.conf.d to apt-cache dumpavail > /var/lib/dpkg/available

This is not the right solution to the available file problem.

Since the policy engine was added the available file is fully dynamic and
is based on all sorts of user configurable things. If you want accurate
information then you must run a program to get it. Due to this is not a
good idea to make more things rely on the file.

The best thing is to add a file to the dselect method directory like
'get-avail' that dselect and others can call to get the available file.

Jason




Reply to: