[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 14:05:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Tassilo Horn <tsdh@gnu.org> writes:
> When seeing that command being introduced, I've also made my own version
>
> (defun th/package-update-all ()
> (interactive)
> (package-refresh-contents)
> (package-update-all (called-interactively-p)))
>
> because package-update-all doesn't seem to update the package database.
> I can't see the "Contacting host: elpa.gnu.org" message and the same for
> the other archives.
Yes, perhaps -update-all should also call -refresh-contents?
By the way, the following also seems to work:
./src/emacs -batch -l ~/.emacs -f package-refresh-contents -f package-update-all
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: 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, 2022/05/24