On Fri, Feb 3, 2023 at 10:11 PM Todd Zullinger tmz@pobox.com wrote:
ToddAndMargo via users wrote:
On 2/2/23 22:29, Samuel Sieb wrote:
On 2/1/23 21:55, ToddAndMargo via users wrote:
$ cat /etc/dnf/dnf.conf [main] gpgcheck=1 installonly_limit=3 clean_requirements_on_remove=True excludepkgs=metasploit-framework # excludepkgs=metasploit-framework wine* # excludepkgs=thunderbird* metasploit-framework wine* # excludepkgs=thunderbird* metasploit-framework excludepkgs=wine* # excludepkgs=wine-* excludepkgs=resolvconf excludepkgs=systemd-resolved
This is not the way I've ever seen excludepkgs used or documented. The man page states:
excludepkgs list Exclude packages of this repository, speciā fied by a name or a glob and separated by a comma, from all operations. Can be disabled using --disableexcludes command line switch. Defaults to [].
Put them all together, not a bunch of different definitions.
Note: "separated by a comma" - the commented-out lines were separated by spaces (I assume these were failed attempts).