Samuel Sieb wrote:
On 11/20/2017 06:31 AM, Ed Greshko wrote:
> Look at the man page for dnf.conf and check out the option
> "excludepkgs". It can be placed either in the dnf.conf or in a
> specific repo file.
I'm guessing you have F26. When I check the dnf.conf man page in
F25, it only lists the "exclude" option, there is no "excludepkgs"
option. I wonder if they added it because the opposite option is
called "includepkgs", which was a strange asymmetry. But if the OP
is on F25, he might need to use "exclude".
dnf-1.1.10-6.fc25.noarch
The documentation was updated in dnf-2.0 to list excludepkgs instead
of exclude¹. Both options are still respected in the config, as far as
I can see, though using excludepkgs is probably the better one to use
if you're not sharing a config file with any f25 systems.
¹
https://github.com/rpm-software-management/dnf/commit/f87536c53#diff-4d74...
--
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have an existential map; it has 'you are here' written all over it.
-- Steven Wright