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?

What is the version of rpm and of glibc?

ls -l /var/lib/rpm

> also when trying to remove packages rpm -e I get a seg-fault.
> when installing/updating dependency checking and preperation of the
> packages work fine and after that it fails.
> I have tried rpm --rebuilddb which didn't do any good.
> I have tried installing/removing several freeciv rpms and several mysql
> rpms all had the same results. while urpmi still works fine.

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 rpm with debug
> symbols and debugging it as one of my own)

Two useful tracing tools:

strace, rpm -vv

-- 
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