unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Sam Steingold <sds@gnu.org>
Cc: 19146@debbugs.gnu.org
Subject: bug#19146: 25.0.50; RFE: non-interactive package upgrade
Date: Tue, 17 May 2022 11:08:57 +0200	[thread overview]
Message-ID: <87a6bgmspi.fsf@gnus.org> (raw)
In-Reply-To: <CAFsbZ7YjgHMMnGXkByaoSE0Odcjk=R4WwRe1n-e9HVVR_GWx+g@mail.gmail.com> (Sam Steingold's message of "Mon, 16 May 2022 10:18:17 -0400")

Sam Steingold <sds@gnu.org> writes:

> 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.

See bug#55447.

> 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?

Yes, you have to put a -l ~/.emacs in there to get that to work.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2022-05-17  9:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-21 19:23 bug#19146: 25.0.50; RFE: non-interactive package upgrade Sam Steingold
2022-05-12  1:59 ` Lars Ingebrigtsen
2022-05-12  2:23   ` Sam Steingold
2022-05-12  2:25     ` Lars Ingebrigtsen
2022-05-16 14:18       ` Sam Steingold
2022-05-17  9:08         ` Lars Ingebrigtsen [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6bgmspi.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=19146@debbugs.gnu.org \
    --cc=sds@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).