Bug 215658 - cannot remove or install vim via rpm
cannot remove or install vim via rpm
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: vim (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Karsten Hopp
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-14 20:59 EST by Jim Cornette
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-11-14 21:29:54 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
upgraded package manually, database entry is stuck by segfaulting (67.04 KB, text/plain)
2006-11-14 20:59 EST, Jim Cornette
no flags Details

  None (edit)
Description Jim Cornette 2006-11-14 20:59:07 EST
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-14 20:59:07 EST
Created attachment 141205 [details]
upgraded package manually, database entry is stuck by segfaulting
Comment 2 Jim Cornette 2006-11-14 21:28:51 EST
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

Note You need to log in before you can comment on or make changes to this bug.