[Date Prev][Date Next] [Chronological] [Thread] [Top]

RH 7.2 rpm Segmentation fault - cross-post from rpm-list




I also posted this to rpm-list, but since I was trying to do ldap stuff, I
thought someone else may have experienced it here

 Rpm was working fine until I tried to do a rpm -ba command to create a
samba package that supported ldap

 It gave me an error about a couple of dependent packages that it couldn't
find, so I tried to install them from the RH CDs with rpm -Uvh I get the
prepearing message but then it comes up with a segmentation fault

 I tried a rpm --rebuilddb that went through without errors and I can do
rpm -qa variations without problems but I still get segmentation fault
errors when I try to install packages.

 I have RPM version 4.0.3 and I did not upgrade from a previous version
(this RH7.2 install went on a blank hard drive)

 Any ideas?

 rpm -Uvvh pam-devel*rpm gives me:
 D: ============== /usr/redhatrpms/pam-devel-0.75-14.i386.rpm
 D: Expected size:        61289 = lead(96)+sigs(149)+pad(3)+data(61041)
 D:   Actual size:        61289
 D: opening  db environment /var/lib/rpm/Packages joinenv
 D: opening  db index       /var/lib/rpm/Packages create mode=0x42
 D: locked   db index       /var/lib/rpm/Packages
 D: opening  db environment /var/lib/rpm/Name joinenv
 D: opening  db index       /var/lib/rpm/Name create mode=0x42
 D:      added binary package [0]
 D: found 0 source and 1 binary packages
 D: ========== +++ pam-devel-0.75-14
 D: opening  db index       /var/lib/rpm/Depends create mode=0x42
 D: opening  db environment /var/lib/rpm/Providename joinenv
 D: opening  db index       /var/lib/rpm/Providename create mode=0x42
 D:   YES    A pam = 0.75-14     B pam = 0.75-14
 D:  Requires: pam = 0.75-14                                 YES (db
provides)
 D:   NO     A rpmlib(PayloadFilesHavePrefix) <= 4.0-1   B
rpmlib(VersionedDependencies) = 3.0.3-1
 D:   NO     A rpmlib(PayloadFilesHavePrefix) <= 4.0-1   B
rpmlib(CompressedFileNames) = 3.0.4-1
 D:   NO     A rpmlib(PayloadFilesHavePrefix) <= 4.0-1   B
rpmlib(PayloadIsBzip2) = 3.0.5-1
 D:   YES    A rpmlib(PayloadFilesHavePrefix) <= 4.0-1   B
rpmlib(PayloadFilesHavePrefix) = 4.0-1
 D:  Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1       YES (rpmlib
provides)
 D:   NO     A rpmlib(CompressedFileNames) <= 3.0.4-1    B
rpmlib(VersionedDependencies) = 3.0.3-1
 D:   YES    A rpmlib(CompressedFileNames) <= 3.0.4-1    B
rpmlib(CompressedFileNames) = 3.0.4-1
 D:  Requires: rpmlib(CompressedFileNames) <= 3.0.4-1        YES (rpmlib
provides)
 D: opening  db environment /var/lib/rpm/Conflictname joinenv
 D: opening  db index       /var/lib/rpm/Conflictname create mode=0x42
 D: ========== recording tsort relations
 D: ========== tsorting packages (order, #predecessors, #succesors, depth)
 D:     0    0    1  0  pam-devel-0.75-14
 D: installing binary packages
 D: getting list of mounted filesystems
 Preparing...                D: opening  db environment
/var/lib/rpm/Basenames joinenv
 D: opening  db index       /var/lib/rpm/Basenames create mode=0x42
 ########################################### [100%]
 D: Expected size:        61289 = lead(96)+sigs(149)+pad(3)+data(61041)
 D:   Actual size:        61289
 D:   install: pam-devel-0.75-14 has 25 files, test = 0
 Segmentation fault