apt install octave-info
fixes the error message about missing files when using the doc command in GNU Octave.
doc