From Bugzilla Helper: User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.7-10 i686) Description of problem: The upgrade left kdebase 2.1.1 installed on my RH7.1 machine and kdebase 2.2-9 installed on my Roswell-2 machine. I tried to manually install and received the following: [root@merkava config]# rpm -Uvh /var/spool/up2date/kdebase-2.2-12.i386.rpm Preparing... ########################################### [100%] 1:kdebase error: unpacking of archive failed on file /usr/share/config/kdm: cpio: rename failed - Is a directory The error is the same on both machines and happens when rpm is about 77% installed. /usr/share/config/kdm is indeed a directory containing kderc. There is also a soft link named kdm;3bd72c8e that points to ../../../etc/kde/kdm . I've even tried removing the directory and the soft link and still receive the same message. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Upgrade current RH7.1 or Roswell-2 machine 2.check what version of kdebase is installed 3. Actual Results: kdebase 2.2-12 was not installed. Expected Results: Rpm should have installed kdebase 2.2-12 Additional info: I tried to manually install and received the following: [root@merkava config]# rpm -Uvh /var/spool/up2date/kdebase-2.2-12.i386.rpm Preparing... ########################################### [100%] 1:kdebase error: unpacking of archive failed on file /usr/share/config/kdm: cpio: rename failed - Is a directory The error is the same on both machines and happens when rpm is about 77% installed. /usr/share/config/kdm is indeed a directory containing kderc. There is also a soft link named kdm;3bd72c8e that points to ../../../etc/kde/kdm . I've even tried removing the directory and the soft link and still receive the same message.
Upgrades from betas are not supported and not even supposed to work. [root@locutus root]# rpm -q --changelog kdebase |grep -A5 2.2-6 * Tue Aug 21 2001 Bernhard Rosenkraenzer <bero> 2.2-6 - Move /usr/share/config/kdm to /etc/kde/kdm, fixes #51095 IF YOU ARE UPDATING FROM A VERSION BETWEEN 2.2-0.alpha1.1 AND 2.2-5, REMOVE THE OLD PACKAGE BEFORE INSTALLING, OR rm -rf /usr/share/config/kdm FIRST!
Okay, sorry I even mentioned Roswell. I first experienced this on my REDHAT 7.1 machine with full errata installed. Using the upgrade to 7.2 left kdebase-2.1.1-8 from REDHAT 7.1 still on the machine. It was quite nice enough to install kdebase-devel-2.2-12, however, it did not, and will not install kdebase-2.2-12 for the previously mentioned reasons. Uninstalling kdebase-2.1.1-8, kdebase-devel-2.2-12 and removing all the partially installed files from kdebase-2.2-12 does not fix the problem, kdebase-2.2-12 will still not install. If this is NOT a bug, then what is it?
BTW, I forgot to mention that /usr/share/config/kdm and /etc/kde/kdm are the same file. I did try the move and when I delete one, the other disappears as well and no, kdebase-2.2-12 will still not install.
Hmmm, /etc/kde and /usr/share/config are hardlinked to each other. rpm shows kdelib and kdeutils as both owning /usr/share/config and no owner for /etc/kde. I just removed them and reinstalled them with kdebase and it all seems to be working, now. sorry for the inconvenience and multiple updates. Coy
Bero, this happens for me too on an out of the box RH7.2 install with up2date -u. Testing package set / solving RPM inter-dependencies... ######################################## Retrieving selected packages... kdebase-2.2-12.i386.rpm: ########################## Done. ########################## Done. Preparing... ########################################### [100%] 1:kdebase warning: /etc/ksysguarddrc created as /etc/ksysguarddrc.rpmnew error: unpacking of archive failed on file /usr/share/config/kdm: cpio: rename failed - Is a directory [CVSROOT=:ext:bcrl@devserv:/mnt/devel/CVS] [bcrl@bob ~]$
*** Bug 59389 has been marked as a duplicate of this bug. ***
This happens to me. I was manually updating for the latest upgrades and bug fixes for 7.2. I had done all the upgrades until about November 2001. When I tried to upgrade the XFree base package it said: unpacking of archive failed on file /etc/X11/xkb:cpio:rename failed is a directory. When I do an strace and look at the output the filenames seem to have a ; and some alphanumeric string attached to them.
it's fixed in current release