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

Re: Bug#185424: base-config: Should display progress bar while installing packages



On Mon, Jun 06, 2005 at 07:24:51PM +0200, Michael Vogt wrote:
> I put some code into apt that should make it possible to get usefull
> install progress reports. It's in
> michael.vogt@ubuntu.com--2005/apt--progress-reporting--0  [1]
> 
> If the apt options: "APT::Status-Fd" is set, apt will send status
> reports to that fd. The status fd reports have the following format:
> 
> status:pkgname:TotalPercentage:action-description

I've tested this (with the accompanying one-line patch to aptitude where
it calls DoInstall()), and after a conversation with Michael in which we
fixed up some minor issues it now works fine. Having it in mainline apt
soon would be fantastic.

I then intend to use the debconf passthrough frontend so that I can have
a frontend displaying the progress bar but also display any debconf
questions asked by packages. This should incidentally allow both
base-config/lib/menu/pkgsel and tasksel to be substantially simplified.

We need to implement support in debconf for being a passthrough UI
agent. Oops. Fortunately this shouldn't take too long.

Cheers,

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: