Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge broken by vim?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
chas
n00b
n00b


Joined: 10 Apr 2005
Posts: 3

PostPosted: Tue Jul 26, 2005 9:44 am    Post subject: Emerge broken by vim? Reply with quote

I have an issue with emege where I seem to have managed to get three versions of vim-core installed:

# epm -qa|grep vim
vim-core-6.3.068
vim-core-6.3.075
vim-core-6.3.084

Whenever I try to emerge anything, after it's emerged it tries to unmerge these old versions of vim but fails:
......
--- !mtime obj /usr/share/man/man1/vimdiff.1.gz
--- !mtime obj /usr/share/man/man1/vim.1.gz
--- !mtime obj /usr/share/man/man1/evim.1.gz
--- !mtime obj /usr/bin/xxd
--- !mtime obj /usr/bin/vimtutor
Traceback (most recent call last):
File "/usr/bin/emerge", line 3206, in ?
unmerge("clean", ["world"])
File "/usr/bin/emerge", line 2251, in unmerge
retval=portage.unmerge(mysplit[0],mysplit[1],portage.root,mysettings,unmerge_action not in ["clean","prune"])
File "/usr/lib/portage/pym/portage.py", line 2901, in unmerge
mylink.unmerge(trimworld=mytrimworld,cleanup=1)
File "/usr/lib/portage/pym/portage.py", line 6169, in unmerge
if (pkgfiles[obj][0] not in ("dir","fif","dev","sym")) and (lmtime != pkgfiles[obj][1]):
KeyError: '.'

Similarly, the same thing happens when i try and unmerge all versions of vim-core.

I've tried renaming /usr/portage to /usr/portage.old and emerge-webrsync but to no aviail.

I also saw in another thread mention of fixing entries in /var/cache/edb/virtuals, but on my system that file is empty.

This is on sparc if that makes any difference.

Cheers,
Alex.
Back to top
View user's profile Send private message
TrueDFX
Retired Dev
Retired Dev


Joined: 02 Jun 2004
Posts: 1348

PostPosted: Tue Jul 26, 2005 10:00 am    Post subject: Reply with quote

Not sure how this happened, but you should be able to work around it by removing /var/db/pkg/app-editors/vim-core-* and reinstalling vim-core (even if only to immediately remove it again).
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4923
Location: Gothenburg, Sweden

PostPosted: Tue Jul 26, 2005 10:05 am    Post subject: Reply with quote

Please see the FAQ GF19: Emerge fails to unmerge a package.

Moved from Portage & Programming to Duplicate Threads.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum