[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug 1283] Problem with svk when upgrading.



http://bugs.skolelinux.no/show_bug.cgi?id=1283





------- Additional Comments From pere@hungry.com  2007-11-23 22:01 -------
I'm not able to reproduce this problem with the files I add to my qemu
test machines /etc/.

But, one way to solve the apt problem is to make sure the commit errors
are non-fatal.  I propose this patch to solve it:

Index: etcsvk-apt.conf
===================================================================
--- etcsvk-apt.conf     (revision 39071)
+++ etcsvk-apt.conf     (working copy)
@@ -1,2 +1,2 @@
-DPkg::Pre-Install-Pkgs { "if [ -x /usr/sbin/debian-edu-etc-svk ]; then debian-
edu-etc-svk commit; fi"; };
-DPkg::Post-Invoke      { "if [ -x /usr/sbin/debian-edu-etc-svk ]; then debian-
edu-etc-svk commit; fi"; };
+DPkg::Pre-Install-Pkgs { "if [ -x /usr/sbin/debian-edu-etc-svk ]; then debian-
edu-etc-svk commit || true; fi"; };
+DPkg::Post-Invoke      { "if [ -x /usr/sbin/debian-edu-etc-svk ]; then debian-
edu-etc-svk commit || true; fi"; };

The file is installed in /etc/apt/apt.conf.d/05debian-edu-etc-svk .




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



Reply to: