remove package without its dependencies

arnaud gaboury arnaud.gaboury at gmail.com
Wed Sep 30 11:32:53 UTC 2015


On Wed, Sep 30, 2015 at 12:48 PM, Ed Greshko <ed.greshko at greshko.com> wrote:
> On 09/30/2015 06:38 PM, James Hogarth wrote:
>> On 30 September 2015 at 11:24, arnaud gaboury <arnaud.gaboury at gmail.com> wrote:
>>> Is there any equivalent dnf command for :
>>>
>>> # rpm --nodeps -e MyPackage
>>>
>>
>> No because breaking your system on purpose is generally a horrible
>> idea - dependencies are there for a reason.
>
> I don't think that *not* removing something that was installed as a dependency will break a system.

I totally agree. At worth it can leave your system with unneeded packages.
>
> I suppose for the purposes of the OP I'd investigate the dnf.conf parameter
>
>        clean_requirements_on_remove
>               boolean
>
>               Remove  dependencies that are no longer used during dnf remove. A
>               package   only   qualifies   for   removal   via   clean_require‐
>               ments_on_remove  if  it  was  installed  through  DNF  but not on
>               explicit user request, i.e. it was pulled in as a dependency. The
>               default   is  True.   (installonlypkgs  are  never  automatically
>               removed.)

Ok, thank you for this tip

>
> --
> In reality, some people should stick to running Windows and others should stay away from computers altogether.
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org



-- 

google.com/+arnaudgabourygabx


More information about the users mailing list