GRUB Error during update. Syntax errors are detected in generated GRUB config file

This error originally occurred during an apt upgrade but I managed to reproduce it with update grub sudo update-grub [sudo] password for me: Sourcing file `/etc/default/grub’ Generating grub configuration file … Found linux image: /boot/vmlinuz-4.15.0-72-generic Found initrd image: /boot/initrd.img-4.15.0-72-generic Found linux image: /boot/vmlinuz-4.15.0-60-generic Found initrd image: /boot/initrd.img-4.15.0-60-generic Found linux image: /boot/vmlinuz-4.15.0-20-generic Found initrd image: /boot/initrd.img-4.15.0-20-generic…

Details

msfconsole -r file.rc output format

I need to check a host automatically with the help of msfconsole The relevant checks are in file.rc, it’s possible to automate that routine via docker image with command RUN msfconsole -r file.rc After that all output processed as in the comment below: msfconsole -r /home/user/tests/test.rc 2>/home/user/data/test.rc_errors.txt 1>/home/user/data/test.rc_results.txt Problem: output of the above command provided…

Details