I have run into a regular problem with "segmentation error" when I try and intall applications with an rpm. I can't see anything in this script which is giving me a clue as to what the problem might be. Because I have had this happen on nuerous occasions with different applications I am wondering whether the issue is a Fedora one (or more likely me) rather than a difficulty with the rpm itself.
Any pointers on what might be going on would be helpful.
Thanks.
Dave Smith
The script , as far as it goes, is as follows:
[root@localhost dave]# rpm -ivv /home/dave/applications/amaya/amaya_gl-8.5-1.i386.rpm
D: ============== /home/dave/applications/amaya/amaya_gl-8.5-1.i386.rpm
D: Expected size: 5195208 = lead(96)+sigs(180)+pad(4)+data(5194928)
D: Actual size: 5195208
D: /home/dave/applications/amaya/amaya_gl-8.5-1.i386.rpm: MD5 digest: OK (3d73ea62da699012f59affe000405233)
D: added binary package [0]
D: found 0 source and 1 binary packages
D: opening db environment /var/lib/rpm/Packages joinenv
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: ========== +++ amaya_gl-8.5-1 i386-linux 0x1
D: opening db index /var/lib/rpm/Depends create mode=0x0
D: opening db index /var/lib/rpm/Basenames rdonly mode=0x0
D: opening db index /var/lib/rpm/Pubkeys rdonly mode=0x0
D: read h# 1461 Header sanity check: OK
D: ========== DSA pubkey id b44269d04f2a6fd2
D: read h# 33 Header V3 DSA signature: OK, key ID 4f2a6fd2
D: Requires: /bin/sh YES (db files)
D: Requires: /bin/sh YES (cached)
D: opening db index /var/lib/rpm/Providename rdonly mode=0x0
Segmentation fault