TGViewer
Arch Linux Chinese Messages Arch Linux Chinese Messages @archlinuxcn · 11.2K subscribers
Post #211 9.26K
libxml2>=2.9.12-6 更新需要手动干预

libxml2 包在版本 2.9.12-6 之前缺失了预编译好的 python 模块。这个问题已经在 2.9.12-6 中修复,所以更新时需要覆盖未被跟踪到的 pyc 文件。如果你在升级时遇到如下报错:
libxml2: /usr/lib/python3.10/site-packages/__pycache__/drv_libxml2.cpython-310.opt-1.pyc exists in filesystem
libxml2: /usr/lib/python3.10/site-packages/__pycache__/drv_libxml2.cpython-310.pyc exists in filesystem
libxml2: /usr/lib/python3.10/site-packages/__pycache__/libxml2.cpython-310.opt-1.pyc exists in filesystem
libxml2: /usr/lib/python3.10/site-packages/__pycache__/libxml2.cpython-310.pyc exists in filesystem
更新时请使用命令:
pacman -Syu --overwrite /usr/lib/python3.10/site-packages/__pycache__/\*
完成升级。

https://www.archlinuxcn.org/libxml22912-6-update-may-require-manual-intervention/
More from @archlinuxcn
  1. Sep 22, 2026mkinitcpio >= 42 更新在基于TPM2解锁LUKS的设备上可能需要手动干预 从包版本 42-1 起,mkinitcpio 的 systemd 挂钩现在也包括了 sys…
  2. Sep 15, 2026linux-firmware-amdgpu 20260910-2 已修复前一个问题。
  3. Sep 13, 2026ddcutil 3.0.1-1 已修复后一个问题。
  4. Sep 13, 2026AMD 显卡用户谨慎升级 linux-firmware-amdgpu 20260910-1。有多位用户报告该版本固件导致了启动问题。 AMD 显卡的 KDE 用户谨慎升级 ddcu…
  5. Sep 5, 2026www.archlinuxcn.org 也已于夜里恢复服务。此次维护所有中断服务均已恢复。
  6. Sep 4, 2026wiki.archlinuxcn.org 、 forum.archlinuxcn.org 和邮件服务已经恢复。
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →