Bug 215658

Summary: cannot remove or install vim via rpm
Product: [Fedora] Fedora Reporter: Jim Cornette <jim.cornette>
Component: vimAssignee: Karsten Hopp <karsten>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-15 02:29:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
upgraded package manually, database entry is stuck by segfaulting none

Description Jim Cornette 2006-11-15 01:59:07 UTC
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

Comment 1 Jim Cornette 2006-11-15 01:59:07 UTC
Created attachment 141205 [details]
upgraded package manually, database entry is stuck by segfaulting

Comment 2 Jim Cornette 2006-11-15 02:28:51 UTC
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