Hi, rpm --vv gives me the following output when I try to install just about anything. I need to be able to track down what has gone a miss for so many packages to give me preun and postun errors (it's just about every package on my machine that I try to install using rpm or via yum) and need to get it sorted quite quickly. Is it likely that I have two versions of the some package installed which is causing the script error and if that's the case, how do I track them down? (I'll guess at rpm -qa | grep - but I'm not sure how to only list duplicates or even everything installed in alphabetical order) D: ============== kernel-2.6.10-1.1056_FC4.i686.rpm D: Expected size: 16773245 = lead(96)+sigs(180)+pad(4)+data (16772965) D: Actual size: 16773245 D: kernel-2.6.10-1.1056_FC4.i686.rpm: MD5 digest: OK (5c8481c8999b44702da2be0f30f588e4) 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: ========== +++ kernel-2.6.10-1.1056_FC4 i686/linux 0x0 D: opening db index /var/lib/rpm/Depends create mode=0x0 D: Requires: rpmlib(VersionedDependencies) <= 3.0.3-1 YES (rpmlib provides) D: opening db index /var/lib/rpm/Providename rdonly mode=0x0 D: read h# 852 Header SHA1 digest: OK (f5148bed26f7c4c4a5558898d4383610569069e1) D: Requires: fileutils YES (db provides) D: read h# 854 Header SHA1 digest: OK (2bf0bc913297f811aea435020e287ab33034f1d2) D: Requires: module-init-tools YES (db provides) D: read h# 492 Header SHA1 digest: OK (44eb4c9dcf49b732335da2d8800c0380e4ae4646) D: Requires: initscripts >= 5.83 YES (db provides) D: read h# 659 Header SHA1 digest: OK (47f73590bf09a7586210d18bbb3c18d9c5b80f5b) D: Requires: mkinitrd >= 4.1.15 YES (db provides) D: opening db index /var/lib/rpm/Basenames rdonly mode=0x0 D: read h# 68 Header SHA1 digest: OK (21bd0b96e584da659d47243215e54c2e243a2e73) D: Requires: /bin/sh YES (db files) D: Requires: /bin/sh YES (cached) D: Requires: /bin/sh YES (cached) D: Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 YES (rpmlib provides) D: Requires: rpmlib(CompressedFileNames) <= 3.0.4-1 YES (rpmlib provides) D: read h# 751 Header SHA1 digest: OK (1ae380b9bd9b2abb08853d4442a724e0d6f81327) D: Conflicts: ppp <= 2.3.15 NO D: read h# 131 Header SHA1 digest: OK (c2f3c39b4c7268b3a32f51cee2fd95c91ce22524) D: Conflicts: pcmcia-cs <= 3.1.20 NO D: read h# 983 Header SHA1 digest: OK (6a8c0f0c44773fe59e67d2646bffcebb94c85c2f) D: Conflicts: isdn4k-utils <= 3.0 NO D: read h# 1037 Header SHA1 digest: OK (26bce07e8f9848075583ef135909fbb048281c25) D: Conflicts: mount < 2.10r-5 NO D: opening db index /var/lib/rpm/Pubkeys rdonly mode=0x0 D: read h# 66 Header sanity check: OK D: ========== DSA pubkey id b44269d04f2a6fd2 D: read h# 1003 Header V3 DSA signature: OK, key ID 4f2a6fd2 D: Conflicts: nfs-utils < 1.0.3 NO D: read h# 796 Header V3 DSA signature: OK, key ID 4f2a6fd2 D: Conflicts: e2fsprogs < 1.29 NO D: Conflicts: util-linux < 2.10 NO D: Conflicts: jfsutils < 1.0.14 NO D: Conflicts: reiserfsprogs < 3.6.3 NO D: Conflicts: xfsprogs < 2.1.0 NO D: read h# 746 Header SHA1 digest: OK (8e7576b053285767a1423aab2ecd1b3e6cc14316) D: Conflicts: procps < 2.0.9 NO D: read h# 828 Header V3 DSA signature: OK, key ID 4f2a6fd2 D: Conflicts: oprofile < 0.5.3 NO D: Conflicts: cipe < 1.4.5 NO D: read h# 1020 Header SHA1 digest: OK (fd0a8f8275c3eea26325cf32777c2411ab722eeb) D: Conflicts: kudzu <= 0.92 NO D: Conflicts: initscripts < 7.23 NO D: read h# 684 Header SHA1 digest: OK (ab2a234956bac6ed5d7c2d1c5949702dffe48ae7) D: Conflicts: dev < 3.2-7 NO D: read h# 480 Header SHA1 digest: OK (0f5f0d98640ce57bac9f4bfc8b0124edcd19fbd8) D: Conflicts: iptables < 1.2.5-3 NO D: Conflicts: bcm5820 < 1.81 NO D: Conflicts: nvidia-rh72 <= 1.0 NO D: read h# 218 Header SHA1 digest: OK (42cd02a992ff839079b193da3e02c69298f6b8e2) D: Conflicts: SysVinit < 2.84-13 NO D: read h# 742 Header SHA1 digest: OK (9d248f1a3b7bd800bf97d6e55bfc5826fd06fbef) D: Conflicts: pam < 0.75-48 NO D: read h# 856 Header SHA1 digest: OK (f28fa22e3a15d0e451f71cdd3082a5532ef2b6f2) D: Conflicts: vixie-cron < 3.0.1-73 NO D: Conflicts: privoxy < 3.0.0-8 NO D: read h# 126 Header SHA1 digest: OK (ef7b03d639df6c3527947d919bf87fa7fe0cc996) D: Conflicts: spamassassin < 2.44-4.8.x NO D: read h# 1027 Header SHA1 digest: OK (0de24248a864a527a82079eb5f3d952004a376f4) D: Conflicts: cups < 1.1.17-13 NO D: opening db index /var/lib/rpm/Conflictname rdonly mode=0x0 D: read h# 261 Header SHA1 digest: OK (bbf461f9d961f099cef7553c9c2b2f03a490a42a) D: read h# 643 Header SHA1 digest: OK (2be0d6f6f63c222df07d98522da42c1abcee5d3f) D: read h# 660 Header SHA1 digest: OK (d97f50add501eb55584e039f22f77a9d69100fb8) D: read h# 674 Header SHA1 digest: OK (ee78e8ed97377b5ce4cc4c964b702d9425164cdd) D: Conflicts: kernel < 2.2.0 NO D: Conflicts: kernel < 0:2.6 NO D: Conflicts: kernel < 2.2.12-7 NO D: closed db index /var/lib/rpm/Pubkeys D: closed db index /var/lib/rpm/Depends D: closed db index /var/lib/rpm/Conflictname D: closed db index /var/lib/rpm/Providename D: closed db index /var/lib/rpm/Basenames D: closed db index /var/lib/rpm/Packages D: closed db environment /var/lib/rpm/Packages D: ========== recording tsort relations D: ========== tsorting packages (order, #predecessors, #succesors, tree, depth) D: 0 0 0 0 0 +kernel-2.6.10-1.1056_FC4 D: installing binary packages D: opening db environment /var/lib/rpm/Packages joinenv D: opening db index /var/lib/rpm/Packages create mode=0x42 D: mounted filesystems: D: i dev bsize bavail iavail mount point D: 0 0x0301 4096 6415763 3825198 / D: 1 0x0003 4096 0 -1 /proc D: 2 0x0000 4096 0 -1 /sys D: 3 0x0009 4096 0 -1 /dev/pts D: 4 0x0010 4096 96984 96983 /dev/shm D: 5 0x0305 4096 4217971 3623939 /usr D: 6 0x0341 4096 14095612 9634914 /home D: 7 0x0342 4096 4255400 4928919 /MP3 D: 8 0x2201 4096 6652654 10714788 /Programming D: 9 0x2202 4096 7906951 4293625 /web D: 10 0x2241 4096 7094245 14809266 /backup D: 11 0x0012 4096 0 -1 /proc/sys/fs/binfmt_misc D: 12 0x0013 4096 0 -1 /var/lib/nfs/rpc_pipefs D: sanity checking 1 elements D: opening db index /var/lib/rpm/Name create mode=0x42 D: read h# 643 Header SHA1 digest: OK (2be0d6f6f63c222df07d98522da42c1abcee5d3f) D: read h# 660 Header SHA1 digest: OK (d97f50add501eb55584e039f22f77a9d69100fb8) D: read h# 674 Header SHA1 digest: OK (ee78e8ed97377b5ce4cc4c964b702d9425164cdd) D: computing 8380 file fingerprints D: computing file dispositions D: opening db index /var/lib/rpm/Basenames create mode=0x42 D: ========== +++ kernel-2.6.10-1.1056_FC4 i686-linux 0x0 D: Expected size: 16773245 = lead(96)+sigs(180)+pad(4)+data (16772965) D: Actual size: 16773245 D: install: kernel-2.6.10-1.1056_FC4 has 8380 files, test = 0 D: install: %pre(kernel-2.6.10-1.1056_FC4.i686) asynchronous scriptlet start D: install: %pre(kernel-2.6.10-1.1056_FC4.i686) execv(/bin/sh) pid 5058 D: install: waitpid(5058) rc 5058 status ff00 secs 0.002 error: %pre(kernel-2.6.10-1.1056_FC4.i686) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping kernel-2.6.10-1.1056_FC4 D: closed db index /var/lib/rpm/Basenames D: closed db index /var/lib/rpm/Name D: closed db index /var/lib/rpm/Packages D: closed db environment /var/lib/rpm/Packages -- "He's not the Messiah, he's a very naughty boy!" - Life of Brian, Monty Python
Attachment:
signature.asc
Description: This is a digitally signed message part