From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.bugs Subject: bug#19146: 25.0.50; RFE: non-interactive package upgrade Date: Mon, 16 May 2022 10:18:17 -0400 Message-ID: References: <87fslf3408.fsf@gnus.org> <87mtfn1o7p.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8978"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 19146@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 16 16:19:30 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nqbZK-000294-Op for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 May 2022 16:19:30 +0200 Original-Received: from localhost ([::1]:37930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqbZJ-00067J-Ml for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 May 2022 10:19:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqbYs-00066z-S3 for bug-gnu-emacs@gnu.org; Mon, 16 May 2022 10:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60794) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqbYs-0003BL-JU for bug-gnu-emacs@gnu.org; Mon, 16 May 2022 10:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqbYs-0001Q8-GP for bug-gnu-emacs@gnu.org; Mon, 16 May 2022 10:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sam Steingold Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 May 2022 14:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19146 X-GNU-PR-Package: emacs Original-Received: via spool by 19146-submit@debbugs.gnu.org id=B19146.16527107205424 (code B ref 19146); Mon, 16 May 2022 14:19:02 +0000 Original-Received: (at 19146) by debbugs.gnu.org; 16 May 2022 14:18:40 +0000 Original-Received: from localhost ([127.0.0.1]:54690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqbYS-0001PF-1w for submit@debbugs.gnu.org; Mon, 16 May 2022 10:18:40 -0400 Original-Received: from mail-oo1-f42.google.com ([209.85.161.42]:35829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqbYP-0001Oq-On for 19146@debbugs.gnu.org; Mon, 16 May 2022 10:18:34 -0400 Original-Received: by mail-oo1-f42.google.com with SMTP id i6-20020a4ab246000000b00362214ddc1cso2119492ooo.2 for <19146@debbugs.gnu.org>; Mon, 16 May 2022 07:18:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uideB8PoCsjDepOw+JLDoVW+oD1UGPXNAS5YrrNPsMI=; b=PgNo7FYqxMrDbqKGW2COlBnR+k+yJaMh5I/5c3eZT4pdqfKEBSA25x6mOfjvvzQuBB 4VO4Qhu1VTqH22TyZ/g6JAwYjt72knSkez75eUSF73knrg+HDDkSdyqw8mre0FVMf1PQ Dv5W4XQ+9GtbH1BtbU0jpLLjjvsEsfCI/YazCq7qHYLkWKn7rqxf0TdIWiaI5h0jV8I0 8Lo7oldZ1xWo8uQdd5LxM9Lt+/O3Rqf2MdzfwFxYS1KGgiFFB9H7sQSWYciqRlLOxS1s YzPFG1qjZT71uPQIs84pfEf4JIwmxgYz93Dbcqxy/N7VfqR+c9e+/cb9NB1W1xRQ40Ax wJMQ== X-Gm-Message-State: AOAM533nmWTcfAusFytIiSKPiP5oaEHL6tHK+nk7RLA8cUONn61mmwhr To6pldxx49741hiIqrhqMSG21IcxMU0UaIFf2aTduSudpg== X-Google-Smtp-Source: ABdhPJzTV5D9G/Ps7F2HQYvmxTFTZSzkKoOruxnMtuv/KctFiltt2cxNmzl7hvdfkr730DgiYnwoDn+reePzsFW8/T4= X-Received: by 2002:a4a:5297:0:b0:35e:c182:7663 with SMTP id d145-20020a4a5297000000b0035ec1827663mr6080510oob.70.1652710708194; Mon, 16 May 2022 07:18:28 -0700 (PDT) In-Reply-To: <87mtfn1o7p.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:232391 Archived-At: 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 wrote: > > Sam Steingold 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