Firewalld installation issue on ubuntu 20.04 LTS

i installed firewalld service on my ubuntu 20.04 LTS system .but after starting and enabling the service when i checked the status of service status showing active but its also prompting an error
i:e

ERROR: ‘python-nftables’ failed: internal:0:0-0: Error: Could not process rule: No such file or directory

                                             JSON blob:
                                             {"nftables": [{"metainfo": {"json_schema_version": 1}}, {"add": {"chain": {"family": "inet", "table": "firewalld", "name": "mangle_PREROUTING", "type": "filter",>

Jun 12 16:45:23 DESKTOP-6SM567P firewalld[1097]: ERROR: COMMAND_FAILED: ‘python-nftables’ failed: internal:0:0-0: Error: Could not process rule: No such file or directory

                                             JSON blob:
                                             {"nftables": [{"metainfo": {"json_schema_version": 1}}, {"add": {"chain": {"family": "inet", "table": "firewalld", "name": "mangle_PREROUTING", "type": "filter",>

Jun 12 16:56:06 DESKTOP-6SM567P systemd[1]: Stopping firewalld - dynamic firewall daemon…

why this error message prompting to me and how can i remove this error
command used by me
sudo apt-get install firewalld
sudo systemctl start firewalld
sudo systemctl enable firewalld
sudo systemct status firewalld

Hi,

Just testing on Ubuntu 20.04 and it’s work fine

Please uninstall completely firewalld on your system

sudo apt-get remove --purge firewalld

then follow below instruction to install it :

sudo apt update
sudo apt install firewalld
sudo systemctl enable firewalld
sudo systemctl start firewalld
sudo firewall-cmd --state ## to check the status 

sudo systemct status firewalld

I rename the ticket to align with the context

Regard