andrewgregory / pacutils

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

Setting `NoProgressBar` in `pacman.conf` produces warning #66

Open christian-heusel opened 1 year ago

christian-heusel commented 1 year ago

Setting NoProgressBar gives the following warning, even though it seems to be a supported pacman option:

$ pacconf | head
warning: config /etc/pacman.conf line 35: unknown option 'NoProgressBar'
[options]
RootDir = /
DBPath = /var/lib/pacman

This was discovered because https://github.com/maximbaz/rebuild-detector uses pacconf: https://github.com/maximbaz/rebuild-detector/blob/d9a762b58ac5a8f7e85387ca75512ec18cf87854/checkrebuild#L37-L38

Vekhir commented 1 year ago

This has already been reported in #46 and fixed in 5d41cd55419252cace86599c2313806a9cbe1263 on master, though no new release was made since.