Changes in DNF hook api compared to YumΒΆ

This table provides what alternative hooks are available in DNF compared to yum.

Hook Number Yum hook DNF hook
1 config init
2 postconfig init
3 init init
4 predownload  
5 postdownload  
6 prereposetup  
7 postreposetup sack
8 exclude resolved
9 preresolve  
10 postresolve resolved but no re-resolve
11 pretrans  
12 postrans transaction
13 close transaction
14 clean  

Feel free to file a RFE for missing functionality if you need it.