TGViewer
Arch Linux Chinese Messages Arch Linux Chinese Messages @archlinuxcn · 11.2K subscribers
Post #289 21.4K
pacman 7.0.0 更新,本地仓库需要手动干预

随着 7.0.0 版本的发布,pacman 增加了以单独的低权限用户身份来下载软件包的功能。

然而,对于使用本地仓库的用户,这可能意味着下载用户无法访问相关文件。要解决此问题,可以将这些文件和文件夹分配给 alpm 组,并确保相关文件夹设置了可执行权限(+x)。

$ chown :alpm -R /path/to/local/repo


请记得合并 .pacnew 文件以应用新的默认设置。

pacman 还引入了一个更改,以提高使用 .gitattributes 文件的 git 仓库的校验和稳定性。使用 git 源码的 PKGBUILD 可能需要一次校验和更改。

https://www.archlinuxcn.org/manual-intervention-for-pacman-700-and-local-repositories-required/
  • 👌 72
  • 👍 14
  • 👀 12
  • ❤ 5
  • 😱 5
  • 👏 4
  • 😁 4
  • 🤯 4
  • 😐 1
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 →