Here is the fix that needs to be applied to daptup, I send it upstream: diff -Nru daptup-0.9.1.1/debian/changelog daptup-0.9.1.2/debian/changelog --- daptup-0.9.1.1/debian/changelog 2009-10-17 17:10:30.000000000 +0200 +++ daptup-0.9.1.2/debian/changelog 2009-11-03 10:59:19.000000000 +0100 @@ -1,3 +1,10 @@ +daptup (0.9.1.2) unstable; urgency=low + + * fix apt hook so that it keeps working with a uninstalled + (but not purged) daptup + + -- Michael Vogt <[email protected]> Tue, 03 Nov 2009 10:48:24 +0100 + daptup (0.9.1.1) unstable; urgency=low * Define the environment variable 'DAPTUP_EXTRA_APTITUDE_ARGUMENTS' before diff -Nru daptup-0.9.1.1/hook-for-apt daptup-0.9.1.2/hook-for-apt --- daptup-0.9.1.1/hook-for-apt 2009-10-17 17:10:30.000000000 +0200 +++ daptup-0.9.1.2/hook-for-apt 2009-11-03 10:59:05.000000000 +0100 @@ -1,2 +1,2 @@ -APT::Update::Pre-Invoke { "/usr/bin/daptup --pre"; }; -APT::Update::Post-Invoke { "/usr/bin/daptup --post"; }; +APT::Update::Pre-Invoke { "if [ -x /usr/bin/daptup ]; then /usr/bin/daptup --pre; fi;" }; +APT::Update::Post-Invoke { "if [ -x /usr/bin/daptup ]; then /usr/bin/daptup --post; fi;" };
-- Problem executing scripts APT::Update::Pre-Invoke '/usr/bin/daptup --pre'Sub-process returned an error code https://bugs.launchpad.net/bugs/372942 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
