removing dnf from fedora 20

Ralf Corsepius rc040203 at freenet.de
Mon Jan 6 11:47:18 UTC 2014


On 01/06/2014 09:53 AM, M A Young wrote:
> On Sun, 5 Jan 2014, Chris Murphy wrote:
>
>>
>> On Jan 5, 2014, at 3:21 PM, Roberto Ragusa <mail at robertoragusa.it> wrote:
>>
>>> On 01/05/2014 03:00 PM, Lars E. Pettersson wrote:
>>>> On 01/05/2014 02:42 PM, David Shwatrz wrote:
>>>>> Is it OK to remove dnf with yum remove dnf ? will it cause any
>>>>> problems ?
>>>>
>>>> If you upgrade from F19 to F20 dnf will not be installed, so I see
>>>> no harm in removing it from F20.
>>>>
>>>> yum is the main tool to use, dnf is installed to be tested.
>>>>
>>>> Lars
>>>
>>> As a matter of curiosity...
>>>
>>> Is it OK to remove yum with dnf ? will it cause any problems ?
>>
>> As far as I know yum cannot be removed. And dnf uses yum configuration
>> files in addition to its own, at least when I enabled updates-testing
>> for yum, it was made active for dnf as well.
>
> The repositiory files, including the one defining updates-testing,
> aren't part of yum.
I guess you are referring to a systems package data base aka. rpmdb (The 
files under /var/lib/rpm).

> I haven't tried it
Neither have I.

> but I think it would be possible
> to remove yum and its dependants without causing too many problems,
> though it would remove PackageKit so you would have to keep your system
> up to date manually.
Correct, this is what is supposed to happen. You'd have to resort to 
using plain rpm.

Ralf



More information about the users mailing list