VULN_CHECK_I913V6 (f ddlmZddlmZddlmZddlmZddlmZddl Z ddl Z ddl Z e jdZGdd ejZy) )absolute_import)unicode_literals)commands) OptionParser)_NdnfceZdZejej ej dZdeejzZ e dZ e dZdZdZy)AutoremoveCommand)z autoremove-nz autoremove-nazautoremove-nevra) autoremovezKremove all unneeded packages that were originally installed as dependenciesc p|jddtdtjtdy)Npackages*zPackage to removePACKAGE)nargshelpactionmetavar) add_argumentrrParseSpecGroupFileCallback)parsers @/usr/lib/python3.12/site-packages/dnf/cli/commands/autoremove.py set_argparserzAutoremoveCommand.set_argparser,s1Jc:M8N#/#J#J$%iL  2c^|jj}d|_d|_d|_t |j j|j j|j jgr*d|jj_ d|_ d|_yd|_d|_y)NTF)clidemands resolving root_usersack_activationanyopts grp_specs pkg_specs filenamesbaseconfclean_requirements_on_remove allow_erasingavailable_reposfresh_metadata)selfrs r configurezAutoremoveCommand.configure2s((""  "&  ##TYY%8%8$)):M:MN O:>DIINN 7$(G !',G #&*G #%*G "rct|jj|jj|jjgrg}|jj |j vr$|j |jj g}|jj||jj|jj|jjy|jjy)N) r r!r"r#r$command nevra_formsr%r )r+formss rrunzAutoremoveCommand.runBs  ##TYY%8%8$)):M:MN OEyy  D$4$44))$))*;*;<= II !%!4!4!%!4!4!%!4!4 6 II "rN)__name__ __module__ __qualname__hawkey FORM_NAMEFORM_NA FORM_NEVRAr/tuplekeysaliasesrsummary staticmethodrr,r1rrr r "si#)#3#3$*NN'-'8'8:Kk&6&6&8 99G"#G22 + #rr ) __future__rrdnf.clirdnf.cli.option_parserrdnf.i18nrdnf.exceptionsrr5logging getLoggerloggerCommandr r>rrrHsC*''.    5 !+#((+#r