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

Bug#135021: apt: improve slightly confusing message



Package: apt
Version: 0.5.4
Severity: wishlist
Tags: patch

Some people mentioned the `After unpacking xxxB wil be used' message
is slightly clear since it does not mention that this is extra diskspace
on top of the already installed packages. This patch (against current CVS)
states that explicitly to avoid that confusion.

I split the line in two since otherwise the line could be wider then
80 characters.

Wichert.

--- apt-get.cc	Thu Feb 21 12:36:06 2002
+++ apt-get.cc.new	Thu Feb 21 12:48:00 2002
@@ -703,18 +703,18 @@
    
    // Number of bytes
    if (DebBytes != FetchBytes)
-      ioprintf(c1out,_("Need to get %sB/%sB of archives. "),
+      ioprintf(c1out,_("Need to get %sB/%sB of archives.\n"),
 	       SizeToStr(FetchBytes).c_str(),SizeToStr(DebBytes).c_str());
    else
-      ioprintf(c1out,_("Need to get %sB of archives. "),
+      ioprintf(c1out,_("Need to get %sB of archives.\n"),
 	       SizeToStr(DebBytes).c_str());
 
    // Size delta
    if (Cache->UsrSize() >= 0)
-      ioprintf(c1out,_("After unpacking %sB will be used.\n"),
+      ioprintf(c1out,_("After unpacking %sB of additional diskpace will be used.\n"),
 	       SizeToStr(Cache->UsrSize()).c_str());
    else
-      ioprintf(c1out,_("After unpacking %sB will be freed.\n"),
+      ioprintf(c1out,_("After unpacking %sB diskspace will be freed.\n"),
 	       SizeToStr(-1*Cache->UsrSize()).c_str());
 
    if (_error->PendingError() == true)

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux thunder 2.4.17+freeswan194 #1 Sat Jan 12 01:47:59 CET 2002 i686
Locale: LANG=en_GB, LC_CTYPE=en_GB

Versions of packages apt depends on:
ii  libc6                         2.2.5-3    GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2        1:2.95.4-1 The GNU stdc++ library




Reply to: