From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pierre Rouleau Newsgroups: gmane.emacs.help Subject: Re: Failure getting compat on Emacs <29. seq.2.24 signature expired in gnu elpa? Date: Mon, 3 Jun 2024 09:38:50 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38429"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , help-gnu-emacs@gnu.org To: Micha Silver Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 03 15:39:45 2024 Return-path: Envelope-to: geh-help-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 1sE7ub-0009gZ-2o for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 03 Jun 2024 15:39:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sE7ty-00019T-Pu; Mon, 03 Jun 2024 09:39:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sE7tx-00018j-Oa for help-gnu-emacs@gnu.org; Mon, 03 Jun 2024 09:39:05 -0400 Original-Received: from mail-ua1-x92a.google.com ([2607:f8b0:4864:20::92a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sE7tv-0003Ay-Jp for help-gnu-emacs@gnu.org; Mon, 03 Jun 2024 09:39:05 -0400 Original-Received: by mail-ua1-x92a.google.com with SMTP id a1e0cc1a2514c-80ac7d0905eso1141526241.0 for ; Mon, 03 Jun 2024 06:39:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717421942; x=1718026742; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2B382fK2/Doy5bAybBs53Zd3fZhKIJMk3SnZTrwtt+E=; b=E2jzkqt4gWH47eCap3FXh+O4kZUuwqteGaGIRx0CWBTJwyGoj/RjUgh/g85a6GKuZq chEagp8biNQmyvLaM2IwP3Sr4mE/v1IE46tB2Nis7C/NuCa3/3bJ4QWhWUXOv+XcAH/8 tRffu7RbRmGX77+/l1VGnukCcEIy49EQg1/UlwUDb3Ywl+Aar2I7Fr/fJ3KbHqLGrECL Uslgt48pZy1Dmz1Zzpo60U0Nrk1RjZMDXlaLrduWCrBGQyIdIgRjfdF4RkDjoFkDN12y zJYcbaAS8RKzQc2Z8k2Rryp1h/1dXZaCi6TKfXPGe4XMwnvmm9qaWQpch0NuWWGrlPYW idJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717421942; x=1718026742; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2B382fK2/Doy5bAybBs53Zd3fZhKIJMk3SnZTrwtt+E=; b=Q9KPl9oelsOYAKpKmiwTDQredIbKripisl6QM/9feDmEX4LWu1uffBjx6wSQK1Bvyz zIpyc2r6jI4QsbH/aiKkZakMypC5Ijv5gT8VGZ9eu2NBVm1LOZjVcc6XGCC9k+x1W0f+ d9ixhQ6+oamy6EhccrmxK4eY6AdNLPC4mWw29ypr282Hh8XrS70LVvowrM0avQF+cnSR MzSypXP2Z//BJvkrZpcSMZT6FvRHv5GFIYW20JrDSN4nga59z/Mi540c6NAKMXHmKuUT R8quooDbzIFVHuH9LlNqHFO5CpO8CyXydIM/6rc+BUMVqkoDY6Hm57rwojqmZH+BrFtb HD6g== X-Forwarded-Encrypted: i=1; AJvYcCWre/rkKDEHuDBTDKA5mSREshNgC1mawPXdmuj/z1vCgCEl0YfrUQM+xDN+k4PlcywHxkYJn+1vb5oaSe2kIgYUBFFtGIXh X-Gm-Message-State: AOJu0YyZ2S6TnrFZjoKOMNs6mfyKblRzs2g1Kma0jVw5vVaEbP69r27m P8ofGO8ZKlpr1CcOIl39vtM9N2GxgZQG0O6IanyJgi8IPBEe6riXeajQpv3ZCZ+KY81rzfC26e0 4U9gvrV3WuIfTNsF/fn+afBXxV2w= X-Google-Smtp-Source: AGHT+IGiOeNOKf3vUuqKOTlSDnbDTkQebCX0BAfQt6e/mPN90ytmtj8w0cGcVeHoymR17wO2m4zv4olM4ulMk+RMTLY= X-Received: by 2002:ac5:ca04:0:b0:4e4:e998:bf85 with SMTP id 71dfb90a1353d-4eb02edefc8mr5924131e0c.11.1717421941731; Mon, 03 Jun 2024 06:39:01 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::92a; envelope-from=prouleau001@gmail.com; helo=mail-ua1-x92a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146845 Archived-At: On Mon, Jun 3, 2024 at 8:02=E2=80=AFAM Micha Silver wro= te: > > On 03/06/2024 14:55, Pierre Rouleau wrote: > > On Mon, Jun 3, 2024 at 12:59=E2=80=AFAM Stefan Monnier via Users list f= or the GNU > > Emacs text editor wrote: > > > > > On that older system with Emacs 26.3 where the failure occurs, > > I tried to install the `gnu-elpa`keyring-update` package but that > failed. > > I tried with `package-check-signature' set to allow-unsigned and > > also tried with it set to nil. In both case it failed with the followi= ng > > message: > > > > Contacting host: elpa.gnu.org:443 > > > > Install package =E2=80=98gnu-elpa-keyring-update-2022.12=E2=80=99? (y o= r n) y > > Contacting host: elpa.gnu.org:443 > > package-install-from-archive: > > https://elpa.gnu.org/packages/gnu-elpa-keyring-update-2022.12.tar: Not > found > > > > How would I extend the lifetime of the 2019 key? > > > (total newbie here) I downloaded the 2022 package manually, then ran > > M-x package-install-file > > Thanks Micha for reminding me about the package-install-file! Installing the file using (package-install-file "gnu-elpa-keyring-update-pkg.el") does create the elpa directory with the .el fles and byte-compiles it but it does not place the etc sub-directory and does not create the gnu-elpa-keyring-update-2022.12.1.signed file in the elpa directory. - To handle the etc directory, I just copied it - As far as the missing gnu-elpa-keyring-update-2022.12.1.signed file I tried without it and then tried with a copy of that file. The problem with gnu elpa was solved. However I still had a http 404 problem if nongnu, ("nongnu" . "https://elpa.nongnu.org/nongnu") , was included inside the the `package-archives`: with `M-x package-list-packages` error in process filter: Error retrieving: https://elpa.nongnu.org/nongnuarchive-contents (error http 404) The *problem was the missing trailing slash in the URL string*! The problem was inside my init.el file. Would it make sense to include a function that would add cons cells in package-archives and would check for missing trailing slash? That function could also deal with various issues that occurred over time like the one for emacs 26.1 and 26.2 having to set gnutls-algorithm-priority? Thanks Stephan & Micha! --=20 /Pierre