firewalld>=0.8.1-2 更新需要手动干预


firewalld 包在 0.8.1-2 之前的版本打包时遗漏了编译 python 模块。这已在 0.8.1-2 中修复,所以更新时需要覆盖掉没有被跟踪到的 pyc 文件。如果你升级时遇到如下报错:

firewalld: /usr/lib/python3.8/site-packages/firewall/__pycache__/__init__.cpython-38.pyc exists in filesystem
firewalld: /usr/lib/python3.8/site-packages/firewall/__pycache__/client.cpython-38.pyc exists in filesystem
firewalld: /usr/lib/python3.8/site-packages/firewall/__pycache__/dbus_utils.cpython-38.pyc exists in filesystem
...更多报错...

那么请使用如下命令升级:

pacman -Suy --overwrite /usr/lib/python3.8/site-packages/firewall/\*

译注:
如果升级 firewalld 前删除了 firewalld 包,下次安装 firewalld 包仍然会有文件冲突,此时请使用:

pacman -Suy --overwrite /usr/lib/python3.8/site-packages/firewall/\* firewalld

安装 firewalld 包。

公告, 新闻



© 2012 Arch Linux Chinese Community | Arch Linux 中文社区
GNU FDL 1.3
Original designed by Archlinux.org · XHTML · CSS · RSS
Proudly powered by WordPress | Server by RivenCloud
The Arch Linux name and logo are recognized trademarks by Judd Vinet & Aaron Griffin. Some rights reserved.