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

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



Package: apt
Version: 0.1.9
Severity: wishlist

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.

It could perhaps also say where it would get a package from
(which source), although I wouldn't personally find that fantastically
useful; it's just something I thought of whilst looking at the 
difference between --no-act and normal output.

Example apt output, with and without --no-act:

zircon# apt-get --no-act install file      
Updating package status cache...done
Checking system integrity...ok
1 packages upgraded, 0 newly installed, 0 to remove and 85 not upgraded.
Inst file
Conf file

zircon# apt-get install file
Updating package status cache...done
Checking system integrity...ok
1 packages upgraded, 0 newly installed, 0 to remove and 85 not upgraded.
Need to get 78.6k of archives. After unpacking 16.0k will be used.
Get ftp://ftp.demon.net frozen/main file [78.6k]
Fetched 78.6k in 44s (1785b/s)                                                 
(Reading database ... 20341 files and directories currently installed.)
Preparing to replace file 3.24-4 (using file_3.26-1.deb) ...
Unpacking replacement file ...
Setting up file (3.26-1) ...


Peter Maydell


Reply to: