Description of problem: chkconfig for FC21 is not being updated Version-Release number of selected component (if applicable): How reproducible: Tried couple of 'tricks' such as removeing dnf-core and installing many new packeges, but the problem persoists Steps to Reproduce: 1. 2. 3. Actual results: Copyright (c) 1998-2015 Zend Technologies [root@confsys1 ~]# dnf remove dnf-plugins-core Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: dnf-langpacks noarch 0.12.0-2.fc22 @System 75 k dnf-plugins-core noarch 0.1.10-1.fc22 @System 7.7 k system-config-language noarch 3.0.0-1.fc22 @System 365 k Transaction Summary ================================================================================ Remove 3 Packages Installed size: 447 k Is this ok [y/N]: y Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Erasing : system-config-language-3.0.0-1.fc22.noarch 1/3 Erasing : dnf-langpacks-0.12.0-2.fc22.noarch 2/3 Erasing : dnf-plugins-core-0.1.10-1.fc22.noarch 3/3 Verifying : dnf-langpacks-0.12.0-2.fc22.noarch 1/3 Verifying : dnf-plugins-core-0.1.10-1.fc22.noarch 2/3 Verifying : system-config-language-3.0.0-1.fc22.noarch 3/3 Removed: dnf-langpacks.noarch 0.12.0-2.fc22 dnf-plugins-core.noarch 0.1.10-1.fc22 system-config-language.noarch 3.0.0-1.fc22 Complete! ===================== dnf update Last metadata expiration check performed 0:43:48 ago on Tue Aug 18 20:41:12 2015. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Upgrading: chkconfig x86_64 1.4-1.fc22 fedora 177 k Transaction Summary ================================================================================ Upgrade 1 Package Total download size: 177 k Is this ok [y/N]: y Downloading Packages: chkconfig-1.4-1.fc22.x86_64.rpm 316 kB/s | 177 kB 00:00 -------------------------------------------------------------------------------- Total 110 kB/s | 177 kB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Upgrading : chkconfig-1.4-1.fc22.x86_64 1/2 Error unpacking rpm package chkconfig-1.4-1.fc22.x86_64 Error unpacking rpm package chkconfig-1.4-1.fc22.x86_64 error: unpacking of archive failed on file /etc/init.d: cpio: rename chkconfig-1.4-1.fc22.x86_64 was supposed to be installed but is not! Verifying : chkconfig-1.4-1.fc22.x86_64 1/2 chkconfig-1.3.63-1.fc21.x86_64 was supposed to be removed but is not! Verifying : chkconfig-1.3.63-1.fc21.x86_64 2/2 Failed: chkconfig.x86_64 1.4-1.fc22 Complete! ===================== Expected results: Additional info:
Hi, I am sorry but dnf can't do anything about it. You have file conflicts on your system. Reassigning to rpm if they can fix it.
error: unpacking of archive failed on file /etc/init.d: cpio: rename This is probably the cause of your issue. Can you please check if the directory is writable by root. So it does not have 000 permissions or has a weird selinux context. Same for the files within and the surrounding /etc directory.
Hmm, can't do anything here without more details. Feel free to reopen if you can proved more information.
I had the same issue when upgrading F25 to F26, I fixed the problem with these steps: "/etc/init.d should be a symlink to /etc/rc.d/init.d. Someone must have created that directory after removing the symlink. You probably need to rename the directory, restore the symlink and move any files in the renamed directory to the correct directory."