GNU bug report logs -
#32004
25.2; Package-install-package Failed to verify signature file-error Setting current directory No such file or directory
Previous Next
Reported by: Mike Dupont <jamesmikedupont <at> googlemail.com>
Date: Fri, 29 Jun 2018 11:10:02 UTC
Severity: minor
Tags: easy
Found in version 25.2
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32004 in the body.
You can then email your comments to 32004 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32004
; Package
emacs
.
(Fri, 29 Jun 2018 11:10:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Mike Dupont <jamesmikedupont <at> googlemail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 29 Jun 2018 11:10:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I tried to open an url and forgot how, then decided to install w3
but the install failed because I opened a bogus file.
step 1.
C-x-f http://json-schema.org/draft-07/schema
1.0 Shows :
Find file: {http:/} /json-schema.org/draft-07/schema
1.1 RET
this creates a buffer in the non existing directory
/json-schema.org/draft-07/
step 2.
2.1 M-x package-list-packages
2.2. select w3
2.3 Install
Error message is :
Failed to verify signature: file-error, "Setting current directory", "No
such file or directory",/json-schema.org/draft-07/
Workaround, kill buffers for list packages and the draft-07 and select a
different existing file and try again with step 2.
In GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.20)
of 2017-09-11, modified by Debian built on trouble
Configured using:
'configure --build x86_64-linux-gnu --prefix=/usr
--sharedstatedir=/var/lib --libexecdir=/usr/lib
--localstatedir=/var/lib --infodir=/usr/share/info
--mandir=/usr/share/man --with-pop=yes
--enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp
--with-sound=alsa --without-gconf --build x86_64-linux-gnu
--prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib
--localstatedir=/var/lib --infodir=/usr/share/info
--mandir=/usr/share/man --with-pop=yes
--enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp
--with-sound=alsa --without-gconf --with-x=yes --with-x-toolkit=gtk3
--with-toolkit-scroll-bars 'CFLAGS=-g -O2
-fdebug-prefix-map=/build/emacs25-XrMyQe/emacs25-25.2+1=.
-fstack-protector-strong
-Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
-D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11
Important settings:
value of $LC_ALL: en_US.UTF-8
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Help
Minor modes in effect:
diff-auto-refine-mode: t
shell-dirtrack-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
buffer-read-only: t
line-number-mode: t
transient-mark-mode: t
ecent messages:
Install package ‘w3-4.0.49’? (y or n) y
Contacting host: elpa.gnu.org:80
package--check-signature-content: Failed to verify signature: file-error,
"Setting current directory", "No such file or directory", "/
json-schema.org/draft-07/"
Contacting host: elpa.gnu.org:80
Type "q" to restore previous buffer.
mouse-2, RET: Push this button
Install package ‘w3-4.0.49’? (y or n) y
Contacting host: elpa.gnu.org:80
package--check-signature-content: Failed to verify signature: file-error,
"Setting current directory", "No such file or directory", "/
json-schema.org/draft-07/"
Making completion list...
Load-path shadows:
/usr/share/emacs/25.2/site-lisp/debian-startup hides
/usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs25/site-lisp/cmake-data/cmake-mode hides
/usr/share/emacs/site-lisp/cmake-mode
/usr/share/emacs/site-lisp/rst hides
/usr/share/emacs/25.2/lisp/textmodes/rst
/home/mdupont/.emacs.d/elpa/let-alist-1.0.5/let-alist hides
/usr/share/emacs/25.2/lisp/emacs-lisp/let-alist
/home/mdupont/.emacs.d/elpa/seq-2.20/seq hides
/usr/share/emacs/25.2/lisp/emacs-lisp/seq
Features:
(shadow sort mail-extr emacsbug sendmail lisp-mnt misearch multi-isearch
mm-archive message rfc822 mml mml-sec mailabbrev gmm-utils mailheader
mm-decode mm-bodies mm-encode url-handlers mail-utils pp cus-edit
cus-start cus-load wid-edit network-stream nsm starttls url-http tls
gnutls mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw url-cache
url-auth url url-proxy url-privacy url-expand url-methods url-history
url-cookie url-domsuf url-util mailcap epg tramp-cache python tramp-sh
tramp tramp-compat tramp-loaddefs trampver ucs-normalize format-spec
dired vc-git diff-mode easy-mmode pcmpl-unix shell pcomplete comint
ansi-color ring term/xterm xterm finder-inf gh-common gh-profile
url-parse auth-source gnus-util time-date mm-util help-fns mail-prsvr
password-cache url-vars rx s marshal cl-seq eieio-compat ht json map
dash eieio eieio-core cl-macs advice info package epg-config seq
byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv
cl-loaddefs pcase cl-lib mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
slovak czech european ethiopic indian cyrillic chinese charscript
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote dbusbind inotify
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)
Memory information:
((conses 16 573975 28190)
(symbols 48 29079 0)
(miscs 40 259 1453)
(strings 32 53685 15848)
(string-bytes 1 1627948)
(vectors 16 43721)
(vector-slots 8 763672 5725)
(floats 8 406 630)
(intervals 56 32649 859)
(buffers 976 44))
--
James Michael DuPont
[Message part 2 (text/html, inline)]
Added tag(s) easy.
Request was from
Noam Postavsky <npostavs <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Fri, 29 Jun 2018 22:58:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32004
; Package
emacs
.
(Sat, 13 Jul 2019 03:34:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 32004 <at> debbugs.gnu.org (full text, mbox):
Mike Dupont <jamesmikedupont <at> googlemail.com> writes:
> I tried to open an url and forgot how, then decided to install w3
> but the install failed because I opened a bogus file.
>
> step 1.
> C-x-f http://json-schema.org/draft-07/schema
>
> 1.0 Shows :
> Find file: {http:/} /json-schema.org/draft-07/schema
>
> 1.1 RET
>
> this creates a buffer in the non existing directory
>
> /json-schema.org/draft-07/
>
> step 2.
>
> 2.1 M-x package-list-packages
The backtrace is variations on this:
Debugger entered--Lisp error: (file-missing "Setting curren
make-process(:name "epg" :buffer #<buffer *epg*-726832>
epg--start(#s(epg-context :protocol OpenPGP :program "/us
epg-start-import-keys(#s(epg-context :protocol OpenPGP :p
epg--import-keys-1(#s(epg-context :protocol OpenPGP :prog
epg-import-keys-from-file(#s(epg-context :protocol OpenPG
package-import-keyring("/home/larsi/src/emacs/trunk/etc/p
package-refresh-contents(t)
package-menu-refresh()
package-list-packages(nil)
funcall-interactively(package-list-packages nil)
call-interactively(package-list-packages record nil)
command-execute(package-list-packages record)
execute-extended-command(nil "package-list-packages" nil)
funcall-interactively(execute-extended-command nil "package-list-packages" nil)
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)
Is there a standard thing we can use in these circumstances where it
doesn't much matter what default-directory is, other than that it has to
exist? (And probably has to be readable.)
A `with-ensured-directory' or something might be nice? Or do we just
bind default-directory to "/"?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32004
; Package
emacs
.
(Sat, 28 Sep 2019 17:44:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 32004 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Is there a standard thing we can use in these circumstances where it
> doesn't much matter what default-directory is, other than that it has to
> exist? (And probably has to be readable.)
>
> A `with-ensured-directory' or something might be nice? Or do we just
> bind default-directory to "/"?
I'd prefer to bind it to "~" to make sure it's writable too (just in
case). Also, emacs run as root doesn't risk polluting "/" with
spurious temporary files if there is some writing going on when there
shouldn't be. Or we could use the same value as
url-temporary-directory: (or (getenv "TMPDIR") "/tmp")
Not sure if we want a general facility here, but I guess that depends
on how common these kinds of issues are.
Best regards,
Stefan Kangas
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32004
; Package
emacs
.
(Sun, 29 Sep 2019 10:31:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 32004 <at> debbugs.gnu.org (full text, mbox):
Stefan Kangas <stefan <at> marxist.se> writes:
> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>
>> Is there a standard thing we can use in these circumstances where it
>> doesn't much matter what default-directory is, other than that it has to
>> exist? (And probably has to be readable.)
>>
>> A `with-ensured-directory' or something might be nice? Or do we just
>> bind default-directory to "/"?
>
> I'd prefer to bind it to "~" to make sure it's writable too (just in
> case). Also, emacs run as root doesn't risk polluting "/" with
> spurious temporary files if there is some writing going on when there
> shouldn't be.
Most processes don't really write anything anywhere -- they just need to
have a directory that exists...
The use case here is that you open ~/foo/bar/something in a buffer, then
rmdir ~/foo/bar, and then try to start a process from that buffer --
it'll fail, because default-directory doesn't point to something that
exists.
> Or we could use the same value as
> url-temporary-directory: (or (getenv "TMPDIR") "/tmp")
That's also a good value.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32004
; Package
emacs
.
(Wed, 01 Sep 2021 10:17:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 32004 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>> Or we could use the same value as
>> url-temporary-directory: (or (getenv "TMPDIR") "/tmp")
>
> That's also a good value.
I've now added a macro for this (with-existing-directory) and used it
here, which I think should fix this issue, so I'm closing it. If
there's still issues in this area, please respond to the debbugs address
and we'll reopen.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug marked as fixed in version 28.1, send any further explanations to
32004 <at> debbugs.gnu.org and Mike Dupont <jamesmikedupont <at> googlemail.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 01 Sep 2021 10:17:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 29 Sep 2021 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 265 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.