On Tue, Sep 10, 2002 at 09:43:30PM +0200, Frederic Lepied wrote:

> DURING_INSTALL isn't used by rpm directly. It's used by ldconfig and
> update-menus iirc. You can probably debug by issueing a pstree in
> console 2 to see what process is hanging.

    1010 [calypso:/share/8x/ks] =cat tmp/nora.log 

     PID   RSS %CPU CMD
       1     0  0.2 (swapper)
       2     0  0.0 (keventd)
       3     0  0.0 (ksoftirqd_CPU0)
       4     0  0.2 (kswapd)
       5     0  0.2 (bdflush)
       6     0  0.3 (kupdated)
       7     4  0.0 linuxrc
       8    16  0.0 linuxrc
       9 24260  4.9 /usr/bin/perl /usr/bin/runinstall2 --method nfs
      11     0  1.2 (rpciod)
      12    80  0.0 /bin/sh
      18     0  0.0 (khubd)
    2635  2016  0.1 cupsd
    2665   300  0.0 minilogd
    3022  1268  0.0 bash -c \"
    3027  1276  0.0 sh scripts/extra_rpms
    3028  1232  0.0 rpm -i /share/8x/ks/rpms/msfonts-0.2-3ne.i586.rpm --n
    3048  3948 99.0 /usr/bin/perl /usr/bin/ps

   swapper-+-bdflush
           |-cupsd
           |-keventd
           |-khubd
           |-ksoftirqd_CPU0
           |-kswapd
           |-kupdated
           |-linuxrc-+-linuxrc
           |         `-runinstall2-+-bash---sh---rpm
           |                       |-busybox---pstree
           |                       `-rpciod
           `-minilogd

I'm unable to interpret the output from 'pstree'. After I killed '3028'
(rpm -i /share/8x/...) the installation went on.

The whole 'rpm' line reads

   rpm -i /share/8x/ks/rpms/msfonts-0.2-3ne.i586.rpm --nopost

I added the '--nopost' because I thought the script

    1012 [calypso:/share/8x/ks] =rpm -qp --scripts rpms/msfonts-0.2-3ne.i586.rpm 
   preinstall program: /bin/sh
   postinstall scriptlet (through /bin/sh):
   perl -pi \
           -e 'print "\t/usr/X11R6/lib/X11/fonts/ms,\n" if m/Speedo,$/;' \
           /usr/X11R6/lib/X11/fs/config
   if [ -z "$DURING_INSTALL" ]; then
           cd /usr/X11R6/lib/X11/fonts/ms
           chkfontpath --add /usr/X11R6/lib/X11/fonts/ms
           /etc/rc.d/init.d/xfs restart
           if [ $DISPLAY'f' != 'f' ]; then
                   set fb rehash
           fi
   fi
   preuninstall program: /bin/sh

does something very odd, but this doesn't help. I didn't change this RPM
since about a year and about a week ago it worked.

Hhum, you might ask: '/share/8x' is properly mounted whithin the chroot
environment (all my other stuff works).

One further thing: I wonder why 'cupsd' is running during installation!?

Liebe Grüße, Nora.
-- 
[EMAIL PROTECTED]
     IM-NETZ Neue Medien, Berlin               http://www.im-netz.de/
     WWW von Frauen für Frauen, Hamburg        http://www.w4w.net/
     Lesbian Computer Networks, Helsinki       http://www.sappho.net/

Reply via email to