Re: /var/lib/dpkg/available a day behind apt
On Mon, Aug 18, 2003 at 02:48:58PM +0000, Lou Losee wrote:
> I have seen you 'suggest' this a couple of times now. Would you give a
> reference to something that explains why? Thanks.
No reference really, but I can explain it to you right now: 'dselect
update' runs 'apt-get update' and then updates /var/lib/dpkg/available,
which keeps dpkg's idea of available packages up to date for things like
'dpkg --print-avail'. It's clearly a superset of what 'apt-get update'
does so there's every reason to use it instead.
See /usr/lib/dpkg/methods/apt/update, which implements 'dselect update'
for the apt access method.
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: