You are not logged in.
Pages: 1
I'm looking at archiso package list and see vim-minimal, but don't see that package in the Arch repos.
# pacman -Ssq vim
gvim
vim
vim-spell-af
vim-spell-am
vim-spell-bg
vim-spell-br
vim-spell-ca
vim-spell-cs
vim-spell-cy
vim-spell-da
vim-spell-de
vim-spell-el
vim-spell-en
vim-spell-eo
vim-spell-es
vim-spell-fo
vim-spell-fr
vim-spell-ga
vim-spell-gd
vim-spell-gl
vim-spell-he
vim-spell-hr
vim-spell-hu
vim-spell-id
vim-spell-it
vim-spell-ku
vim-spell-la
vim-spell-lt
vim-spell-lv
vim-spell-mg
vim-spell-mi
vim-spell-ms
vim-spell-nb
vim-spell-nl
vim-spell-nn
vim-spell-ny
vim-spell-pl
vim-spell-pt
vim-spell-ro
vim-spell-ru
vim-spell-rw
vim-spell-sk
vim-spell-sl
vim-spell-sv
vim-spell-sw
vim-spell-tet
vim-spell-th
vim-spell-tl
vim-spell-tn
vim-spell-uk
vim-spell-yi
vim-spell-zu
apvlv
clewn
neovim
notmuch-vim
powerline
powerline-vim
powerline2
python-neovim
python2-neovim
qutebrowser
ranger
vim-a
vim-airline
vim-airline-themes
vim-align
vim-bufexplorer
vim-colorsamplerpack
vim-ctrlp
vim-doxygentoolkit
vim-fugitive
vim-guicolorscheme
vim-indent-object
vim-jad
vim-jedi
vim-jellybeans
vim-latexsuite
vim-minibufexpl
vim-molokai
vim-nerdcommenter
vim-nerdtree
vim-omnicppcomplete
vim-pastie
vim-project
vim-rails
vim-seti
vim-supertab
vim-surround
vim-syntastic
vim-tagbar
vim-taglist
vim-ultisnips
vim-vcscommand
vim-workspace
vimpager
visI did find an AUR package called vim-minimal-git. https://aur.archlinux.org/packages/?O=0 … _Search=Go
Then I see the vim package in extra repo is flagged out of date. I also notice vim "provides" vim-minimal. https://www.archlinux.org/packages/extra/x86_64/vim/
I'm confused. What am I missing here? Will pacman install a package name such as "vim-minimal", that is provided by the package name "vim"?
Last edited by Gnew Stemdee (2017-06-21 19:16:04)
Offline
No, it is a substitute, will ask you to remove vim before installing vim-minimal.
From description of vim-minimal-git package:
Vim the editor. CLI version providing small subset of available features.
Check the PKGBUILDs for both packages to see what features have been disabled.
Last edited by Xabre (2017-06-21 16:59:14)
Offline
I'm confused. What am I missing here? Will pacman install a package name such as "vim-minimal", that is provided by the package name "vim"?
Yes. You could quite easily have confirmed this yourself.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
Thanks for the quick replies!
@ Trilby, yea I did do a pacman -S vim-minimal, and got the "do you want to remove ..." message. That's what lead to my confusion.
@ Xabre, I think my confusion is possibly around the package substitution. Care to share any more details on this?
Offline
What? What did pacman ask you if you wanted to remove? That is not the result you should have seen. It should just (re)install the vim package.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
# pacman -S vim-minimal
resolving dependencies...
looking for conflicting packages...
:: vim and gvim are in conflict. Remove gvim? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: vim and gvim are in conflictI have gvim installed in this case.
Sorry but I think we're getting side tracked. I was looking at the package list in archiso. I noticed the package vim-minimal listed that I was curious about. That package was not listed in the Arch repos. I thought how can that be? Is it an AUR package then? Answer was no, its not an AUR package.
What is this package then and how is it getting installed if its not in the Arch repos. I did a "pacman -S vim-minimal" as a test. That confirmed it was available in the Arch repos because pacman did non respond with "package not found".
This led to my confusion and my post here asking for clarification. I got two opposing replies, both yes and no. I deducted from the replies that my confusion was likely from the package substitution.
How does package substitution work and any details I could get would be great.
I'm still not clear on the, "Yes. You could quite easily have confirmed this yourself." answer.
How do I find out more about package substitution and how that works?
Edit
I didn't mention previously that I did read that in archiso, the vi package was replaced with vim-minimal. If vim and vim-minimal are the same, why vim-minimal in the list rather than vim?
Last edited by Gnew Stemdee (2017-06-21 18:43:12)
Offline
Ah, gvim explains it. If you had regular vim installed, pacman would have responded differently to say that it was already installed and thus reinstalling.
Currently there are packages in the main repos for gvim and vim. Previously there were (at least) three vim options: gvim, vim, and vim-minimal. Vim and vim-minimal were merged and now the vim package provides and replaces vim-minimal. So anyone who formerly had vim-minimal installed would have had it seamlessly replaced by vim when they updated their system. Anyone who now tries to install "vim-minimal" will just get the vim package (because it provides vim-minimal).
I did a "pacman -S vim-minimal" as a test. That confirmed it was available in the Arch repos...
I'm still not clear on the, "Yes. You could quite easily have confirmed this yourself." answer.
This is precisely what I meant. You wanted to know if pacman could install a "vim-minimal", and you readily confirmed this for yourself. Certainly there are details you may seek here - all I meant you could readily confirm for yourself is what would happen if you tried to install vim-minimal.
As for Xabre's answer, he seems to be talking only about vim-minimal-git which is an AUR package. That AUR package, or any other vim variants in the AUR, don't seem relevant to your actual question.
As for how package substitution works, first see `pacman -Si vim`. You should see what I noted above: it lists vim-minimal in the provides and replaces fields. When you run `pacman -S vim-minimal` pacman looks for any package that will satisfy that need: any package with that name, or with that name in it's "provides" array.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
Thanks Trilby, for explaining all this very well.
Unless I'm mistaken, all my questions have been answered now.
(a) vim-minimal and vim were previously separate packages that have been merged.
(b) Even though vim-minimal is no longer a package, pacman also reads the "provides list", which in vim, contains vim-minimal.
(c) So if you do a pacman -S <isn't listed in repo package>, pacman also checks the provides list, and if there, will install that package. (LEARNED THIS TODAY)
(d) The archiso package list likely contains vim-minimal rather than vim, because they were separate packages when that change was implemented.
(e) And, I've stopped trying to figure out how archiso installs "not in the Arch repos" packages without the code to do so.
Edit
If only I could figure out how to remember everything I've ever read!!
Quote man pacman: Packages that provide other packages are also handled.
Last edited by Gnew Stemdee (2017-06-21 19:34:12)
Offline
Pages: 1