core: install and uninstall package from package-alist
core: install and uninstall package from package-alist

Consult the archive only when the user actually update the packages.
Fixes #2956

tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs