Getting an error when trying use UFW
Here is the error:
Code:
$ ufw
/usr/lib/python3.14/site-packages/ufw/common.py:224: SyntaxWarning: "\d" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\d"? A raw string is also an option.
elif re.match('^\d+$', p):
/usr/lib/python3.14/site-packages/ufw/util.py:497: SyntaxWarning: "\." is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\."? A raw string is also an option.
quads = re.split('\.', nm)
/usr/lib/python3.14/site-packages/ufw/util.py:735: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option.
tmp = re.split('\s', out)
/usr/lib/python3.14/site-packages/ufw/parser.py:219: SyntaxWarning: "\d" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\d"? A raw string is also an option.
if not re.match('^\d([0-9,:]*\d+)*$', port):
/usr/lib/python3.14/site-packages/ufw/parser.py:345: SyntaxWarning: "\d" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\d"? A raw string is also an option.
elif not re.match('^\d([0-9,:]*\d+)*$', tmp):
ERROR: not enough args
This error comes up when I try to input any ufw command whatsoever. Such as "sudo ufw enable", "
I'm on Fedora Kinoite 43.
I'm reading that the error is a python error. Maybe a newer version of ufw would fix it. How do I manually upgrade ufw to a newer version? Kinoite uses the package manager rpm-ostree.
I installed UFW using Kinoite's package manager, rpm-ostree.
Thank you all very much.