andrewgregory / pacutils

Helper library for libalpm based programs.
MIT License
107 stars 17 forks source link

`pacconf` does not recognize `CacheServer` option #74

Closed Seas0 closed 7 months ago

Seas0 commented 7 months ago

pacconf --options complains about CacheServer found in pacman.conf and mirrorlist.

warning: config /etc/pacman.d/mirrorlist line 11: unknown option 'CacheServer'
...
RootDir = /
DBPath = /var/lib/pacman
CacheDir = /var/cache/pacman/pkg
...

The CacheServer option was merged and released in pacman 6.1

Seas0 commented 7 months ago

Seems #73 already proposed a fix for this issue, waiting for review and merging.

HarHarLinks commented 7 months ago

any reason the pacman 6.1 fix #69 has not yet been integrated into a patch release? it is part of the upstream package https://gitlab.archlinux.org/archlinux/packaging/packages/pacutils/-/blob/3eb67f2efad3ff31000cb58cd775b5e9d776ab53/PKGBUILD#L24-26 and apparently working...

I built and installed the package myself from release 0.14.0 with the pacman-0.6.1 fix integrated and it seems fine.

andrewgregory commented 7 months ago

I have already pushed a release tag with all of the fixes. I am not in charge of Arch's package.

HarHarLinks commented 7 months ago

ah, I see, the required fixes were not merged from the branch, but rebased onto master or similar and are thus in v0.13.0 (except 7fb47bd53bfbb9f727ae88d052c339b6320b63f5). so it's now up to the arch packager to update to v0.14.0.