Bug#260825: patch for apt bug #260825
tag 260825 patch
thanks
this bug has annoyed me for a while, so i decided to fix it.
attached is a patch to cmdline/apt-get.cc. it consists of very minor
alterations to 3 lines of the code.
mike
--- cmdline/apt-get.cc.old 2007-08-22 21:26:45.000000000 -0400
+++ cmdline/apt-get.cc 2007-08-22 21:26:26.000000000 -0400
@@ -835,16 +835,16 @@
if (DebBytes != FetchBytes)
ioprintf(c1out,_("Need to get %sB/%sB of archives.\n"),
SizeToStr(FetchBytes).c_str(),SizeToStr(DebBytes).c_str());
- else
+ else if (DebBytes != 0)
ioprintf(c1out,_("Need to get %sB of archives.\n"),
SizeToStr(DebBytes).c_str());
// Size delta
if (Cache->UsrSize() >= 0)
- ioprintf(c1out,_("After unpacking %sB of additional disk space will be used.\n"),
+ ioprintf(c1out,_("After this operation %sB of additional disk space will be used.\n"),
SizeToStr(Cache->UsrSize()).c_str());
else
- ioprintf(c1out,_("After unpacking %sB disk space will be freed.\n"),
+ ioprintf(c1out,_("After this operation %sB disk space will be freed.\n"),
SizeToStr(-1*Cache->UsrSize()).c_str());
if (_error->PendingError() == true)
Reply to: