[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: package-update-all from command line
From: |
Lars Ingebrigtsen |
Subject: |
Re: package-update-all from command line |
Date: |
Wed, 25 May 2022 03:26:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
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
- Loading early-init.el in batch mode (was: package-update-all from command line), (continued)
Re: package-update-all from command line, Sam Steingold, 2022/05/24
- Re: package-update-all from command line, Stefan Monnier, 2022/05/24
- Re: package-update-all from command line, Sam Steingold, 2022/05/24
- Re: package-update-all from command line, Stefan Monnier, 2022/05/24
- Re: package-update-all from command line, Sam Steingold, 2022/05/25
- Re: package-update-all from command line, Stefan Monnier, 2022/05/25
- Re: package-update-all from command line, Sam Steingold, 2022/05/26
- Re: package-update-all from command line, Stefan Monnier, 2022/05/26
Re: package-update-all from command line,
Lars Ingebrigtsen <=