I am starting to build up a .emacs file to be used as a development environment within Docker containers. I get this error when starting emacs-nox in a Docker container.
Warning (initialization): An error occurred while loading `/root/.emacs':
error: Package `use-package-' is unavailable
Here is the contents of my .emacs
;; require package
(require 'package)
;; add melpa stable
(add-to-list 'package-archives
'("melpa-stable" . "https://stable.melpa.org/packages/"))
;; add melpa
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/"))
;; Initialise packages
(package-initialize)
;; add use package
(package-install 'use-package)