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

Bug #372942 reported by David A. Cobb
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
daptup (Ubuntu)
New
Undecided
Unassigned

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.

Revision history for this message
jlo (jloandmb) wrote :

"Problem executing scripts APT::Update::Pre-Invoke '/usr/bin/daptup --pre'Sub-process returned an error code" So how can I solve this problem? ASAP

Revision history for this message
Asta Lyberth (astalyberth) wrote :

I have the same problem, or this exit message shows up when I try reloading in synaptic as well. How do I get further? I want to install Cinelerra from Akirad and get on with my doings... Please come with some suggestions...!

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

Im glad someone is responding to me but my dear, im just a newbie in ubuntu. Im still exploring and searching the answer in the net. If I have come up with something about it, ill let you know. God bless!

--- On Mon, 11/2/09, Asta Lyberth <email address hidden> wrote:

From: Asta Lyberth <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: Monday, November 2, 2009, 6:27 AM

I have the same problem, or this exit message shows up when I try
reloading in synaptic as well. How do I get further? I want to install
Cinelerra from Akirad and get on with my doings... Please come with some
suggestions...!

--
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 “update-manager” 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.

Revision history for this message
Michael Vogt (mvo) wrote :

Please run:
$ sudo apt-get purge daptup
to get rid of the error (or use complete removal in synaptic).

affects: update-manager (Ubuntu) → daptup (Ubuntu)
Revision history for this message
Michael Vogt (mvo) wrote :

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;" };

Revision history for this message
jlo (jloandmb) wrote :

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.

Revision history for this message
jlo (jloandmb) wrote :
Download full text (3.5 KiB)

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 ...

Read more...

Revision history for this message
jlo (jloandmb) wrote :
Download full text (4.5 KiB)

i still cant find the answer to my prob. hope you can help 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, 12:50 PM

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 failu...

Read more...

Revision history for this message
jlo (jloandmb) wrote :

THANKS! I HAVE UPDATED MY UBUNTU AGAIN! HOW I WISH WE CAN CHAT SO THAT I CAN THANK YOU. 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, 5:47 PM

Please run:
$ sudo apt-get purge daptup
to get rid of the error (or use complete removal in synaptic).

** Package changed: update-manager (Ubuntu) => daptup (Ubuntu)

--
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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.