 (defun doom//packages-update (&optional auto-accept-p)
   "Interactive command for updating packages."
   (interactive "P")
-  (doom-initialize-packages 'internal)
   (print! "Looking for outdated packages...")
-  (doom-refresh-packages-maybe doom-debug-mode)
   (let ((packages (cl-sort (cl-copy-list (doom-get-outdated-packages)) #'string-lessp
                            :key #'car)))
     (cond ((not packages)

depended on.

Used by `doom//packages-autoremove'."
  (doom-initialize-packages (not noninteractive))
  (let ((package-selected-packages
         (append (mapcar #'car doom-packages) doom-core-packages)))
    (append (package--removable-packages)

(defun doom//packages-install (&optional auto-accept-p)
  "Interactive command for installing missing packages."
  (interactive "P")
  (print! "Looking for packages to install...")
  (let ((packages (reverse (doom-get-missing-packages))))
    (cond ((not packages)
