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

Bug#665833: Patch



Thank you for your report and your interest in improving Debian!

Bogdan Purcareata
=== modified file 'cmdline/apt-get.cc'
--- cmdline/apt-get.cc	2011-09-20 12:30:31 +0000
+++ cmdline/apt-get.cc	2012-04-04 21:06:25 +0000
@@ -1773,7 +1773,7 @@
       else
 	 ioprintf(c1out, P_("%lu package was automatically installed and is no longer required.\n",
 	          "%lu packages were automatically installed and are no longer required.\n", autoRemoveCount), autoRemoveCount);
-      c1out << _("Use 'apt-get autoremove' to remove them.") << std::endl;
+      c1out << P_("Use 'apt-get autoremove' to remove it.", "Use 'apt-get autoremove' to remove them.", autoRemoveCount) << std::endl;
    }
    return true;
 }

=== modified file 'debian/changelog'
--- debian/changelog	2012-04-03 19:39:06 +0000
+++ debian/changelog	2012-04-04 21:30:56 +0000
@@ -1,3 +1,12 @@
+apt (0.8.15.11+nmu1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * 'apt-get install' information about 'apt-get autoremove' is now
+    distinguished based on the number of auto-installed packages, both
+    before, and after the list of packages. Closes #665833.
+
+ -- Bogdan Purcareata <bogdan.purcareata@gmail.com>  Wed, 04 Apr 2012 21:27:56 +0000
+
 apt (0.8.15.11) UNRELEASED; urgency=low
 
   * Fix typo in apt-get(8). Closes: #664833

=== modified file 'test/integration/test-bug-604222-new-and-autoremove'
--- test/integration/test-bug-604222-new-and-autoremove	2011-02-15 15:04:46 +0000
+++ test/integration/test-bug-604222-new-and-autoremove	2012-04-04 21:18:02 +0000
@@ -16,7 +16,7 @@
 Reading state information...
 The following package was automatically installed and is no longer required:
   libvtk5.4
-Use 'apt-get autoremove' to remove them.
+Use 'apt-get autoremove' to remove it.
 The following NEW packages will be installed:
   libavcodec52
 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
@@ -28,7 +28,7 @@
 Reading state information...
 The following package was automatically installed and is no longer required:
   libvtk5.4
-Use 'apt-get autoremove' to remove them.
+Use 'apt-get autoremove' to remove it.
 The following extra packages will be installed:
   libavcodec52 libopenal-dev libvtk5.4
 The following NEW packages will be installed:

Reply to: