When i launch manjaro-kde-21.1.6-minimal-211017-linux54.iso, run
pacman -Sy vim
and invoke vim i get
vim: /usr/lib/libtinfo.so.6: no version information available (required by vim).
No doubt because pacman didn’t update dependee packages.
pacman -Syu vim would update all packages and install vim, right? But what i want is what i would get with apt-get install vim, ie update just the dependee packages, or maybe it’s just the packages where a higher version is required by vim or it’s dependees. Can pacman do that?
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)
warning: database file for 'manjaro-sway' does not exist (use '-Sy' to download)
apt-get sorts out partial updates. Tho i guess if the dependencies aren’t correct something might not work until the needed versions get installed. i confess i now find myself wondering if an apt-get variant exists that works in the manjaro repospace. Tho no doubt that’s playing with fire.
Good general advice, unless you have more specific requirements, eg pulling some packages from testing onto an otherwise stable system.
yup. i copied in the wrong message, and the forum no longer lets me edit the post.
so it does. my .bashrc prepares my $VIMINIT, and upon seeing the message i presumed……Thanks!
i’m wanting on the one hand to mark your post as the solution, it gives me just what i need in this case, but i’d say the answer to my question as posed is, while we’re truly best advised in most circumstances to update all packages, there are valid times when you don’t want to do that, like when wanting to preserve the bulk of the iso live environment as packaged.
pacman -Sy vim
doesn’t sort out a partial upgrade like apt-get would, but, gets by without in this case at least.