File: 0001-Avoid-.dpkg-new-upgrading-error.patch

package info (click to toggle)
yasnippet-snippets 0~git20161123-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,000 kB
  • ctags: 19
  • sloc: lisp: 73; python: 23; ada: 4; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 838 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Alberto Luaces <aluaces@udc.es>
Date: Thu, 1 Dec 2016 21:48:40 +0100
Subject: Avoid .dpkg-new upgrading error.

When upgrading, dpkg aborts with saying that the file
clojure/.yas-parent cannot be found.

According to
https://raphaelhertzog.com/2011/07/18/deciphering-one-of-dpkg-weirdest-errors-unable-to-open-pathtofoo-dpkg-new/
this is usually caused by some types of "race conditions" when a file is
shared by more than a directory or when there are multiple links to the
same file.

At the moment I am just disabling the file.
---
 clojure-mode/.yas-parents | 1 -
 1 file changed, 1 deletion(-)
 delete mode 100644 clojure-mode/.yas-parents

diff --git a/clojure-mode/.yas-parents b/clojure-mode/.yas-parents
deleted file mode 100644
index 75d003f..0000000
--- a/clojure-mode/.yas-parents
+++ /dev/null
@@ -1 +0,0 @@
-prog-mode