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

Bug#212785: base-installer: tries to install queued packages multiple times



Package: base-installer
Version: unavailable; reported 2003-09-26
Severity: normal
Tags: d-i

The fix for #210915 seems to have introduced a new bug. Multiple
packages seem to apt-install discover, which then gets put in the queue
multiple times. Since we do separate installation of every package in
the queue, this means discover is first installed once, then attempted
installed again like five times (which can take _time_ on a slow machine
-- the start-up cost of apt-get install is quite high).

I propose that we do one of the following:

1) "sort | uniq" the queue before we start installing it (not sort -u!
   see bug #167473 :-) ). Is this sane? Do we guarantee anything about
   the installed order of packages that are queued?
2) make apt-install grep for a package when queueing, and not include it
   if it's already there.

If nobody protests, I guess I'll go ahead and make a patch that
implements solution 2 -- I'm a bit busy right now, so I'm adding the bug
entry here so we won't forget about it :-)


-- System Information:
Debian Release: 
Architecture: i386
Kernel: Linux trofast.sesse.net 2.4.22 #7 Fri Sep 5 00:09:43 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=en_US.ISO8859-1




Reply to: