升级到 ubuntu 20.04 后 - 无法应用网络设置。您可能无法通过此机器连接到蓝牙网络

升级到 ubuntu 20.04 后 - 无法应用网络设置。您可能无法通过此机器连接到蓝牙网络

我最近将系统从 Ubuntu 18.04 升级到 Ubuntu 20.04。在 Ubuntu 20.04 中,我无法将蓝牙耳机连接到系统(戴尔、Inspiron 14、3000 系列)。我也有 Windows 操作系统,耳机可以正常工作。

重新启动系统后,我收到以下消息。

无法应用网络设置
您可能无法通过此机器连接到蓝牙网络

g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.Failed: Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/blueman/main/DbusService.py”, line 124, in _handle_method_call
ok(method(*args))
File “/usr/lib/python3/dist-packages/blueman/plugins/mechanism/Network.py”, line 57, in _reload_network
nc.apply_settings()
File “/usr/lib/python3/dist-packages/blueman/main/NetConf.py”, line 384, in apply_settings
self.del_ipt_rules()
File “/usr/lib/python3/dist-packages/blueman/main/NetConf.py”, line 329, in del_ipt_rules
call(["/sbin/iptables", “-t”, table, “-D”, chain] + rule.split(" "))
File “/usr/lib/python3.8/subprocess.py”, line 340, in call
with Popen(*popenargs, **kwargs) as p:
File “/usr/lib/python3.8/subprocess.py”, line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File “/usr/lib/python3.8/subprocess.py”, line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: ‘/sbin/iptables’
(0)

请帮我解决这个问题。

提前谢谢您。问候 Jhon

相关内容