Comment 7 for bug 372942

Revision history for this message
jlo (jloandmb) wrote : Re: [Bug 372942] Re: Problem executing scripts APT::Update::Pre-Invoke '/usr/bin/daptup --pre'Sub-process returned an error code

where is that upstream so that i can apply the fix you suggested for daptup? sorry. hope you'll be patient with me. God bless!

--- On Wed, 11/4/09, jlo <email address hidden> wrote:

From: jlo <email address hidden>
Subject: Re: [Bug 372942] Re: Problem executing scripts APT::Update::Pre-Invoke '/usr/bin/daptup --pre'Sub-process returned an error code
To: <email address hidden>
Date: Wednesday, November 4, 2009, 8:43 AM

Processing triggers for man-db ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
juressa@juressa-laptop:~$

I did what you suggested: the sudo apt-get purge daptup but the above appeared at the end. Now, im still figuring it out so that finally i can update and upgrade in my update manager. But thanks anyway. God bless!

--- On Tue, 11/3/09, Michael Vogt <email address hidden> wrote:

From: Michael Vogt <email address hidden>
Subject: [Bug 372942] Re: Problem executing scripts APT::Update::Pre-Invoke '/usr/bin/daptup --pre'Sub-process returned an error code
To: <email address hidden>
Date: Tuesday, November 3, 2009, 6:01 PM

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 address hidden>  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 direct subscriber
of the bug.

Status in “daptup” package in Ubuntu: New

Bug description:
Binary package hint: update-manager

Update Manager reports package information is (now 14) days out-of-date.  However, aptitude was run this morning and everything is up-to-date.
Following the bubble instructions, if I bring up Update Manager and attempt to "search", I get the failure reported in the Summary.

Using Ubuntu 9.04, everything up to date as of today.

--
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 direct subscriber
of the bug.

Status in “daptup” package in Ubuntu: New

Bug description:
Binary package hint: update-manager

Update Manager reports package information is (now 14) days out-of-date.  However, aptitude was run this morning and everything is up-to-date.
Following the bubble instructions, if I bring up Update Manager and attempt to "search", I get the failure reported in the Summary.

Using Ubuntu 9.04, everything up to date as of today.