Hello
I’m using the following script to install gvm on ubuntu 22.04.01 LTS and it stops with “E1187: Failed to source defaults.vim” and does not continue.
Any suggetions?
gpg: WARNING: unsafe permissions on homedir '/tmp/openvas-gnupg'
gpg: keybox '/tmp/openvas-gnupg/pubring.kbx' created
gpg: /tmp/openvas-gnupg/trustdb.gpg: trustdb created
gpg: key 9823FAA60ED1E580: public key "Greenbone Community Feed integrity key" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: WARNING: unsafe permissions on homedir '/tmp/openvas-gnupg'
gpg: inserting ownertrust of 6
E1187: Failed to source defaults.vim
Press ENTER or type command to continue
visudo: /etc/sudoers.tmp unchanged
./gvm.sh: line 286: syntax error near unexpected token `('
./gvm.sh: line 286: `%sudo ALL=(ALL:ALL) ALL'
I would create an issue at Issues · libellux/Libellux-Up-and-Running · GitHub as this either seems to be a problem in that script (e.g. sudo visudo is called and the two later lines which should be added to the interactive prompt are just included in the script itself as commands) or some specific requirements which are not clearly documented (e.g. maybe this sudo visudo handling in that script is only working with a specific editor).
Hey! it’s not a “script” as stated on the website. Its more of a step-by-step installation (to copy+paste directly to the CLI) without the descriptions found if you read the entire guide.
Well if you read and know bash its quite obvious that its not a script which I also state. The reason its the shebang is only for visuals when I use my editor
“The lines in the “scripts” below has been used for testing and successfully configured GVM. You may use the testing guide to install GVM or follow our detailed step-by-step tutorial below to install GVM 22.4.0.”