hplip 3.20.3-2 更新需要手动干预


hplip 包在 3.20.3-2 之前的版本缺失了一些预编译的 python 模块。这个问题已经在 3.20.3-2 版本中修复,所以更新时需要覆盖掉那些没有被跟踪到的 pyc 文件。如果你遇到如下报错


hplip: /usr/share/hplip/base/__pycache__/__init__.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/__pycache__/avahi.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/__pycache__/codes.cpython-38.pyc exists in filesystem
...更多类似报错...

那么在更新时请使用命令:

pacman -Suy --overwrite /usr/share/hplip/\*

来完成更新

公告, 新闻



© 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.