You are not logged in.
After upgrading some of my AUR packages with yay I can no longer start the mongo shell. My app successfully connects to the database, but when I run
$ mongo
i get:
bash: /usr/bin/mongo: No such file or directory
I've tried uninstalling a reinstalling with
sudo pacman -Rns mongodb-bin mongosh-bin mongodb-tools-bin
and
yay -S mongodb-bin mongosh-bin mongodb-tools-bin
but it doesn't help.
Any idea what might be going wrong here?
Last edited by fTEVC (2022-11-16 06:54:57)
Offline
After upgrading some of my AUR packages with yay I can no longer start the mongo shell. My app successfully connects to the database, but when I run
mongo
i get:
bash: /usr/bin/mongo: No such file or directory
# find /usr -iname "mongo*"
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
by looking at the sources of mongodb-bin the command should be "mongos" (note the 's')
Last edited by a821 (2022-11-15 12:26:29)
Offline
Thanks for the replies.
Realized that the "mongo" command is an older command and must either not be installed with these packages anymore or maybe has a conflict with mongosh. Have to do some more research on that, but in any case, mongosh is the new version of the shell and can be accessed normally with:
$ mongosh
Last edited by fTEVC (2022-11-16 06:56:06)
Offline