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

Re: standard apt/yum meta-data format



On Fri, Jul 02, 2004 at 09:26:31AM -0700, Matt Zimmerman wrote:

> > The one thing I would wish is apt/dpkg using an index on the Packages
> > files. Using apt-get update/upgrade on slow machines is very painful when
> > the sources.list contains stable+testing+unstable.
> 
> dpkg doesn't touch the Packages files, and apt _does_ use indexes.
> If your system is resource-starved, feed it fewer packages.

The slowdown is probably caused by not having enough memory. It's not
apt but dpkg that's horribly slow when you have 64 MB or less. See bug
#245970. Telling people that they should feed their system fewer
packages is just crap. Dpkg should work in O(1) time (or O(log(N)),
that's good enough too) per package, not in O(N) time where N is the
total number of packages on your system.

-- 
Met vriendelijke groet / with kind regards,
    Guus Sliepen <guus@sliepen.eu.org>

Attachment: signature.asc
Description: Digital signature


Reply to: