Re: Problems with apt

Panu Matilainen <[email protected]> Thu, 31 Mar 2005 23:41:49 +0300
Newsgroups gmane.linux.conectiva.apt-rpm
Message-ID <[email protected]>
On Thu, 2005-03-31 at 20:38 +0200, Richard Bos wrote:
> Op donderdag 31 maart 2005 20:02, schreef Horst Graffy:
> > this means your list of packages is to large (1244 to upgrade).
> >
> > split your upgrade into smaller pieces:
> > apt install <partly list of packages>
> > the number of packages should be smaller than 900.
> >
> > A lot of people reported this problem and splitting in several calls to
> > apt install <list> fixed it ..
> >
> > Toni
> 
> That is possible indeed, but.... it would be much better if an apt-rpm 
> developer would jump in now, and use this oppertunity to debug this problem.
> Hopefully the root cause can be found....

"Smaller than 900" sounds like overflow of a hard limit somewhere but I
don't see anything obvious from a quick check and I don't remember
seeing this myself no matter how big the upgrade was (but then I'm not
sure if I've actually done an upgrade with over 1000 packages ever). I'm
not really familiar with the fetcher method code but getting a core dump
and a backtrace from it might help ... (live gdb backtrace would be just
as well but I don't think you can easily attach to the forked process
from gdb before it dies).

Also you can always try running with "-o debug::acquire::ftp=1" (which
IIRC will produce a LOT of junk :) and see if there's any suspicious
looking stuff in there.

	- Panu -