From add1e275fb81d59336c3620f2c6f53f90cd88b95 Mon Sep 17 00:00:00 2001 From: Yvan-Masson Date: Wed, 9 Dec 2020 22:34:10 -0600 Subject: [PATCH] Ubuntu/Debian: use apt instead of dpkg In general apt is the preferred way to interact with packages, and I think in this case there is no need/advantage to use dpkg. Closes #88 Signed-off-by: Richard Laager [Fixed the other two instances too.] --- docs/Getting Started/Debian/Debian Buster Root on ZFS.rst | 2 +- docs/Getting Started/Ubuntu/Ubuntu 18.04 Root on ZFS.rst | 2 +- docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Getting Started/Debian/Debian Buster Root on ZFS.rst b/docs/Getting Started/Debian/Debian Buster Root on ZFS.rst index 865670a..1323e6b 100644 --- a/docs/Getting Started/Debian/Debian Buster Root on ZFS.rst +++ b/docs/Getting Started/Debian/Debian Buster Root on ZFS.rst @@ -650,7 +650,7 @@ Step 4: System Configuration #. Optional: Remove os-prober:: - dpkg --purge os-prober + apt --purge os-prober This avoids error messages from `update-grub`. `os-prober` is only necessary in dual-boot configurations. diff --git a/docs/Getting Started/Ubuntu/Ubuntu 18.04 Root on ZFS.rst b/docs/Getting Started/Ubuntu/Ubuntu 18.04 Root on ZFS.rst index 84cbe2c..799b796 100644 --- a/docs/Getting Started/Ubuntu/Ubuntu 18.04 Root on ZFS.rst +++ b/docs/Getting Started/Ubuntu/Ubuntu 18.04 Root on ZFS.rst @@ -555,7 +555,7 @@ Select (using the space bar) all of the disks (not partitions) in your pool. 4.9 (Optional): Remove os-prober:: - dpkg --purge os-prober + apt --purge os-prober This avoids error messages from `update-grub`. `os-prober` is only necessary in dual-boot configurations. diff --git a/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst b/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst index e6b163a..7c80506 100644 --- a/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst +++ b/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst @@ -796,7 +796,7 @@ Step 4: System Configuration #. Optional: Remove os-prober:: - dpkg --purge os-prober + apt --purge os-prober This avoids error messages from ``update-grub``. ``os-prober`` is only necessary in dual-boot configurations.