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

Re: Writing a Spacewalk plugin for Apt-Get

On Thu, Feb 17, 2011 at 04:45:08PM +0100, Šimon Lukašík wrote:
> APT::Update::Pre-Invoke cannot be used.
> This hook is called before the update action, but after the sources.list
> is processed. This would only force people to run `apt-get update` twice
> in row. So this solution would not work smooth with other programs using
> libapt.

This could be fixed in the code by moving the sources.list reading
after the hook. I don't know enough about your project to know if that
is helpful or not, just wanted to mention it.


Reply to: