From: Lars Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Subject: Re: package-update-all from command line
Date: Wed, 25 May 2022 03:26:28 +0200 [thread overview]
Message-ID: <877d6aflmj.fsf@gnus.org> (raw)
In-Reply-To: <877d6bd2a2.fsf@gnu.org> (Sam Steingold's message of "Mon, 23 May 2022 23:42:45 -0400")
Sam Steingold <sds@gnu.org> writes:
> I would like to be able to update packages from the command line, and
> thanks to Lars, I now can do
>
> emacs -batch -funcall package-initialize -load ~/.emacs.elc -funcall package-update-all
>
> Alas, this has two problems:
>
> 1. It prints "No packages to update" even though M-x list-packages RET
> reports "Packages that can be upgraded: 3; type ‘U’ to mark for upgrading".
I've now tweaked package-update-all prompting, but I'm not able to
reproduce the problem otherwise.
emacs -batch -l ~/.emacs -f package-update-all
updated a bunch of packages for me.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2022-05-25 1:26 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-24 3:42 package-update-all from command line Sam Steingold
2022-05-24 13:54 ` Stefan Monnier
2022-05-24 14:05 ` Eli Zaretskii
2022-05-24 16:00 ` Loading early-init.el in batch mode (was: package-update-all from command line) Stefan Monnier
2022-05-24 18:58 ` Eli Zaretskii
2022-05-24 15:04 ` package-update-all from command line Sam Steingold
2022-05-24 15:52 ` Stefan Monnier
2022-05-24 19:01 ` Sam Steingold
2022-05-24 19:55 ` Stefan Monnier
2022-05-25 15:14 ` Sam Steingold
2022-05-25 16:13 ` Stefan Monnier
2022-05-26 15:13 ` Sam Steingold
2022-05-26 15:35 ` Stefan Monnier
2022-05-25 1:26 ` Lars Ingebrigtsen [this message]
2022-05-25 4:58 ` Tassilo Horn
2022-05-25 12:05 ` Lars Ingebrigtsen
2022-05-25 12:27 ` Tassilo Horn
2022-05-27 10:21 ` Lars Ingebrigtsen
2022-05-27 20:33 ` Tassilo Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877d6aflmj.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.