           (setq installed-count 0)
           (dolist (pkg not-installed)
             (setq installed-count (1+ installed-count))
-            (spacemacs/replace-last-line-of-buffer
-             (format "--> installing %s:%s... [%s/%s]"
-                     (ht-get configuration-layer-all-packages pkg)
-                     pkg installed-count not-installed-count) t)
+            (let ((layer (ht-get configuration-layer-all-packages pkg)))
+              (spacemacs/replace-last-line-of-buffer
+               (format "--> installing %s%s... [%s/%s]"
+                       (if layer (format "%s:" layer) "")
+                       pkg installed-count not-installed-count) t))
             (unless (package-installed-p pkg)
               (condition-case err
                   (if (not (assq pkg package-archive-contents))

(defun configuration-layer//install-packages ()
  "Install the packages all the packages if there are not currently installed."
  (interactive)
  (let* ((not-installed (remove-if 'package-installed-p
                                   configuration-layer-all-packages-sorted))
         (not-installed-count (length not-installed)))
    ;; installation
    (if not-installed

                            (concat elpa-dir (file-name-as-directory
                                              pkg-dir-name)))))
            (setq rollbacked-count (1+ rollbacked-count))
            (if (string-equal (format "%S-%s" pkg installed-ver) pkg-dir-name)
                (spacemacs/replace-last-line-of-buffer
                 (format "--> package %s already rollbacked! [%s/%s]"
                         pkg rollbacked-count rollback-count) t)
              ;; rollback the package
              (spacemacs/replace-last-line-of-buffer
               (format "--> rollbacking package %s... [%s/%s]"
                       pkg rollbacked-count rollback-count) t)
              (configuration-layer//package-delete pkg)
              (copy-directory src-dir dest-dir 'keeptime 'create 'copy-content))
            (spacemacs//redisplay)))
        (spacemacs/append-to-buffer
         (format "\n--> %s packages rollbacked.\n" rollbacked-count))
        (spacemacs/append-to-buffer
