[CentOS] rpm error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



After noticing unfixable EXT3 corruption yesterday on my Centos4 system, (kernel panics), which I eventually traced down to bad memory, I decided to restore my system partition from a backup back in May. (luckily, my user data doesn't seem to be affected, and was on a different partition).

Obviously, there were a lot of updates that needed to be made. I started yum off before bed, there being 377 meg worth of downloads.

This morning, after the reboot, I realized it was still using the old kernel from May. Ran yum again for the remaining 31 meg of downloads. Didn't work.

rpm doesn't seem to work properly anymore, can't install any of these remaining updates, and can't even remove some of the older, unneeded, kernels anymore.

The error output of my yum and the standalone rpm error output is attached. I've already tried a rebuilddb command on the rpm database without any noticable benefit.

Any help would be appreciated. I would really like to avoid doing a fresh install.

Thanks.


 
D: ============== kernel-2.6.9-34.0.2.EL.i686.rpm
D: Expected size:     10747389 = lead(96)+sigs(344)+pad(0)+data(10746949)
D:   Actual size:     10747389
D: opening  db environment /var/lib/rpm/Packages create:cdb:mpool
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: locked   db index       /var/lib/rpm/Packages
D: opening  db index       /var/lib/rpm/Pubkeys rdonly mode=0x0
D:  read h#     586 Header sanity check: OK
D: ========== DSA pubkey id a53d0bab443e1821
D: kernel-2.6.9-34.0.2.EL.i686.rpm: V3 DSA signature: OK, key ID 443e1821
D: 	added binary package [0]
D: found 0 source and 1 binary packages
D: ========== +++ kernel-2.6.9-34.0.2.EL 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#    1370 Header V3 DSA signature: OK, key ID 443e1821
D:  Requires: fileutils                                     YES (db provides)
D:  read h#     795 Header V3 DSA signature: OK, key ID 443e1821
D:  Requires: module-init-tools                             YES (db provides)
D:  read h#    1165 Header V3 DSA signature: OK, key ID 443e1821
D:  Requires: initscripts >= 5.83                           YES (db provides)
D:  read h#     825 Header V3 DSA signature: OK, key ID 443e1821
D:  Requires: mkinitrd >= 4.2.1.6-1                         YES (db provides)
D: opening  db index       /var/lib/rpm/Basenames rdonly mode=0x0
D:  read h#    1013 Header V3 DSA signature: OK, key ID 443e1821
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#     842 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: ppp <= 2.3.15                                 NO  
D:  read h#     629 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: pcmcia-cs <= 3.1.20                           NO  
D:  read h#    1284 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: isdn4k-utils <= 3.0                           NO  
D:  read h#     154 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: mount < 2.10r-5                               NO  
D:  read h#     366 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: nfs-utils < 1.0.3                             NO  
D:  read h#     426 Header V3 DSA signature: OK, key ID 443e1821
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#     974 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: procps < 2.0.9                                NO  
D:  read h#    1128 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: oprofile < 0.5.3                              NO  
D: Conflicts: cipe < 1.4.5                                  NO  
D:  read h#     276 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: tux < 2.1.0                                   NO  
D:  read h#     358 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: kudzu <= 0.92                                 NO  
D: Conflicts: initscripts < 7.23                            NO  
D:  read h#     428 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: dev < 3.2-7                                   NO  
D:  read h#     841 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: iptables < 1.2.5-3                            NO  
D: Conflicts: bcm5820 < 1.81                                NO  
D: Conflicts: nvidia-rh72 <= 1.0                            NO  
D: Conflicts: ipw2200-firmware < 2.2                        NO  
D:  read h#       4 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: SysVinit < 2.84-13                            NO  
D:  read h#     153 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: pam < 0.75-48                                 NO  
D:  read h#     802 Header V3 DSA signature: OK, key ID 443e1821
D:  read h#     843 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: vixie-cron < 3.0.1-73                         NO  
D: Conflicts: privoxy < 3.0.0-8                             NO  
D:  read h#     781 Header V3 DSA signature: OK, key ID 443e1821
D:  read h#     989 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: spamassassin < 2.44-4.8.x                     NO  
D:  read h#     422 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: cups < 1.1.17-13                              NO  
D: opening  db index       /var/lib/rpm/Conflictname rdonly mode=0x0
D:  read h#     336 Header V3 DSA signature: OK, key ID 443e1821
D:  read h#     965 Header V3 DSA signature: OK, key ID 443e1821
D:  read h#    1189 Header V3 DSA signature: OK, key ID 443e1821
D:  read h#    1311 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: kernel < 2.2.12-7                             NO  
D: Conflicts: kernel < 0:2.6                                NO  
D:  read h#    1277 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: kernel >= 2.6.10                              NO  
D:  read h#    1354 Header V3 DSA signature: OK, key ID 443e1821
D: Conflicts: kernel < 2.2.0                                NO  
D: closed   db index       /var/lib/rpm/Depends
D: ========== recording tsort relations
D: ========== tsorting packages (order, #predecessors, #succesors, tree, depth)
D:     0    0    0    0    0 +kernel-2.6.9-34.0.2.EL
D: installing binary packages
D: closed   db index       /var/lib/rpm/Pubkeys
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: 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 0x0304  4096     31509526     18980081 /
D:     1 0x0003  4096            0           -1 /proc
D:     2 0x0000  4096            0           -1 /sys
D:     3 0x0009  4096            0           -1 /dev/pts
D:     4 0x000e  4096            0           -1 /proc/bus/usb
D:     5 0x0301  1024       101241        32078 /boot
D:     6 0x0011  4096        64458        64457 /dev/shm
D:     7 0xfd00  4096     48961191     31718161 /home
D:     8 0x0303  4096       916302       501927 /tmp
D:     9 0x0012  4096            0           -1 /proc/sys/fs/binfmt_misc
D:    10 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#     336 Header V3 DSA signature: OK, key ID 443e1821
D:  read h#     965 Header V3 DSA signature: OK, key ID 443e1821
D:  read h#    1189 Header V3 DSA signature: OK, key ID 443e1821
D:  read h#    1311 Header V3 DSA signature: OK, key ID 443e1821
D: computing 1031 file fingerprints
Preparing...                D: computing file dispositions
D: opening  db index       /var/lib/rpm/Basenames create mode=0x42
##################################################
D: ========== +++ kernel-2.6.9-34.0.2.EL i686-linux 0x0
D: Expected size:     10747389 = lead(96)+sigs(344)+pad(0)+data(10746949)
D:   Actual size:     10747389
D:   install: kernel-2.6.9-34.0.2.EL has 1031 files, test = 0
D:   install: %pre(kernel-2.6.9-34.0.2.EL.i686) asynchronous scriptlet start
D:   install: %pre(kernel-2.6.9-34.0.2.EL.i686)	execv(/bin/sh) pid 3936
D:   install: waitpid(3936) rc 3936 status ff00 secs 0.000
error: %pre(kernel-2.6.9-34.0.2.EL.i686) scriptlet failed, exit status 255
error:   install: %pre scriptlet failed (2), skipping kernel-2.6.9-34.0.2.EL
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
error: %pre(quagga-0.98.3-2.4E.i386) scriptlet failed, exit status 255
error:   install: %pre scriptlet failed (2), skipping quagga-0.98.3-2.4E
error: %pre(mailman-2.1.5.1-34.rhel4.3.i386) scriptlet failed, exit status 255
error:   install: %pre scriptlet failed (2), skipping mailman-2.1.5.1-34.rhel4.3
error: %pre(postgresql-server-7.4.13-2.RHEL4.1.i386) scriptlet failed, exit status 255
error:   install: %pre scriptlet failed (2), skipping postgresql-server-7.4.13-2.RHEL4.1
error: %pre(mysql-server-4.1.20-1.RHEL4.1.i386) scriptlet failed, exit status 255
error:   install: %pre scriptlet failed (2), skipping mysql-server-4.1.20-1.RHEL4.1
error: %pre(kernel-2.6.9-34.0.2.EL.i686) scriptlet failed, exit status 255
error:   install: %pre scriptlet failed (2), skipping kernel-2.6.9-34.0.2.EL
error: %preun(mailman-2.1.5.1-34.rhel4.2.i386) scriptlet failed, exit status 255
error: %preun(postgresql-server-7.4.8-1.RHEL4.1.i386) scriptlet failed, exit status 255
error: %preun(mysql-server-4.1.12-3.RHEL4.1.i386) scriptlet failed, exit status 255
error: %preun(quagga-0.98.3-1.4E.i386) scriptlet failed, exit status 255
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package mailman.i386 3:2.1.5.1-34.rhel4.3 set to be updated
---> Package postgresql-server.i386 0:7.4.13-2.RHEL4.1 set to be updated
---> Package mysql-server.i386 0:4.1.20-1.RHEL4.1 set to be updated
---> Package quagga.i386 0:0.98.3-2.4E set to be updated
---> Package kernel.i686 0:2.6.9-34.0.2.EL set to be installed
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 kernel                  i686       2.6.9-34.0.2.EL  update             10 M
Updating:
 mailman                 i386       3:2.1.5.1-34.rhel4.3  update            7.0 M
 mysql-server            i386       4.1.20-1.RHEL4.1  update            9.8 M
 postgresql-server       i386       7.4.13-2.RHEL4.1  update            3.0 M
 quagga                  i386       0.98.3-2.4E      update            903 k

Transaction Summary
=============================================================================
Install      1 Package(s)         
Update       4 Package(s)         
Remove       0 Package(s)         
Total download size: 31 M
Is this ok [y/N]: Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

Installed: kernel.i686 0:2.6.9-34.0.2.EL
Updated: mailman.i386 3:2.1.5.1-34.rhel4.3 mysql-server.i386 0:4.1.20-1.RHEL4.1 postgresql-server.i386 0:7.4.13-2.RHEL4.1 quagga.i386 0:0.98.3-2.4E
Complete!
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux