On Sun, Apr 04, 2004 at 05:53:42PM +0200, Maor Meir wrote:
> 
> 
> On Sun, 4 Apr 2004, Tzafrir Cohen wrote:
> 
> > On Sun, Apr 04, 2004 at 12:45:07PM +0200, Maor Meir wrote:
> > > Hi,
> > > I am running mandrake 8.1, and practicly anything I do with rpm
> > > ends in a segmentation fault. I have managed installing a few packages
> > > with urpmi successfully but when I try installing external packages
> > > with rpm I get a segmentation fault.
> >
> > 'rpm -q rpm' as a non-root user works?
> 
> Yes rpm -q works fine:
> 
>  What is the version of rpm and of glibc?
> rpm-4.0.4-19mdk

> glibc-2.3.2-14mdk

Where is it from? Any chance this version has NPTL support?

> 
> > Does it actually install? You should see "progress bars", as it uses rpm
> > -[iU]vh to install packages.
> 
> > > what does urpmi do diffrently?
> > > how does one debug rpm? (I would rather avoide compiling rpmwith debug
> > > symbols and debugging it as one of my own)

If the above is true, check its environment for LD_ASSUME_KERNEL
(/proc/<ID>/env) . Though I figure this is not that.

> >
> > Two useful tracing tools:
> >
> > strace, rpm -vv
> 
> strace I already tried before ddn't seem very usefull,
> rpm -Uvvh MySQL-server-5.0.0-0.i386.rpm
> gave the followinf output:
> ...snip...
> D: closed   db index       /var/lib/rpm/Depends
> D: ========== recording tsort relations
> D: ========== tsorting packages (order, #predecessors, #succesors, tree,
> depth)
> D:     0    0    1    0    0  MySQL-server-5.0.0-0
> D: installing binary packages
> Preparing...                ###########################################
> [100%]
> D: Expected size:     12448671 = lead(96)+sigs(149)+pad(3)+data(12448423)
> D:   Actual size:     12448671
> D:   install: MySQL-server-5.0.0-0 has 164 files, test = 0
> Segmentation fault (core dumped)

-- 
Tzafrir Cohen                       +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]       +---------------------------+

--------------------------------------------------------------------------
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]


Reply via email to