No longer able to install debs in early command

Bug #521218 reported by Mario Limonciello
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: casper

Version: 1.217

Within the last few iterations of casper there has been some speed improvements. One of the particular improvements is to have a persistent debconf-communicate process running. This causes a conflict with being able to install debs via either an early command or drivers update media.

Colin recommended this patch:
=== modified file 'scripts/casper-bottom/24preseed'
--- scripts/casper-bottom/24preseed 2010-02-11 08:25:35 +0000
+++ scripts/casper-bottom/24preseed 2010-02-12 23:25:46 +0000
@@ -74,7 +74,10 @@ if [ "$locations" ]; then
 fi

 if db_get preseed/early_command && [ "$RET" ]; then
- sh -c "$RET"
+ DEBIAN_FRONTEND=passthrough DEBCONF_READFD=4 DEBCONF_WRITEFD=3 \
+ DEBCONF_DB_REPLACE=configdb \
+ DEBCONF_DB_OVERRIDE='Pipe{infd:none outfd:none}' \
+ sh -c "$RET"
 fi

 # Clear out debconf database backup files to save memory.

----

Unfortunately that doesn't seem to do the trick.

Related branches

description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package casper - 1.218

---------------
casper (1.218) lucid; urgency=low

  * Allow dpkg and apt-get to be installed from within commands that operate
    in the chroot via early_command or driver updates. (LP: #521218)
 -- Mario Limonciello <email address hidden> Tue, 16 Feb 2010 13:38:48 -0600

Changed in casper (Ubuntu):
status: New → Fix Released
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.