Package: release-notes
Severity: normal
Tags: patch

The buster release notes should provide more specifics when it comes
to removing obsolete packages.

The following patch makes 2 changes.

It recommends removing packages that are obsolete in stretch before
beginning the upgrade to buster.

It provides commands, instead of vague TUI recommendations, describing
how to remove obsolete packages.


-- System Information:
Debian Release: 9.9
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-9-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff --git a/en/upgrading.dbk b/en/upgrading.dbk
index 30e138ab..90e4d189 100644
--- a/en/upgrading.dbk
+++ b/en/upgrading.dbk
@@ -309,6 +309,11 @@ $ apt-forktracer | sort
     <xref linkend="old-sources"/>.
+  <para>
+    It is a good idea to <link linkend="obsolete">remove obsolete
+    packages</link> from your system before upgrading.
+  </para>
   <section id="proposed-updates">
     <title>The proposed-updates section</title>
@@ -1296,10 +1301,14 @@ $ aptitude purge '~c'
     Detecting which packages in an updated system are <quote>obsolete</quote> 
is easy since the
-    package management front-ends will mark them as such.  If you are using
-    <command>aptitude</command>, you will see a listing of these packages in 
-    <quote>Obsolete and Locally Created Packages</quote> entry.
+    package management front-ends will mark them as such.
+    The  <systemitem role="package">aptitude</systemitem> commands to list and
+    purge obsolete commands are:
+  <screen>
+# aptitude search '~o'
+# aptitude purge '~o'
+  </screen>
     The <ulink url="&url-bts;">Debian Bug Tracking System</ulink>
     often provides additional information on why the package was removed.  You

Reply via email to