[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#470048: installation-report: long pause -- 3 minutes -- at 97% during "cleaning up" phase



On Monday 10 March 2008, Rick Thomas wrote:
> This one was done using the "multiarch" ...powerpc... CD from the
> 20080308-1 directory.
> The pause is at Mar 10 05:49:18 in the enclosed install syslog.

Thanks. That does narrow it down a little bit, but not quite far enough, 
especially as the debug output from the isinstallable script seems to 
disappear.

Could you do one more run and then with the following changes. Using logger 
should give more exact timing info ('set -x' output gets delayed).

In /var/lib/dpkg/info/pkgsel.postinst (bottom part):
+logger -t debug "pkgsel: starting cleanup"
 if ! cleanup; then
         log "cleanup failed"
 fi
 db_progress STEP 2

 if [ -x /target/usr/bin/scrollkeeper-update ]; then
+        logger -t debug "pkgsel: running scrollkeeper-update"
         log-output -t pkgsel chroot /target scrollkeeper-update -q || true
 fi
 if [ -x /target/usr/bin/fc-cache ]; then
+       logger -t debug "pkgsel: running fc-cache"
        chroot /target fc-cache -f -v >/target/var/log/fontconfig.log 2>&1 \
                || true
 fi
+logger -t debug "pkgsel: cleanup done"

 db_progress STEP 3
 db_progress STOP

 load_cd1
+logger -t debug "pkgsel: done"

In /var/lib/dpkg/info/grub-installer.isinstallable (just below functions):
+logger -t debug "grub: detecting arch"
 ARCH="$(archdetect)"
+logger -t debug "grub: arch is $ARCH"

Cheers,
FJP



Reply to: