Re: remove package without its dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/30/2015 06:38 PM, James Hogarth wrote:
> On 30 September 2015 at 11:24, arnaud gaboury <arnaud.gaboury@xxxxxxxxx> 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 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.)


-- 
In reality, some people should stick to running Windows and others should stay away from computers altogether.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux