Re: [Cooker] AutoInstall: 'rpm -i ....' within 'postInstall' hangs

2002-09-12 Thread Nora Etukudo
On Tue, Sep 10, 2002 at 05:39:38PM +0200, Pixel wrote: fred, any idea? I've put a strace -o /tmp/rpm-trace rpm -i in my 'postInstall' script. I looks like the RPM database ist locked: open(/var/lib/rpm/__db.002, O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 3 fcntl64(3, F_SETFD,

Re: [Cooker] AutoInstall: 'rpm -i ....' within 'postInstall' hangs

2002-09-11 Thread Nora Etukudo
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

[Cooker] AutoInstall: 'rpm -i ....' within 'postInstall' hangs

2002-09-10 Thread Nora Etukudo
I used to install some of my own RPM's within the 'postInstall'-script of Mandrake AutoInstall. Since a few days this doesn't work anymore. A 'rpm -i ' hangs silently and I have to kill it manually and then the installation goes further. Within the 'postInstall'-script I used to have

Re: [Cooker] AutoInstall: 'rpm -i ....' within 'postInstall' hangs

2002-09-10 Thread Nora Etukudo
On Tue, Sep 10, 2002 at 01:56:43PM +0200, Nora Etukudo wrote: export DURING_INSTALL=YES If I comment this out, the 'rpm -i ' works again, but then in some Sorry, I was lying. Above 'DURING_INSTALL' doesn't matter at all. And, 'rpm -e ' is hanging either. What is the correct way

Re: [Cooker] AutoInstall: 'rpm -i ....' within 'postInstall' hangs

2002-09-10 Thread Frederic Lepied
Pixel [EMAIL PROTECTED] writes: Nora Etukudo [EMAIL PROTECTED] writes: I used to install some of my own RPM's within the 'postInstall'-script of Mandrake AutoInstall. Since a few days this doesn't work anymore. A 'rpm -i ' hangs silently and I have to kill it manually and then