Saturday, September 14, 2024

[arch-announce] Manual intervention for pacman 7.0.0 and local repositories required

With the release of [version 7.0.0][0] pacman has added support for
downloading packages as a separate user with dropped privileges.

For users with local repos however this might imply that the download
user does not have access to the files in question, which can be fixed
by assigning the files and folder to the `alpm` group and ensuring the
executable bit (`+x`) is set on the folders in question.

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

Remember to [merge the .pacnew][1] files to apply the new default.

Pacman also introduced [a change][2] to improve checksum stability for
git repos that utilize `.gitattributes` files. This might require a
one-time checksum change for `PKGBUILD`s that use git sources.

[0]: https://gitlab.archlinux.org/pacman/pacman/-/blob/master/NEWS?ref_type=heads
[1]: https://wiki.archlinux.org/title/Pacman/Pacnew_and_Pacsave
[2]: https://gitlab.archlinux.org/pacman/pacman/-/commit/9548d6cc765b1a8dcf933e8b1b89d0bcc3e50209

URL: https://archlinux.org/news/manual-intervention-for-pacman-700-and-local-repositories-required/

No comments:

Post a Comment