November 21, 2024, 10:27:43 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: RPM segmentation fault  (Read 11953 times)

Offline gaurava99

  • New Member
  • Posts: 2
RPM segmentation fault
« on: July 16, 2004, 02:12:33 PM »
hi,

I am using Redhat linux 9.0 .....

Whenever i try to install anything using RPM i recive "Segmentation Fault"



# whenever i try "rpm -qa "


after a long list of intalled RPMs i recive msg :

error: rpmdbNextIterator: skipping h# 712 blob size(39876): BAD, 8 + 16 * il(64) + dl(2980)



# this is the result of rpm -qa glibc\* if of any help
..................................................................
glibc-common-2.3.2-11.9
glibc-2.3.2-11.9
glibc-kernheaders-2.4-8.10
glibc-devel-2.3.2-11.9
error: rpmdbNextIterator: skipping h# 712 blob size(39876): BAD, 8 + 16 * il(64) + dl(2980)
................................................................

Plese mail the solution at gaurava99@yahoo.com also

__________________
Gaurav Agrawal

Offline arky

  • Linux Noob !
  • *
  • Posts: 4
Re: RPM segmentation fault
« Reply #1 on: August 03, 2004, 01:49:38 PM »
Try rebuilding you rpmdb for a couple of times to get rid of this error.

$ rpm --rebuildb

HTH

--arky
Manager http://www.geteducation.com/
HomPage http://arky.port5.com/

Offline Birdy

  • New Member
  • Posts: 1
RPM segmentation fault
« Reply #2 on: September 13, 2004, 12:34:30 AM »
When you get a segmentation fault while installing a package using RPM, most of the times it is because of depency failure(s) in one of the packages used by RPM itself (directly or indirectly).

You can check depencies with
Code: [Select]
$ rpm -V --nofiles --nomd5 -a
I've spent 2 days to learn how packages and depencies can mess up my system, and how to get it back on track. It is a matter of trial and error, in- and uninstalling the right packages. Too high versions require to much other packages, and too low ones don't provide the needs you want.

When RPM fails installing, you can try it with another package manager like KPackage. For RPM 4.1 on a RedHat 7.x system for example you need the following rpmfiles:
- popt-1.7-1.07.7x.i386.rpm
- rpm-4.1-1.07.7x.i386.rpm
- rpm-build-4.1-1.07.7x.i386.rpm
- rpm-python-4.1-1.07.7x.i386.rpm
Install these at the same time as they depend on each other:
Code: [Select]
$ rpm -Uvh popt-1.7-1.07.7x.i386.rpm \
rpm-4.1-1.07.7x.i386.rpm rpm-build-4.1-1.07.7x.i386.rpm \
rpm-python-4.1-1.07.7x.i386.rpm
where \ denotes a whitspace

A good site where you can search for RPM's by name or by files needed, including wildcard options is http://rpm.pbone.net/

I cannot explain directly how you can get rid of the error, because some more information of your specific linux installation is required. You can get this information by the information above, so feel free to post more specific details.