You are not logged in.

#1 2016-04-15 02:39:13

vitiral
Member
Registered: 2015-09-16
Posts: 10

[SOLVED] After pacman -Syu vim no longer works

I just ran pacman -Syu on my laptop and am having some serious problems.

- After installing there were some pacnew files. When I went to investigate what needs to be changed, I got the following:

$ vimdiff sshd_config sshd_config.pacnew
zsh: exec format error: vimdiff

- ok... so vimdiff isn't working.
$ file /usr/bin/vim
/usr/bin/vim: empt

- well, that is definitely weird
$ sudo pacman -S vim
resolving dependencies...
looking for conflicting packages...

Package (2)        Old Version  New Version  Net Change

extra/vim-runtime  7.4.1639-1   7.4.1689-1    25.68 MiB
extra/vim                 7.4.1639-1   7.4.1689-1     2.75 MiB

- well that's weird, I just did an update but there is already a new version. Hitting yes to install...
(2/2) checking for file conflicts                              [##################################] 100%
error: failed to commit transaction (conflicting files)
vim-runtime: /usr/share/licenses/vim-runtime/license.txt exists in filesystem
vim-runtime: /usr/share/vim/vim74/autoload/README.txt exists in filesystem
# TONS of conflicting files.


So... something go seriously screwed up after the last update.

Last edited by vitiral (2016-04-15 05:31:59)

Offline

#2 2016-04-15 02:49:53

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: [SOLVED] After pacman -Syu vim no longer works

Post the relevant section of your pacman.log file (ie, the entire logs for both -Syu and -S actions) -- and use code tags to keep it readable please.

Offline

#3 2016-04-15 02:57:46

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: [SOLVED] After pacman -Syu vim no longer works

That sounds like filesystem corruption. Things didn't get fully written to disk for some reason. Use pacman -Qkk to check things out. As for the conflicting files, that's covered in the wiki.

Last edited by Scimmia (2016-04-15 02:58:24)

Offline

#4 2016-04-15 05:30:58

vitiral
Member
Registered: 2015-09-16
Posts: 10

Re: [SOLVED] After pacman -Syu vim no longer works

Yup, it was filesystem corruption. I think what I did is hit cntrl+C at the wrong time while running -Syu. I thought it was only while packages were downloading but maybe I was wrong.

vim, jsoncpp, nmap, nodejs and inxi were all corrupted. Installing them with --force fixed it and I was able to do a system update.

Not entirely sure how I mananged that, but it was probably my fault. Thanks for the help everyone.

Offline

Board footer

Powered by FluxBB