jabranham / system-packages

Moved to gitlab
https://gitlab.com/jabranham/system-packages
GNU General Public License v3.0
39 stars 12 forks source link

system-packages-update with aptitude only updates metadata #21

Closed ghost closed 6 years ago

ghost commented 6 years ago

When system-packages-package-manager is set to aptitude, M-x system-packages-update only runs aptitude update. This updates the list of available packages, but does not install updates. I would suggest appending aptitude safe-upgrade (or similar) to the chain.

From aptitude(8):

       update
           Updates the list of available packages from the apt sources (this
           is equivalent to “apt-get update”)

       safe-upgrade
           Upgrades installed packages to their most recent version. Installed
           packages will not be removed unless they are unused (see the
           section “Managing Automatically Installed Packages” in the aptitude
           reference manual). Packages which are not currently installed may
           be installed to resolve dependencies unless the --no-new-installs
           command-line option is supplied.
jabranham commented 6 years ago

Fixed, thanks!