I get the same error when installing the Lazarus-IDE with ubuntu software.
No errors after running
$ sudo apt install lazarus lazarus-ide
I get the same error when installing the Lazarus-IDE with ubuntu software.
No errors after running
$ sudo apt install lazarus lazarus-ide