emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/system-packages e1a6811 073/117: Fix aptitude upgrade c


From: Stefan Monnier
Subject: [elpa] externals/system-packages e1a6811 073/117: Fix aptitude upgrade command
Date: Fri, 14 Dec 2018 17:02:11 -0500 (EST)

branch: externals/system-packages
commit e1a6811188e6a44fc03623b8bb638a3c1563cdb3
Author: Alex Branham <address@hidden>
Commit: Alex Branham <address@hidden>

    Fix aptitude upgrade command
    
    According to the Debian Handbook[1] in order to perform a system
    upgrade using aptitude, we should first run apt update then aptitude
    safe-upgrade
    
    Closes bug #21
    
    Footnotes:
    [1]  https://debian-handbook.info/browse/stable/sect.apt-get.html
---
 system-packages.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/system-packages.el b/system-packages.el
index d4af9d7..eeb481c 100644
--- a/system-packages.el
+++ b/system-packages.el
@@ -150,7 +150,7 @@
                (install . "aptitude install")
                (search . "aptitude search")
                (uninstall . "aptitude remove")
-               (update . ("aptitude update"))
+               (update . ("apt update" "aptitude safe-upgrade"))
                (clean-cache . "aptitude clean")
                (log . "cat /var/log/dpkg.log")
                (get-info . "aptitude show")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]