Bug#586434: Let's clean the apt cache
On Sunday 20 June 2010, Petter Reinholdtsen wrote:
> >  Checking installation of packages using apt-install is much
> > harder to do as there are many different calls and failure may be
> > expected in some cases. It also gains much less as their total size
> > is much less.
> I believe it would not be very hard. We would have to add code to
> apt-install, and to the udeb handling the queue updated by apt-install
> before base-installer is exeucted. No need to update all those
> calling apt-install for this.
You missed the main point. apt-install can fail without there being an
error (example: package being apt-installed isn't available; this is quite
common). So you cannot test the result.