reopen 872305 ! tag 872305 + patch thanks Was able to reproduce this.
Steps to reproduce: 1. Install diaspora and diaspora-common 2. Uninstall diaspora but not diaspora-common 3. Install diaspora package - the above error will be thrown diaspora package shouldn't be deleting symlinks from diaspora-common. The attached patch is to fix this issue. -- Thanks, Joseph Nuthalapati
From 810201286f5b4ed8400977ba39058aa60b0690fc Mon Sep 17 00:00:00 2001 From: Joseph Nuthalapati <njos...@thoughtworks.com> Date: Mon, 11 Dec 2017 13:01:46 +0530 Subject: [PATCH] Don't remove files that are created/removed by diaspora-common The following symlinks are removed when diaspora-common is removed: /usr/share/diaspora/public /usr/share/diaspora/.bundle /usr/share/diaspora/Gemfile.lock /usr/share/diaspora/tmp /usr/share/diaspora/app/assets The following files are removed as part of postrm purge of diaspora-common: /var/lib/diaspora/app-assets /usr/share/diaspora/.eye is never created only /var/lib/diaspora/.eye exists. Signed-off-by: Joseph Nuthalapati <njos...@thoughtworks.com> --- debian/postrm | 7 ------- 1 file changed, 7 deletions(-) diff --git a/debian/postrm b/debian/postrm index 3ed8fa7..295877b 100644 --- a/debian/postrm +++ b/debian/postrm @@ -18,13 +18,6 @@ case "$1" in # This package is being removed, but its configuration has not yet # been purged. : - - rm -rf /usr/share/diaspora/tmp - rm -rf /usr/share/diaspora/public - rm -rf /usr/share/diaspora/app/assets/images - rm -rf /usr/share/diaspora/.bundle - rm -rf /usr/share/diaspora/.eye - rm -rf /usr/share/diaspora/Gemfile.lock # Remove diversion # ldconfig is NOT needed during removal of a library, only during -- 2.15.0
signature.asc
Description: OpenPGP digital signature