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

Re: Bug#244563: Please make "Installing base packages" progress more granual



On Thu, Oct 07, 2004 at 05:58:32PM +0100, Colin Watson wrote:
> On Tue, Apr 20, 2004 at 09:47:41PM +1000, Anthony Towns wrote:
> > On Mon, Apr 19, 2004 at 12:15:16AM +0100, Martin Michlmayr wrote:
> > > I'm surprised that no bug has been filed about this already.  In
> > > debian-installer, it stays for minutes (on a slow machine) at 70%
> > > "Installing base packages..."  When it verifies and unpacks packages,
> > > it gives good progres, but not when installin the base packages.
> > > Please show which packages are being installed.
> > 
> > I'm not sure this is possible without better support in dpkg for progress
> > bars. Maybe --status-fd could somehow be used, but I don't think I see
> > how -- there's no way to tell what percentage you're at 'til you're
> > finished I think.
> > 
> > So I don't think it's possible to get this info from dpkg. If I'm wrong,
> > prove it, and it'll get implemented. :)
> 
> Here's the patch we used to implement this in Ubuntu. The file
> descriptor handling is a bit messy as far as the script API goes; each
> script has to know to use fds 7 and 8. Apart from that, it works well.
> 
> This might not want to get applied before sarge - or at least would
> require careful coordination - since it introduces new waypoints and so
> requires a base-installer change too.
> 
> Sorry for the delay in sending this on.
> 
>   http://patches.ubuntulinux.org/patches/debootstrap.244563.diff

I've modified base-installer now to be able to cope with both the
existing debootstrap --debian-installer output and that produced by this
patch. Perhaps this could be part of the upload introducing etch?

Cheers,

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: