postinstall script fails

Bug #182276 reported by René Brandenburger
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dtc (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: dtc

on a clean 7.10 server install, the last step of installing dtc-toaster fails with

root@sample:~# /usr/share/dtc/admin/install/install <Enter>

...
...
Creating chroot shell script...
-> Fixup rights
-> Managing ldconfig
exec: 17: /sbin/ldconfig.real: not found

the following tip from http://forums.gplhost.com/phpBB2/image-vp4081.html helped

Add an asterisk after "ldconfig" in functions.php to see if it helps.

You can find functions.php under /usr/share/dtc/admin/install/ directory.

Search for "ldconfig" (around line 3131) Modify as follow:-

# copy ldconfig from sbin to $conf_chroot_path/sbin
if ! [ $UNIX_TYPE"" = "osx" ] ; then
cp -pf /sbin/ldconfig* sbin/
fi

Run /usr/share/dtc/admin/install/install again.

it would be nice if this could be fixed in the packages

Revision history for this message
Wouter Geraedts (w-geraedts) wrote :

Above solution works. Bug not fixed yet. (after 7 months)

in_vain (crew-soc)
Changed in dtc:
status: New → Fix Committed
Revision history for this message
necr0man6er (vincent-blaasvis) wrote :

This bug is also in 8.04, can this be fixed somehow.

Revision history for this message
Przemek K. (azrael) wrote :

Can you test if this bug is still present in latest version? (9.10)

Revision history for this message
Przemek K. (azrael) wrote :

No reply, closing.

Changed in dtc (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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