GNU bug report logs - #19146
25.0.50; RFE: non-interactive package upgrade

Previous Next

Package: emacs;

Reported by: sds <at> gnu.org

Date: Fri, 21 Nov 2014 19:25:01 UTC

Severity: wishlist

Found in version 25.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 19146 <at> debbugs.gnu.org (full text, mbox):

From: Sam Steingold <sds <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 19146 <at> debbugs.gnu.org
Subject: Re: bug#19146: 25.0.50; RFE: non-interactive package upgrade
Date: Mon, 16 May 2022 10:18:17 -0400
package.el is now broken.
"emacs" fails on startup with `Wrong type argument: stringp, nil`.
"emacs -q" works, when I load `package-quickstart.el` manually, I get
`(void-variable package-activated-list)`.
When I manually do `M-x package-initialize`, I can compile and load
`package-quickstart.el`.

When I try to evaluate .emacs, `load-path` does _not_ contain any
paths to any installed package.

Also, `emacs --batch --load package -funcall package-update-all`
prints `No packages to update` while interactively it _does_ find
packages to update.
I suspect that this is because `--batch` implies `-q` which means that
batch emacs does not know about my local packages?

On Wed, 11 May 2022 at 22:25, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
>
> Sam Steingold <sds <at> gnu.org> writes:
>
> > Thank you!
> > So, does
> > emacs --funcall package-update-all
> > work now?
>
> It defaults to querying, so you should say --eval '(package-update-all t)'.
>
> But I haven't actually tested.
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no



-- 
Sam Steingold <http://sds.podval.org> <http://www.childpsy.net>
<http://steingoldpsychology.com>




This bug report was last modified 3 years and 40 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.