help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failure getting compat on Emacs <29. seq.2.24 signature expired in g


From: Pierre Rouleau
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

On Mon, Jun 3, 2024 at 8:02 AM Micha Silver <tsvibar@gmail.com> wrote:

>
> On 03/06/2024 14:55, Pierre Rouleau wrote:
> > On Mon, Jun 3, 2024 at 12:59 AM Stefan Monnier via Users list for the GNU
> > Emacs text editor <help-gnu-emacs@gnu.org> 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 following
> > message:
> >
> >   Contacting host: elpa.gnu.org:443
> >
> > Install package ‘gnu-elpa-keyring-update-2022.12’? (y or 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!

-- 
/Pierre


reply via email to

[Prev in Thread] Current Thread [Next in Thread]