Hi,
the Greenbone Community Edition 21.4 is End-Of-Life and therefore shouldn’t be used anymore. Sadly Ubuntu and therefore it’s siblings like Xubuntu don’t ship with up to date or even usable packages. The packages are just broken.
As an alternative you can use our containers or if you are a more experienced Linux user try building from source.