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

Bug#207431: post-update hook



Adam Heath wrote:
> 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
> 
> Note, it doesn't dump straight to dpkg's available file.  It uses an
> intermediate file, and then tells dpkg to update /var/lib/dpkg/available with
> that.

It was a simplification for purposes of clarity.

> dpkg itself will no longer be concerned with the list of available package
> versions.  It'll only be concerned with the status of installed packages.
> 
> dselect, however, will need this information.  How apt will update that is
> still unknown.

Well this seems like a reasonable way to do it.

-- 
see shy jo

Attachment: pgpwC7dqiTXSu.pgp
Description: PGP signature


Reply to: