On Mon, Nov 20, 2017 at 8:31 AM, Ed Greshko <ed.greshko@gmail.com> wrote:
On 11/20/17 22:19, Geoffrey Leach wrote:
> Now that Mozilla has provided us with its latest and greatest (sic!) Firefox, I need to prevent updates to firefox. Dnf does not appear to provide a "don't update this" option. Any suggestions?


Sure it does.

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 wish I had the skillset needed to write a plugin for this...

I think he's looking for the same thing I am. I don't want dnf to ignore that a new package exists, I just don't want it installed by default. 

For example, I maintain a package for the Ubiquity Unifi controller. Most of the time the upgrade completes without a problem, but even if it does, it can cause the latest firmware to be updated on all the access points. That's something you want to schedule, not happen automatically.

Thanks,
Richard