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.
and I also usually install mc within any live environment when I need to do anything prior to installation or repair or what have you …
and have seen similar messages when starting it -
I actually booted up this exact iso -
to confirm that it is just a message - but not an error and nothing fatal.
And so it was.
However, the message I got was different, but still about ncurses (terminfo is part of it): vim: /usr/lib/libncursesw.so.6: no version information available (required by vim)
vim works just fine - just that message is printed and visible in the terminal after having shut it down.
So, there is actually no problem at all - just this message
and the reason for it is probably accurately explained in the link above
but I did not proceed to check … since it (vim) does work.
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.