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

Re: Bug#32883: apt --no-act could be more helpful (print download size)



severity 32883 fixed
done

On Thu, 4 Feb 1999, Peter Maydell wrote:

> apt-get helpfully gives information about how many bytes it needs
> to download. However, apt-get --no-act does not produce this information.
> It would be nice if you still got the 'Need to get 78k of archives'
> message even with --no-act. Then you could use --no-act to see if
> what you were about to do would involve a larger download than you
> expected, rather than having to run apt for real and ctrl-C it
> in mid-operation.

The simulate mode doesn't calculate the required sizes for various reasons
and I'm not sure it should as it involves 'acting' :|

However, the new aptV3-cvs has this:

Wakko{jgg}~#apt-get -o debug::nolocking=true install xbooks --print-uris
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  xbooks 
0 packages upgraded, 1 newly installed, 0 to remove and 17 not upgraded.
Need to get 17.4Mb of archives. After unpacking 18.2Mb will be used.
'http://http.us.debian.org/debian/dists/frozen/main/binary-i386/x11/xbooks_3.3.2.3a-2.deb'
xbooks_3.3.2.3a-2_all.deb 17400584 7381ae8321bd83393d4dd915a929b2af

Which I think is close enough eh? It also has a -u option to show packages
to be upgraded which means -s can actually be used for what it was
intended which is debugging :>

Jason


Reply to: