From cff25998ad040ced3922544760bed6f220d949b2 Mon Sep 17 00:00:00 2001 From: Alberto Luaces Date: Thu, 1 Dec 2016 21:52:08 +0100 Subject: Disabled parents in clojure mode due to upgrading errors. --- .../0001-Avoid-.dpkg-new-upgrading-error.patch | 26 ++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 27 insertions(+) create mode 100644 debian/patches/0001-Avoid-.dpkg-new-upgrading-error.patch create mode 100644 debian/patches/series 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 +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 -- cgit v1.2.3