unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Mirko Vukovic <mirko.vukovic@gmail.com>
Cc: 42984@debbugs.gnu.org
Subject: bug#42984: 27.1; package-list results in error while updating archive due to malformed path
Date: Wed, 25 Nov 2020 16:06:43 -0500	[thread overview]
Message-ID: <CADwFkmn-0y3N2ZPutnNsRtmo6wn2Bbbf4d055p5dB2W+kRVvSw@mail.gmail.com> (raw)
In-Reply-To: <CAO73BABFZO6wpqGLmgRL_Tp8W6tG4cRYU-_9zoGEFCdOx+jhMA@mail.gmail.com>

(Please keep the bug tracker in Cc.)

Mirko Vukovic <mirko.vukovic@gmail.com> writes:

>> > Failed to verify signature archive-contents.sig:
>> > No public key for 066DAFCB81E42C40 created at 2020-08-22T05:05:02-0400
>> using RSA
>> > Command output:
>> > gpg: keyblock resource
>> '/c/Users/977315/c:/Users/977315/.emacs.d/elpa/gnupg/pubring.kbx': No such
>> file or directory
>> > gpg: Signature made Sat, Aug 22, 2020  5:05:02 AM EDT
>> > gpg:                using RSA key
>> C433554766D3DDC64221BFAA066DAFCB81E42C40
>> > gpg: Can't check signature: No public key
>> >
>> > The offending file path consists of the current directory, followed by
>> c:/Users/977315/.emacs.d/elpa/...
>> > I verified this by launching emacs from a different directory. That
>> change would be reflected in the filepath, for example, when launched
>> > from the ~/tmp directory:
>> > gpg: keyblock resource
>> '/c/Users/977315/tmp/c:/Users/977315/.emacs.d/elpa/gnupg/pubring.kbx': No
>> such file or directory
>>
>> I don't understand why this path is used.  It should be using:
>>
>>     (expand-file-name "gnupg" package-user-dir)
>>
>> What is the value of `package-gnupghome-dir' and `package-user-dir' on
>> your machine?
>>
>
> package-gnupghome-dir ==> "c:/Users/977315/.emacs.d/elpa/gnupg"
> package-user-dir: ==> "~/.emacs.d/elpa"
> (expand-file-name "gnupg" package-user-dir) ==>
> "c:/Users/977315/.emacs.d/elpa/gnupg"

Well, I'm stomped.  But I don't know much of anything about Windows.

Does anyone have an idea why a path like this would be used on Windows?

  "/c/Users/977315/tmp/c:/Users/977315/.emacs.d/elpa/gnupg/pubring.kbx"





  parent reply	other threads:[~2020-11-25 21:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-22 14:06 bug#42984: 27.1; package-list results in error while updating archive due to malformed path Mirko Vukovic
2020-11-25  9:32 ` Stefan Kangas
     [not found]   ` <CAO73BABFZO6wpqGLmgRL_Tp8W6tG4cRYU-_9zoGEFCdOx+jhMA@mail.gmail.com>
2020-11-25 21:06     ` Stefan Kangas [this message]
2020-11-26  3:31       ` Eli Zaretskii
2020-11-26  4:36         ` Stefan Kangas
2020-11-26 14:09           ` Eli Zaretskii
2020-11-26 15:28             ` Mirko Vukovic
2020-11-26 15:38               ` Eli Zaretskii
2020-11-26 15:58                 ` Mirko Vukovic
2020-11-26 16:36                   ` Eli Zaretskii

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=CADwFkmn-0y3N2ZPutnNsRtmo6wn2Bbbf4d055p5dB2W+kRVvSw@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=42984@debbugs.gnu.org \
    --cc=mirko.vukovic@gmail.com \
    /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).