summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Luaces <aluaces@udc.es>2016-12-01 21:52:08 +0100
committerAlberto Luaces <aluaces@udc.es>2016-12-01 21:52:55 +0100
commitcff25998ad040ced3922544760bed6f220d949b2 (patch)
tree3f4e49d0c2ed741c0e136517b2fc7e1103642f0f
parent83355faf3e530fb36fcb32750ebedda19e1927ef (diff)
Disabled parents in clojure mode due to upgrading errors.
-rw-r--r--debian/patches/0001-Avoid-.dpkg-new-upgrading-error.patch26
-rw-r--r--debian/patches/series1
2 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/0001-Avoid-.dpkg-new-upgrading-error.patch b/debian/patches/0001-Avoid-.dpkg-new-upgrading-error.patch
new file mode 100644
index 0000000..8b59660
--- /dev/null
+++ b/debian/patches/0001-Avoid-.dpkg-new-upgrading-error.patch
@@ -0,0 +1,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
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4eaf3ee
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Avoid-.dpkg-new-upgrading-error.patch