branch: externals/system-packages
commit eead7d666eac8a013892b85d97ece25cfc6bb0e6
Author: Alex Branham <bran...@utexas.edu>
Commit: Alex Branham <bran...@utexas.edu>

    Prefer apt-get/cache to apt
    
    Apparently the output of these commands is ugly in Emacs. Closes #20
---
 system-packages.el | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/system-packages.el b/system-packages.el
index eeb481c..5a03d2a 100644
--- a/system-packages.el
+++ b/system-packages.el
@@ -129,18 +129,18 @@
     ;; Debian (and Ubuntu) based systems
     (apt .
          ((default-sudo . t)
-          (install . "apt install")
-          (search . "apt search")
-          (uninstall . "apt remove")
-          (update . ("apt update" "apt upgrade"))
+          (install . "apt-get install")
+          (search . "apt-cache search")
+          (uninstall . "apt-get --purge remove")
+          (update . ("apt-get update" "apt-get upgrade"))
           (clean-cache . "apt-get clean")
           (log . "cat /var/log/dpkg.log")
           (get-info . "dpkg -s")
-          (get-info-remote . "apt show")
+          (get-info-remote . "apt-cache show")
           (list-files-provided-by . "dpkg -L")
           (verify-all-packages . "debsums")
           (verify-all-dependencies . "apt-get check")
-          (remove-orphaned . "apt autoremove")
+          (remove-orphaned . "apt-get autoremove")
           (list-installed-packages . nil)
           (list-installed-packages-all . nil)
           (list-dependencies-of . "apt-cache deps")

Reply via email to