[Bug 372942] Re: Problem executing scripts APT::Update::Pre-Invoke '/usr/bin/daptup --pre'Sub-process returned an error code

jlo jloandmb at yahoo.com
Wed Nov 4 00:43:07 UTC 2009


Processing triggers for man-db ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
juressa at 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 <michael.vogt at ubuntu.com> wrote:

From: Michael Vogt <michael.vogt at ubuntu.com>
Subject: [Bug 372942] Re: Problem executing scripts APT::Update::Pre-Invoke '/usr/bin/daptup --pre'Sub-process returned an error code
To: jloandmb at yahoo.com
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 <michael.vogt at ubuntu.com>  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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


More information about the universe-bugs mailing list