removing dnf from fedora 20
M A Young
m.a.young at durham.ac.uk
Mon Jan 6 12:20:21 UTC 2014
On Mon, 6 Jan 2014, Ralf Corsepius wrote:
> 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).
Actually I was think of the files in /etc/yum.repos.d (that directory
itself is co-owned by the fedora-release package on F20 at least).
>
>> 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.
or dnf which I assume will still work (though it might be worth having a
plan ready to reinstall yum with rpm in case it doesn't).
Michael Young
More information about the users
mailing list