Bug 215658 - cannot remove or install vim via rpm
Summary: cannot remove or install vim via rpm
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-15 01:59 UTC by Jim Cornette
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-15 02:29:54 UTC
Type: ---
Embargoed:


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

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


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