Installation from source failed on Ubuntu 20.04
Hi all!
First of all thanks for the maintainers for providing such a much sought-after alternative to apt!
I tried to install nala on my Ubuntu 20.04 (unfortunately I can't upgrade it) as described here: https://gitlab.com/volian/nala/-/wikis/Installation#ubuntu-2004-debian-buster - by installing the required dependencies and then invoking sudo make legacy command.
Unfortunately I've ran into an error when make man was being executed:
$ sudo make man
# Install man pages
sudo python3.10 nala_build.py man --install
Installing docs/nala.8.rst -> /usr/share/man/man8/nala.8
Traceback (most recent call last):
File "/home/szmiki/workspace/worktrees/nala/nala_build.py", line 203, in <module>
nala_app()
File "/usr/local/lib/python3.10/site-packages/typer/main.py", line 214, in __call__
return get_command(self)(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/typer/main.py", line 532, in wrapper
return callback(**use_params) # type: ignore
File "/home/szmiki/workspace/worktrees/nala/nala_build.py", line 80, in convert_man
run(pandoc, check=True)
File "/usr/local/lib/python3.10/subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/local/lib/python3.10/subprocess.py", line 969, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.10/subprocess.py", line 1845, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pandoc'
make: *** [Makefile:54: man] Error 1
The problem persist even after installing pandoc with sudo python3.10 -m pip install pandoc.
However I've just skipped the man page generation step and went ahead and ran subsequent make steps successfully.
When I tried to verify whether nala installation was successful I got the following stacktrace:
$ nala
Traceback (most recent call last):
File "/usr/local/bin/nala", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/site-packages/nala/__main__.py", line 42, in main
nala()
File "/usr/local/lib/python3.10/site-packages/typer/main.py", line 214, in __call__
return get_command(self)(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/typer/main.py", line 232, in get_command
click_command = get_group(typer_instance)
File "/usr/local/lib/python3.10/site-packages/typer/main.py", line 218, in get_group
group = get_group_from_info(TyperInfo(typer_instance))
File "/usr/local/lib/python3.10/site-packages/typer/main.py", line 356, in get_group_from_info
command = get_command_from_info(command_info=command_info)
File "/usr/local/lib/python3.10/site-packages/typer/main.py", line 434, in get_command_from_info
command = cls(
TypeError: Command.__init__() got an unexpected keyword argument 'no_args_is_help'
or an eye-candy version:
Any help or hints on resolving that one is very much appreciated as I can't wait to try this tool on my dated work machine
