Description of problem: No matter what I think of to get vim-common to upgrade, it will segfault on removal and segfault if trying to upgrade the package. Version-Release number of selected component (if applicable): vim-common-7.0.158-1 is installed (rpm database wise) I'm trying to upgrade to vim-common-7.0.162-2.i386 How reproducible: Either use yum to try to upgrade vim-common or try to use rpm directly with rpm -Uvh to attempt to install the rpm. Both methods fail. Yum erase also fails as does rpm -e to remove the rpm. Steps to Reproduce: 1. try to upgrade via yum 2. try to upgrade directly using rpm 3. try to erase rpm with yum or rpm 4. try several options in order to upgrade the package 5 . give up and extract the files using mc Actual results: All but step 5 failed to install vim-common-7.0.162-2.i386. Now the database entry points to vim-common-7.0.158-1 and querys fail Expected results: Expected to be able to at least remove the rpm with drastic rpm measures without getting a segfault for package removal or install. Additional info: Attached file shows output of rpm -qV
Created attachment 141205 [details] upgraded package manually, database entry is stuck by segfaulting
Never mind: Running rpm --rebuilddb fixed the bad entry which segfaulted. Why just one package was bothered by the corruption, who knows! rpm --rebuilddb & [1] 10599 [root@rpmdb packages]# fg bash: fg: job has terminated [1]+ Done rpm --rebuilddb [root@rpmdb packages]# rpm -Uvh vim-common*.rpm Preparing... ########################################### [100%] 1:vim-common ########################################### [100%] [root@rpmdb packages]# rpm -q vim-common vim-common-7.0.162-2 [root@rpmdb packages]# rpm -qV vim-common