TGViewer
Channel Public Channel
Arch Linux Chinese Messages

Arch Linux Chinese Messages

@archlinuxcn

Arch Linux 中文相关信息

跟进 Arch Linux 日常踩坑预警,翻译官方新闻, testing 测试预警等。另有 @archlinuxcn_updates 提供滚动打包记录。
频道内容来自 Arch Linux 中文社区群组 @archlinuxcn_group
https://fars.ee/~readme.html
杜洛夫在所有订阅数较多的频道下方都添加了广告,其收益并不分配给频道主,频道主也无法控制其内容。如果在本频道下方看到广告,均与 Arch CN 社区无关,请勿点击或相信其内容
Subscribers
11.2K
Photos
3
Videos
0
Links
216

Showing posts older than #231 · Back to latest

Older Posts 20 shown
Post #230 13.9K
Grub引导器升级的配置文件不兼容

grub 包最近的变化给 fwsetup 命令增加了新的命令参数,改变了生成出的引导配置中调用命令的方式。根据你的硬件和设置这可能导致系统不能引导,因为安装的引导器和配置文件之间不兼容。在 grub 包升级之后,我们建议重新运行以下命令,安装和再次生成配置:
grub-install ...
grub-mkconfig -o /boot/grub/grub.cfg
关于 grub-install 的具体用法请参考 wiki 页面:GRUB – ArchWiki

https://www.archlinuxcn.org/grub-bootloader-upgrade-and-configuration-incompatibilities/
  • 🤯 57
  • 😱 31
  • 👍 11
Post #229 12.7K
Arch Linux Chinese Messages Intel 11 代及以后 CPU 并且用 nvidia 显卡的用户如果升级到 linux 内核版本 5.18 后出现问题,可在内核命令行上添加 ibt=off 来绕过问题。
其余树外内核模块也可能受影响,包括并不限于 virtualbox 和 kvm/qemu ,使用 11 代 intel CPU 并且升级内核版本后遇到内核模块不能正常使用的可以尝试添加 ibt=off 内核参数。
添加方法取决于 bootloader 参见 https://wiki.archlinux.org/title/Kernel_parameters_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)#%E9%85%8D%E7%BD%AE
使用 GRUB 的用户可以使用管理权限(加sudo)执行以下命令:
sed -i 's/LINUX_DEFAULT="/\0ibt=off /g' /etc/default/grub
grub-mkconfig -o /boot/grub/grub.cfg
关于 ibt=off 关掉了什么以及 ibt 是什么,推荐阅读 https://edc.intel.com/content/www/us/en/design/ipla/software-development-platforms/client/platforms/alder-lake-desktop/12th-generation-intel-core-processors-datasheet-volume-1-of-2/006/indirect-branch-tracking/
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7001052160d172f6de06adeffde24dde9935ece8
  • 👍 32
  • 🏆 7
  • 👎 2
  • 😁 2
  • 🔥 1
  • 😢 1
Post #228 13.3K
archlinux-keyring 20220713 更新可能需要手动单独更新

archlinux-keyring 20220713 替换了一部分 master key ,一些包使用新 key 打包,滚动更新时如果遇到一些包无法经过签名校验,请先尝试以下命令单独更新 archlinux-keyring :
pacman -Sy archlinux-keyring

然后尝试照常更新。
  • 👍 86
  • 🎉 5
  • 🤔 4
  • 👎 3
  • 🔥 3
Post #227 13.8K
wxWidgets 3.2 更新可能需要手动干预

wxWidgets 3.2 在 GTK3 前端之外也提供了 Qt 前端,所以相关包的名称已从 wxgtk- 改名到 wxwidgets- 。不再提供 GTK2 前端。如果你安装过 wxgtk2 升级过程中可能遇到下述错误:
error: failed to prepare transaction (could not satisfy dependencies) :: removing wxgtk-common breaks dependency 'wxgtk-common' required by wxgtk2
这种情况下请删除 wxgtk2 并继续升级。

