[Pkg-emacsen-addons] Bug#893598: yasnippet-snippets: Error while updating

Nicholas D Steeves nsteeves at gmail.com
Tue Mar 20 18:10:38 UTC 2018


Hi Harald,

On Tue, Mar 20, 2018 at 05:50:36PM +0100, Harald R wrote:
> Hi Nicholas,
> 
> please see below.
> 
> > Would you please run:
> >
> > locate /clojure-mode/.yas-parents
> 
> The directory /usr/share/yasnippet-snippets/clojure-mode/ exists, but
> there's no .yas-parents in it.
> 
> 
> ls -a /usr/share/yasnippet-snippets/clojure-mode/
> 
> .      bp    defn  doseq  if      is   map.lambda  opts   reduce   try   whenl
> ..     def   defr  fn     ifl     let  mdoc        pr     require  use
> bench  defm  deft  for    import  map  ns          print  test     when
> 
> 
> As expected this doesn't provide any output. The file does not exist
> on my machine.
> 
> > And additionally provide steps to reproduce...
> 
> This morning I ran
> 
> apt-get update && apt-get upgrade
> 
> and nothing more. Then, for the first time ever, I got the error reported.
> 
> I didn't install any new package between the last error-free upgrade
> and today. And I've never consciously touched any clojure-related
> package,
> 
> A few minutes ago I purged yasnippet-snippets and reinstalled the
> package. Now the error message is gone. The .yas-parent file is now
> there.
> 
> You can close the bug if you want.
> 
> Cheers
> Harald

Thank you for the additional information, I appreciate it!
0~git20161123-1 included a patch that removed
closure-mode/.yas-parents to work around a similar bug to this one,
and I'd like to track down the root cause--if possible--rather than
prematurely closing your bug :-)

Is /usr or /usr/share a symlink or bind mount to somewhere else, or
are either of them mounted via NFS?  Also, will the following
commands reproduce "unable to open
'/usr/share/yasnippet-snippets/clojure-mode/.yas-parents.dpkg-new': No
such file or directory"?

sudo apt purge yasnippet-snippets
curl -O https://debian.org/debian/pool/main/y/yasnippet-snippets/yasnippet-snippets_0~git20161123-1_all.deb
sudo dpkg -i yasnippet-snippets_0~git20161123-1_all.deb \
 && sudo apt upgrade \
 && sudo apt-get install --reinstall yasnippet-snippets

Sincerely,
Nicholas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-emacsen-addons/attachments/20180320/87c8e645/attachment.sig>


More information about the Pkg-emacsen-addons mailing list