Description of problem: When yum used as a normal user $ yum update Loaded plugins: langpacks, refresh-packagekit You need to be root to perform this command. But, when dnf used as a normal user $ dnf update --enablerepo=updates-testing Setting up Upgrade Process Resolving Dependencies --> Starting dependency resolution ..... <Snip> ..... Is this ok [y/N]: y Downloading Packages: Unable to initialize yumdb history: [Errno 13] Permission denied: '//var/lib/dnf' Version-Release number of selected component (if applicable): dnf-0.3.7-1.gitf8bdc98.fc19 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: dnf command is not checking for admin user status and performs Resolving Dependencies Expected results: dnf should check if the user requesting is non-root and then accordingly error and quit Additional info:
Yep, this got merged by mistake: commit b98716756f0f6e79223c605582109da4adb93b9d Author: Ales Kozumplik <akozumpl> Date: Tue Feb 28 10:06:39 2012 +0100 we are experimenting so do not check for root :nomerge
no, the :nomerge comment just means this shouldn't be merged back to yum. Parag, not checking for root is on purpose, see bug 910133 and the discussion there. *** This bug has been marked as a duplicate of bug 910133 ***