https://www.archlinuxcn.org/wxwidgets-32-update-may-need-manual-intervention/
  • 👏 17
  • 👍 7
  • 🥰 2
Post #226 14.2K
[archlinuxcn] 仓库现提供 debuginfod 服务(支持部分有调试符号的包),设置以下环境变量即可:

DEBUGINFOD_URLS="https://debuginfod.archlinux.org https://repo.archlinuxcn.org"
  • 👏 45
  • 🐳 12
  • 🥰 3
Post #225 14.5K
Arch Linux Chinese Messages SJTUG [archlinuxcn] 镜像用户请注意:此镜像已经落后三天,并且其提供的 qt5-base-24h{,ms} 版本会导致问题(如 KDE 桌面损坏)。请暂时改成其他镜像!
已恢复同步。
  • 👍 32
  • 👏 16
Post #224 13.9K
SJTUG [archlinuxcn] 镜像用户请注意:此镜像已经落后三天,并且其提供的 qt5-base-24h{,ms} 版本会导致问题(如 KDE 桌面损坏)。请暂时改成其他镜像!
  • 😱 110
  • 👍 6
  • 🤩 6
  • 😢 5
  • 🌚 4
  • 🤔 2
Post #223 17.6K
Intel 11 代及以后 CPU 并且用 nvidia 显卡的用户如果升级到 linux 内核版本 5.18 后出现问题,可在内核命令行上添加 ibt=off 来绕过问题。
  • 😱 98
  • 👍 45
  • ❤ 9
  • 🤯 9
  • 😁 6
  • 🤬 4
  • 💩 3
  • 🌚 1
Post #222 17.7K
撤销以 wireplumber 替代 pipewire-media-session

两天前, wireplumber 新的打包会提示替代 pipewire-media-session 包,因为后者作为 PipeWire 的会话管理器,它的上游已经停止更新不再会有新版本了。不幸的是这个步骤有些仓促。
我们的 pipewire 音频包(pipewire-alsa, pipewire-jack 和 pipewire-pulse)也提供了设置让 media-session 激活 PipeWire 的音频特性。如果没有安装这些包并且没有这些配置,PipeWire还是能用来处理屏幕录制而不干扰 ALSA 或 PulseAudio 。
WirePlumber 无视了这个机制,会总是试图让 PipeWire 接管音频设备,意味着 PulseAudio 和单用 ALSA 的用户的音频坏了。
已经撤销了包替换的修改,但是我们仍然在试图寻找一个更好的方案迁移到 WirePlumber 。如果你目前不使用 PipeWire 的音频功能,并且系统中已经安装了 wireplumber ,请重新安装 pipewire-media-session 包后重启,以恢复音频功能。

pacman -Syu pipewire-media-session

https://www.archlinuxcn.org/undone-replacement-of-pipewire-media-session-with-wireplumber/
  • 🤯 36
  • 👍 30
  • 🔥 3
Post #221 13K
QEMU >= 7.0.0 修改了拆包方式

从 qemu 7.0.0 更新开始我们用元包(meta package)将它拆包成了更细分的打包。

– qemu包现在是被元包 qemu-base, qemu-desktop 和 qemu-full 提供的虚包。
– 7.0.0之前的qemu包的功能现在被qemu-desktop代替。
– qemu-headless包的功能现在被qemu-base代替。
– qemu-arch-extra包和qemu-headless-arch-extra包的功能现在被qemu-emulators-full代替。
– 元包qemu-full包提供所有 QEMU 相关的包(除了qemu-guest-agent)

https://www.archlinuxcn.org/qemu-700-changes-split-package-setup/
  • 👍 62
  • 🤯 25
  • 🤔 3
  • 🔥 1
Post #220 14K

Forwarded from ヤナギ さくや

Keycloak 17.0.1-2 更新需要手动重新配置

