You are not logged in.
When I tried doing pacman -Syu
I got the following error:
error: failed to commit transaction (conflicting files)
vim: /usr/bin/xxd exists in filesystem
vim: /usr/share/licenses/vim/license.txt exists in filesystem
Errors occurred, no packages were upgraded.
What should I do to solve this problem?
Is my problem related to this issue? :
http://www.archlinux.org/news/464/
Last edited by unregistered (2009-09-24 01:41:50)
Offline
Did you do what it says to do in the article? If not, don't you think you should?
Jay
Offline
do pacman -Qo /usr/bin/xxd and pacman -Qo /usr/share/licenses/vim/license.txt and paste the output
Last edited by wonder (2009-09-21 20:52:53)
Give what you have. To someone, it may be better than you dare to think.
Offline
ok seems like there's been a new update and I did what the article told me and everything seems fine except when I run vi, it doesn't show any line numbers, my configuration, etc
my .virc file:
set hls is ic number
syntax off
:hi LineNr ctermfg=green ctermbg=black
After the upgrade,
pacman -Qo /usr/bin/xxd shows:
/usr/bin/xxd is owned by vim 7.2.245-1
pacman -Qo /usr/share/licenses/vim/license.txt shows:
/usr/share/licenses/vim/license.txt is owned by vim 7.2.245-1
how can I make vi run my configurations?
Offline
Now you've upgraded running vi will do just that, rather than the light vim version it would have run previously. In order to use the vim functionality you will now need to use vim.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Is there a way to change it so I can just type vi and have linux use vim? I'd like to keep my habits, but vi itself is unusable now...
Offline
You could always alias it:
in .bashrc:
alias vi='vim'
I chose rather to just retrain myself to type vim instead of vi. Just seemed like a poor workaround to me.
To be fair, vi is certainly not unusable, you've just become accustomed to vim features.
Last edited by beretta (2009-09-23 03:00:38)
Offline
alias vi to vim.
Offline
alias vi to vim.
Well, do this only if you really never want to use the simple vi installation.
I won't do so, because I prefer a simple editor when having to do really basic system maintenance.
To know or not to know ...
... the questions remain forever.
Offline
Thanks, I'll use that work around.
And yeah, I probably just don't know anything about the original vi. I thought something horrible had happened when I first noticed XD
Last edited by Mooble (2009-09-23 11:30:29)
Offline