Package Details: nvi-git 1.81.6.r80.62f62832-2

Git Clone URL: https://aur.archlinux.org/nvi-git.git (read-only, click to copy)
Package Base: nvi-git
Description: 4BSD reimplementation of ex/vi (git snapshot)
Upstream URL: https://repo.or.cz/nvi.git
Licenses: custom
Conflicts: ex-vi-compat, nvi
Provides: ex, ex-vi-compat, nvi, vi, view
Submitter: mazieres
Maintainer: mazieres
Last Packager: mazieres
Votes: 0
Popularity: 0.000000
First Submitted: 2026-02-16 06:40 (UTC)
Last Updated: 2026-02-17 18:24 (UTC)

Dependencies (7)

Required by (10)

Sources (2)

Latest Comments

micwoj92 commented on 2026-02-22 21:16 (UTC)

I am not aware of a way to do that. There should not not be "list of conflicts" in that way. Just all packages that provide /usr/bin/vi should also conflict with `vi.

mazieres commented on 2026-02-18 00:32 (UTC)

@micwoj92 what do you suggest? Is there a way to get a list of all AUR packages that contain a /usr/bin/vi? I can use pkgfile for non-AUR packages, but how would I find the complete list of conflicts?

micwoj92 commented on 2026-02-17 18:29 (UTC)

Thanks, although to be pedantic this is still wrong, example:

$ LANG=C sudo pacman -U neovim-symlinks-5-1-any.pkg.tar.zst 
loading packages...
resolving dependencies...
looking for conflicting packages...

Package (1)      New Version  Net Change

neovim-symlinks  5-1            0.00 MiB

Total Installed Size:  0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                           [------------------------------] 100%
(1/1) checking package integrity                         [------------------------------] 100%
(1/1) loading package files                              [------------------------------] 100%
(1/1) checking for file conflicts                        [------------------------------] 100%
error: failed to commit transaction (conflicting files)
neovim-symlinks: /usr/bin/ex exists in filesystem (owned by nvi-git)
neovim-symlinks: /usr/bin/vi exists in filesystem (owned by nvi-git)
neovim-symlinks: /usr/bin/view exists in filesystem (owned by nvi-git)
Errors occurred, no packages were upgraded.

mazieres commented on 2026-02-17 18:25 (UTC)

Got it. I just added ex, vi, and view to provides.

micwoj92 commented on 2026-02-17 17:51 (UTC) (edited on 2026-02-17 17:52 (UTC) by micwoj92)

Sorry, I wrote that wrong, updated comment. vi needs to be added, because there are packages that require vi, such as https://archlinux.org/packages/extra/x86_64/ksh/ for check

mazieres commented on 2026-02-17 07:36 (UTC)

So I can do provides vi, but shouldn't I keep conflicts with ex-vi-compat? vi isn't even a package anymore.

micwoj92 commented on 2026-02-16 22:13 (UTC) (edited on 2026-02-17 17:51 (UTC) by micwoj92)

If you do ex-vi-compat then also add vi to conflicts/provides.