keycloak包在17.0.1-2版本前跑了WildFly服务器。因为上游在正式迁移到Quarkus发布,Arch Linux 也将跟从这一决定。这意味着升级时需要一些手动干预。
配置文件需要从老的 .xml 格式更新到新的 /etc/keycloak/keycloak.conf。
在更新之前,停止 keycloak 服务,升级包,并且在开启服务前迁移配置:
systemctl stop keycloak.service
pacman -Syu keycloak
# migrate configuration /etc/keycloak/keycloak.conf
systemctl start keycloak.service
参阅 Keycloak 的 迁移文档 和 Keycloak Quakus 服务器文档。

https://www.archlinuxcn.org/keycloak-1701-2-update-requires-manual-reconfiguration/
Keycloak Introducing Keycloak.X Distribution Keycloak - the open source identity and access management solution. Add single-sign-on and authentication to applications and secure services with minimum effort.
  • 👍 22
Post #217 13.3K
Arch Linux Chinese Messages 腾讯云 Arch Linux 镜像及 [archlinuxcn] 镜像异常,最后同步时间显示为去年四月份,并且我这里访问时常超时。请用户暂时转用其它镜像。
腾讯云镜像看起来已经恢复正常。
  • 👏 6
Post #216 12K
Post #215 10.4K
由于 AUR 网站的更新,yay 在访问 AUR 时会遇到错误。受影响的用户可以静待修复,或者改用其它 AUR helper。
  • 🎉 7
  • 👍 1
Post #214 9.71K
腾讯云 Arch Linux 镜像及 [archlinuxcn] 镜像异常,最后同步时间显示为去年四月份,并且我这里访问时常超时。请用户暂时转用其它镜像。
  • 👍 17
  • 👏 3
  • 🔥 1
Post #213 9.34K
调试符号(debug)包和 debuginfod

我们很高兴地宣布 Arch Linux 将有调试符号包了。
我们的 debuginfod 实例将提供调试符号信息和源码列表,这些可以被调试器比如 gdb 和 delve 利用。
https://debuginfod.archlinux.org/
一些由赞助商提供服务器的镜像站已经开始提供 debug 软件源的镜像,同时我们正在商讨新的镜像站要求。

- https://america.mirror.pkgbuild.com
- https://asia.mirror.pkgbuild.com
- https://europe.mirror.pkgbuild.com

目前并不是所有包都提供调试符号包,这是我们正在进行的工作。
更多信息请参阅 Debuginfod 维基页,以及我们近期刚更新的 Debugging/Getting traces 维基页。
  • 👍 62
  • 🎉 16
  • 🔥 2
Post #212 9.35K

Forwarded from ヤナギ さくや

linux-firmware 20220119.0c6a7b3-2 需要内核 >=5.3 以及做了拆包

linux-firmware 从 20220119.0c6a7b3-2 开始实现了内核固件压缩。 Linux 内核从 5.3 开始支持加载 xz 压缩过的固件。这需要启用
CONFIG_FW_LOADER_COMPRESS 内核编译选项。所有官方 Arch Linux 内核早已开启了这一选项[1]。

并且 linux-firmware 包已经被拆分成多个小包,进一步减少磁盘占用。拆包将一些很少使用的硬件上较大的固件文件分到了独立的包中。受影响的硬件包括: Mellanox Spectrum 交换机, Marvell 设备, Qualcomm 芯片集, Cavium LiquidIO 服务器适配器, QLogic 设备, Broadcom NetXtreme II 10Gb 以太网适配器。
如果需要的话请确保安装这些附加固件包。 [2]

[1] FS#72899
[2] FS#72559 + svn commit

https://www.archlinuxcn.org/linux-firmware-202201190c6a7b3-2-requires-kernel-53-and-package-splitting/
bugs.archlinux.org FS#72899 : [linux-firmware] compress firmware files Flyspray, a Bug Tracking System written in PHP.
  • 👍 24
  • ❤ 1
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/
Older posts →
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 →