emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* use-package mistake?
@ 2021-02-04 20:49 Lawrence Bottorff
  2021-02-05 16:35 ` Lawrence Bottorff
  0 siblings, 1 reply; 2+ messages in thread
From: Lawrence Bottorff @ 2021-02-04 20:49 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

[-- Attachment #1: Type: text/plain, Size: 1256 bytes --]

Each time I call up list-package and update, I get this message after the
updates

Operation finished.  Packages that are no longer needed: 43.  Type ‘M-x
package-autoremove’ to remove them

Below is my init.el concerning use-package

(require 'package)
(setq package-enable-at-startup nil)

(setq package-archives '(("ELPA"  . "http://tromey.com/elpa/")
("gnu"   . "http://elpa.gnu.org/packages/")
("melpa" . "https://melpa.org/packages/")
("org"   . "https://orgmode.org/elpa/")))

(package-initialize)

;;; Bootstrapping use-package, i.e., if use-package isn't installed
;;; then install it
(unless (package-installed-p 'use-package)
  (package-refresh-contents)
  (package-install 'use-package))

;;;This will ensure all packages are installed if not already
(require 'use-package-ensure)
(setq use-package-always-ensure t)

;;;This will make sure packages are updated
(use-package auto-package-update
  :config
  (setq auto-package-update-delete-old-versions t)
  (setq auto-package-update-interval 1)
  (setq auto-package-update-hide-results t)
  (auto-package-update-maybe))


I obviously don't want to uninstall all the packages on my system. What
have I done wrong? Can you critique my setup here?

LB

[-- Attachment #2: Type: text/html, Size: 1742 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: use-package mistake?
  2021-02-04 20:49 use-package mistake? Lawrence Bottorff
@ 2021-02-05 16:35 ` Lawrence Bottorff
  0 siblings, 0 replies; 2+ messages in thread
From: Lawrence Bottorff @ 2021-02-05 16:35 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

[-- Attachment #1: Type: text/plain, Size: 1463 bytes --]

Sorry, this was meant for emacs.stackexchange.....

On Thu, Feb 4, 2021 at 2:49 PM Lawrence Bottorff <borgauf@gmail.com> wrote:

> Each time I call up list-package and update, I get this message after the
> updates
>
> Operation finished.  Packages that are no longer needed: 43.  Type ‘M-x
> package-autoremove’ to remove them
>
> Below is my init.el concerning use-package
>
> (require 'package)
> (setq package-enable-at-startup nil)
>
> (setq package-archives '(("ELPA"  . "http://tromey.com/elpa/")
> ("gnu"   . "http://elpa.gnu.org/packages/")
> ("melpa" . "https://melpa.org/packages/")
> ("org"   . "https://orgmode.org/elpa/")))
>
> (package-initialize)
>
> ;;; Bootstrapping use-package, i.e., if use-package isn't installed
> ;;; then install it
> (unless (package-installed-p 'use-package)
>   (package-refresh-contents)
>   (package-install 'use-package))
>
> ;;;This will ensure all packages are installed if not already
> (require 'use-package-ensure)
> (setq use-package-always-ensure t)
>
> ;;;This will make sure packages are updated
> (use-package auto-package-update
>   :config
>   (setq auto-package-update-delete-old-versions t)
>   (setq auto-package-update-interval 1)
>   (setq auto-package-update-hide-results t)
>   (auto-package-update-maybe))
>
>
> I obviously don't want to uninstall all the packages on my system. What
> have I done wrong? Can you critique my setup here?
>
> LB
>

[-- Attachment #2: Type: text/html, Size: 2212 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-05 16:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 20:49 use-package mistake? Lawrence Bottorff
2021-02-05 16:35 ` Lawrence Bottorff

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).