why ? is it because i am on liveusb, hence can’t update ?
$ sudo pacman -Syu
:: Synchronizing package databases...
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to update endeavouros (unable to lock database)
error: failed to synchronize all databases
i want to use vim now to record some good terminal cmd… i have a note that is to gather all the useful cmd… which i normally used vim to do…
but when i try to download it… got error.
$ sudo pacman -S vim
error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
if you're sure a package manager is not already
running, you can remove /var/lib/pacman/db.lck
since you already taught me how to install vim on pacman, can you also tell me how to install in yay ? i never use yay before. just wonder what is the different between the 2. i know yay can install anything outside of arch repo… but pamac also can install outside of arch repo and it also have command line also.