From cca7532ca7e6168f1049f9e42892701cece841cd Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@debian.org>
Date: Thu, 10 Mar 2016 01:31:02 +0100
Subject: [PATCH 4/4] Update for new apt frontend
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The «apt list -a» command does not list priorities like «apt policy» does.
Remove wrong reference «apt show», and use «apt show -a» instead, which is
not the equivalent of «apt-cache showpkg» and does not list dependencies.
Use «apt build-dep» instead of «apt-get build-dep».
---
 entries.dbk | 12 +++---------
 refcard.dbk |  2 +-
 2 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/entries.dbk b/entries.dbk
index 4affe22..8745cbb 100644
--- a/entries.dbk
+++ b/entries.dbk
@@ -384,20 +384,14 @@
       <glossentry id="apt-list-a">
 	<glossterm>apt list -a
 	<replaceable>package-name</replaceable></glossterm>
-	<glossdef><para>Show versions and priorities of available
+	<glossdef><para>Show versions and archive areas of available
 	packages.</para></glossdef>
       </glossentry>
-      <glossentry id="apt-show">
-	<glossterm>apt show
-	<replaceable>package-name</replaceable></glossterm>
-	<glossdef><para>Show package information
-	incl. description.</para></glossdef>
-      </glossentry>
       <glossentry id="apt-show-a">
 	<glossterm>apt show -a
 	<replaceable>package-name</replaceable></glossterm>
-	<glossdef><para>Show package dependencies (needed
-	packages).</para></glossdef>
+	<glossdef><para>Show package information
+	incl. description.</para></glossdef>
       </glossentry>
       <glossentry id="apt-install">
 	<glossterm>apt install
diff --git a/refcard.dbk b/refcard.dbk
index 4007390..5fb1823 100644
--- a/refcard.dbk
+++ b/refcard.dbk
@@ -919,7 +919,7 @@
 
     <para>Of course, you may alter the reference card to your needs and
     create a customised refcard.  You need to install the build
-    dependencies with <command>apt-get build-dep refcard</command>;
+    dependencies with <command>apt build-dep refcard</command>;
     these are mostly:
     <literal>docbook-xsl</literal>,
     <literal>pdfjam</literal>,
-- 
2.8.1

