branch: externals/system-packages commit e1a6811188e6a44fc03623b8bb638a3c1563cdb3 Author: Alex Branham <bran...@utexas.edu> Commit: Alex Branham <bran...@utexas.edu>
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")