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

Axel Beckert abe at debian.org
Tue Mar 20 21:44:34 UTC 2018


Hi Nicholas,

I just experienced the (probably) same issue:

Preparing to unpack .../87-yasnippet-snippets_0~git20180307.2b4c4d7e-1_all.deb ...
Unpacking yasnippet-snippets (0~git20180307.2b4c4d7e-1) over (0~git20161123-1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-lJHmtd/87-yasnippet-snippets_0~git20180307.2b4c4d7e-1_all.deb (--unpack):
 unable to open '/usr/share/yasnippet-snippets/clojure-mode/.yas-parents.dpkg-new': No such file or directory
Errors were encountered while processing:
 /tmp/apt-dpkg-install-lJHmtd/87-yasnippet-snippets_0~git20180307.2b4c4d7e-1_all.deb

Nicholas D Steeves wrote:
> Is /usr or /usr/share a symlink or bind mount to somewhere else, or
> are either of them mounted via NFS?

Not in my case:

→ mount | fgrep usr
→ ls -ldF /usr /usr/share
drwxr-xr-x  12 root root  4096 Feb 28 05:29 /usr/
drwxr-xr-x 990 root root 32768 Mar 20 22:01 /usr/share/

> Also, will the following
> commands reproduce "unable to open
> '/usr/share/yasnippet-snippets/clojure-mode/.yas-parents.dpkg-new': No
> such file or directory"?
[...]
> curl -O https://debian.org/debian/pool/main/y/yasnippet-snippets/yasnippet-snippets_0~git20161123-1_all.deb

JFTR: This is no valid Debian mirror URL.

Anyway, I first purged yasnippet-snippets (0~git20161123-1 was still
installed due to the failed upgrade), then I installed
yasnippet-snippets 0~git20161123-1 from Debian Testing again. Then I
tried to upgrade yasnippet-snippets to 0~git20180307.2b4c4d7e-1 from
Debian Unstable again:

[...]
Removing yasnippet-snippets (0~git20161123-1) ...
[...]
Selecting previously unselected package yasnippet-snippets.
(Reading database ... 1040898 files and directories currently installed.)
Preparing to unpack .../yasnippet-snippets_0~git20161123-1_all.deb ...
Unpacking yasnippet-snippets (0~git20161123-1) ...
Setting up yasnippet-snippets (0~git20161123-1) ...
[...]
Preparing to unpack .../yasnippet-snippets_0~git20180307.2b4c4d7e-1_all.deb ...
Unpacking yasnippet-snippets (0~git20180307.2b4c4d7e-1) over (0~git20161123-1) ...
Setting up yasnippet-snippets (0~git20180307.2b4c4d7e-1) ...
[...]

So, no, if the initially installed yasnippet-snippets version is
0~git20161123-1, the issue doesn't seem to happen.

Which leaves the question: Upgrading from which version does exhibit
that behaviour?

In my case it was an Debian Unstable which has been upgraded
regularily since its installation on 2014-04-08. yasnippet-snippets
has been first installed in version 0~git20150512-1 on Thu May 28
19:16:25 2015 +0200.

HTH.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the Pkg-emacsen-addons mailing list